Home  >  Support  >  Support Forum  >  Basic http data transfer from Dev Cloud to Thingspeak
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Basic http data transfer from Dev Cloud to Thingspeak

0 votes
I'm not really sure how I got it working, maybe just a reboot of my CPx2 or some lucky twist with an xig.py file, but I am now seeing data streams on my Etherios device cloud account for each xbee and sensor (dia/channel/0000000-00000000-.../xbee-409.../AD0 etc.) and nice charts and thats great.

What I want to do now though is repeatedly, say every 15 seconds, send the current data from these streams over to Thingspeak.com. So ideally I would send a post request formed as such:
http://api.thingspeak.com/update?key=(This key specific to one endpoint/ xbee)&field1=(AD0)&field2=(AD1) etc.
for each stream. So, how would I do that? I've been trying to accomplish this through the API Explorer with no luck so far.

Thanks!
Mike

I should add that I am a novice at best with python. I can follow instructions but that's about my level.
asked Dec 31, 2013 in Data Services by michaelemond New to the Community (1 point)
reshown Jan 22 by charliek
Still looking for an answer on this. Can anyone help? I want to send data via from etherios cloud to another web site using the url template above. Can I do this in the cloud API explorer? if so, how?

If the question is unclear, please let me know so I can revise it.

Thanks again
Mike
I'm trying the same thing to no avail... will post if I figure it out.
This test is now working fine for me sending directly from an Arduino sript - through and Xbee Zigbee - to a Windows Gateway. Maybe post the code you are trying to use to see if anyone can see any issues.

    if(Serial.available() > 0 ){
        String s = "http://api.thingspeak.com/update?    key=keyNumber&fieldNumber="
        + String(adjustedLightLevel);
        Serial.println(s);
        delay(60000);
    }
Thanks for your reply. Unfortunately I am not using any arduino or other processor on the xbee sensor. It all has to happen on the other side. I ended up ditching thingspeak and using ubidots to query etherios cloud.

Please log in or register to answer this question.

Contact a Digi expert and get started today! CONTACT US
...