Home/Support/Support Forum/Reading data from cc2650stk SensorTag (end device) with ConnectPort X4 (coordinator) - zmatrix.py
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Reading data from cc2650stk SensorTag (end device) with ConnectPort X4 (coordinator) - zmatrix.py

0 votes
Hi to everyone,

I'm trying to figure out how to read the data coming from the Zigbee CC2650STK nodes (END-DEVICES) from the ConnectPort X4 (Coordinator) gateway.

- The "ZStackCore - End Device" and the "SensorTag" application were loaded on CC2650STK (changing the Channel and the EPAN-ID).

- On the CPX4 gateway to be able to see CC2650STK I have configured it (from XBee Network -> Advanced Settings) following the rules in:
http://knowledge.digi.com/articles/Knowledge_Base_Article/Zigbee-Home-Automation/?q=home&l=en_US&fs=Search&pn=1

The CPX4 gateway sees CC2650STK as end- device (from "Discover XBee Devices" function).

Now through the program loaded on the gateway "zmatrix.py" (and with the "zmatrix_config.txt" file configured for the application) I want to see the data from the sensors on the CC2650STK.

I need "zmatrix.py" because I have to transmit data via TCP to another station...

thanks...
asked Apr 24, 2018 in Python by filippoN New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
I'm not familiar with zmatrix.py? Does this already exist and you need help making it work or adding a feature? Or are you looking for someone to help you write it from scratch?
answered Apr 25, 2018 by jlovinger Veteran of the Digi Community (421 points)
Not exactly. The script works..I have tried both the TCPS (TCP Server) and TCPC (TCP Client) modes.

But my goal is to understand this:
 
I want to read the data coming from the CC2650STK sensors (for example 3 end-devices) and transfer them via TCP / IP to another station (PC).

thanks...
Lots of standard Python libs (socket, urllib2, httplib, ssl, etc) support data transfer between devices. At least socket will be available on the X4, some of the others might not be. Plenty of tutorials/samples you can read through for guidance. For example, the python docs for socket lib include a client/server sample you could expand on.

https://docs.python.org/2/library/socket.html
...