- Mon Aug 17, 2015 3:58 pm
#26295
Howdy Bert,
I think our challenge will be elaborating on "send instructions to the ESP8266 to put data onto the network". Unfortunately one doesn't just "push data" onto the Internet and there it is ... wish it were that simple. Classically, what one does is have a Web Server which sends HTML pages to a browser. Within your web page, you typically have JavaScript which makes an AJAX call to service provider to get data. That data is then received by the browser and the JavaScript then interprets the data and inserts it into the web page usually by changing the DOM model.
The ESP8266 should be acting as an endpoint for an AJAX call presumably arriving via a REST request. When the ESP receives that request it should poll the sensor, retrieve the data and send that back to the caller. This can be done all on-board the ESP or in combination with an Arduino using the AT command interfaces.
Now ... this does indeed sound like gobbldy gook but it is what it is ... maybe there is an opportunity here for a generic project that that does 99% of the work for us and merely opens up the place where we "plug in sensor data here" .... but I don't think there is such a sample yet ... but it does sound like a good idea.
Neil
Free ESP8266 book available for download
here.