-->
Page 1 of 2

Can an ESP8266 post directly to AWS?

PostPosted: Thu Jun 18, 2015 9:43 pm
by jbanta
I'm new to the ESP8266 and have a question for the experts. Is it possible, and if so are there examples, of an ESP8266 sending data collected from a sensor directly to AWS? Specifically, I am interested in replicating an arduino+Raspberry pi+python solution I have already but want to dramatically simplify my hardware if possible.

I'm looking for advice or examples on how I could push data collected from a sensor to DynamoDB using either the http request method or some other (hopefully simpler) method.

Thanks,
John

Re: Can an ESP8266 post directly to AWS?

PostPosted: Fri Jun 19, 2015 3:37 am
by torntrousers
From the link you gave about the Amazon service it sounds like it just needs a regular http post, so it should work fine from an ESP8266 and there are plenty of examples about of how to do it, eg here.

Re: Can an ESP8266 post directly to AWS?

PostPosted: Wed Jun 24, 2015 9:34 pm
by jbanta
Thanks for the pointer on how to fire off the request. I got it working and have also leveraged the NTP work by another user to get a current timestamp (required for the post to AWS).

The issue I am facing now is that AWS requires I construct a hashed signature using HMAC-1 which I can't find any good way o accomplish.

Starting to look like I need to wait for an ESP8266 version of the AWS arduino SDK. Seems that the sdk they've built for arduino spark core doesnt work with arduino/esp8266.

Re: Can an ESP8266 post directly to AWS?

PostPosted: Fri Jul 17, 2015 12:39 am
by jbanta
After several attempts at trying to figure out how to make the core arduino libraries by Amazon work for the ESP, I think I have concluded this is beyond my current skill level. If anyone has successfully integrated the Amazon AWS library into an ESP project, I would be very grateful for some insight on how this was done.

Surely I am not the only one who sees potential in these devices posting data directly to the AWS infrastructure with all the component services they have to play with (and a free usage tier to keep costs low).