Wemos D1 R2 (ESP8266)

Wemos D1 R2 (ESP8266)

I am try to build a sensor with low power consumption, low enough for be battery operated. This sensor will acquire temperature and humidity readings and transmit them to my Raspberry Pi controller via HTTP requests. The Raspberry Pi will utilize a webpy service running on port 8080 to collect data from various sensors deployed throughout the home. I have previously used webpy for similar sensor projects (see my previous post here), although Node.js could have been a suitable alternative….

Read More Read More

Dynamic data with Chart.js

Dynamic data with Chart.js

  The joy of using charts on you web site! I use chart.js and I have to say after getting MySql to extract the right data I wanted to change data dynamically without a post back to the page. I have to say that I did find some examples online on how to do that with chart.js but the easier one to implement was to build the Chartjs object in a separate php page that you can call with an Ajax call….

Read More Read More

Temperature report site revamp!

Temperature report site revamp!

Finally I did it!  Still struggling with PHP.  I was thinking of using django but I thought the learning curve was too much to tackle for a side project.  Absolutely loving Bootstrap and Chart.js both so easy to use and very good looking.  Have a look at the final result here. Soon I might post some code on how I got Chart.js to post dynamic charts with AJAX.