Simplest sample using ThingSpeak’s IoT cloud service reading LDR on Witty’s ESP8266
ESP8266’s code for Arduino IDE
To be able to use deep sleep GPIO16 and RST pins should be short-circuited.
I have adapted this sample code to run plotly on web. Real time data is fed by S4A Programming Learning Board.
Arduino code and Python code using plotly
If you are not user of plotly, sign up to get your user name, api key and stream token.
I have implemented this example made by Mahesh Venkitachalam
on S4A Programming Learning Board.
Arduino code and Python code
I have installed these packages on Debian to run properly Python program: