Browsed by
Month: December 2017

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