Home/Support/Support Forum/Connecting XBee to ThingSpeak
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Connecting XBee to ThingSpeak

0 votes
How can I run this project using only X4 and digi sensors, but without Arduino?
The problem is that this project use API key (and put it into arduino code), in order to make the connection. But without arduino i don't know where to put the key, in to X4 or in didi esp for python, where the simulation take place?

I thing that some thing has to send a message to the gateway.

I copy the write api key address and paste it in to web service in yml file, and i load it, but in thingspeak the was no change in the channels. Any help?

https://community.thingspeak.com/tutorials/wireless/connecting-xbee-wireless-networks-to-thingspeak-via-the-connectport-x2-running-xig/#comment-200533
asked Mar 13 in Web Services by Martin91 New to the Community (8 points)

Please log in or register to answer this question.

1 Answer

0 votes
Martin,

I have not tried this but I suspect the TLS data at https://www.digi.com/resources/documentation/Digidocs/90000832/Default.htm#references/r-installed-ssl-tls-trusted-peer-certificates.htm?Highlight=tls would be a good starting point.

Digi Support
answered Mar 13 by mvut Veteran of the Digi Community (12,302 points)
I was hoping for more practical advice. where i have to put the Api key and the URL, in order to make the connection between the cloud and the kit i use (the professional kit) http://www.comfort.net.tw/ds_dropinprofessionaldevkit_zb.pdf
?
Martin91,

The kit you are working with is about 10 years old. Things Speak did not exits when this kit was assembled. I am not aware of any code examples for what you are looking for.  My best guess is that you need to look at the TLS function at https://www.digi.com/resources/documentation/Digidocs/90000832/Default.htm#references/r-installed-ssl-tls-trusted-peer-certificates.htm?Highlight=tls would be a good starting point. first. Then adjust your code accordingly.
My question is simpler: Is there method to upload sensor data to cloud (thingspeak or else) via connect port X4 ?

May be something like this:
https://www.youtube.com/watch?v=asDtd2zIPY8&list=LLTrv0nR3emkBhgCwl8MKqqg&index=108
You are referring to two different products. The link you are using above is for the New XBee Industrial gateway and not the X4.   There are samples in the Digi ESP for Python for the X4. Again, they are not going to be for Things Speak. They will be for the Digi Remote Manager at most.
You are circumventing my question
...