Home/Support/Support Forum/X4 - Log sensor samples and send by ftp in .csv or similar
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

X4 - Log sensor samples and send by ftp in .csv or similar

0 votes
Hello,

I have a X4 with some XBEE Sensors, with temperature sampling each 5 minutes.

I need the following:

1 - Record values of temperature to a file (.txt or .csv). I need 1 file for each hour (12 samples).
2 - Send this file by FTP to my server (hourly).

Anybody have Python code for this, please?

Or any idea on how to start?

Thanks in advance.
asked May 13, 2013 in ConnectWare Manager by inakima New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Hello,

Here is page where you can find examples about receiving data from Zigbee network:

http://www.digi.com/wiki/developer/index.php/Monitoring_a_ZigBee_Network

And here is information and examples of file system access:

http://www.digi.com/wiki/developer/index.php/Digi_Python_Programmer%27s_Guide#File_System_Access

Also FTP-client examples can be found from same webpage:

http://www.digi.com/wiki/developer/index.php/ConnectPort_FTP_Client_Capabilities

I recommend you to take deeper look into Digi developer pages. You can find lots of useful examples and information from there. Here is the link again:

http://www.digi.com/wiki/developer/index.php/Main_Page


Juha
answered May 14, 2013 by juha.autioniemi New to the Community (23 points)
...