A program to communicate between a wireless sensor network based on zigbee and a remote database. Remote database is accessed using HTTP GET and POST and XML bodies. Zigbee network is accessed via a zigbee node connected via RS232 to a PC. Zigbee is used in API mode and incoming packages are analyzed.