Home/Support/Support Forum/Poll pins and GET/POST data to php/MySQL
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Poll pins and GET/POST data to php/MySQL

0 votes
I have a Zigbee Connectport (ethernet) that works with Device Cloud, but I want to upload the data to my server using a GET request (or POST). I am running PHP and MySQL.

The actual request should be pretty straightforward. What I am having trouble with is the how to read the data from the Xbee into the python program. I will need to read the pin states on a remote XBee as well as read serial data from a microprocressor over an XBee connection and send that to the datatbase.

I can't find any examples of this being done. I did find digihw, but cannot tell how to manage a gateway with several modules, and the documentation says that GPIO commands don't work on most devices.
asked Jun 22, 2015 in Python by pekasus New to the Community (0 points)
edited Jun 21, 2015 by pekasus

Please log in or register to answer this question.

1 Answer

0 votes
In digiESP you have number of sample apps. try "Xbee LT sensor".
Another example show how to reed data from Xbee based smartplug sensors among other things.

another one

This should help deciding what function to use with what pin:

another link worse mentioning:
answered Sep 21, 2015 by LeonidM Veteran of the Digi Community (4,445 points)