The adoption of the IPv6 networking in IEEE 802.15.4 sensor networks, using IEEE 1451 standardization, increases the interoperability of low-power smart sensor devices in IP networks. This paper explains the design and implementation of IPv6 over Low power Wireless Personal Area Networks (6loWPAN) and it uses the IEEE 1451 standard over IEEE 802.15.4 sensor networks. We propose an application of API IEEE 1451 that uses web services to transmit IEEE 1451 commands between Network Capable Application Processor (NCAP) and Wireless Transducer Interface Module (WTIM) using the client-server architecture. In addition the design of 6loWPAN Physical Transducer Electronic Datasheet (PHY-TEDS) IEEE 1451.5 is explained. All TEDS were analyzed in terms of memory size. Each IEEE 1451 command is encapsulated in an UDP socket to establish NCAP-to-WTIM communication in an environmental monitoring application.