Skip to content

mchernolevskyi/raspberrySensorOnlineChart

Repository files navigation

raspberrySensorOnlineChart

Display online charts for data from sensors on Raspberry Pi quickly and easily.

To quickly launch do the following:

  1. git clone while in /home/pi
  2. cd raspberrySensorOnlineChart
  3. Ensure Apache is running on Raspberry Pi
  4. sudo cp -r sensor /var/www/html
  5. sudo chmod 777 /var/www/html/sensor
  6. sudo cp start-sensor.sh /etc/init.d
  7. sudo chmod 755 /etc/init.d/start-sensor.sh
  8. sudo update-rc.d start-sensor.sh defaults
  9. sudo reboot :) (or start /etc/init.d/start-sensor.sh manually)
  10. Point your browser to http://raspberryPi/sensor/dht11.html or http://raspberryPi/sensor/mhz14a.html

You can also start SimpleHttpServer, Nginx, etc. and reuse existing project folder sensor with chart HTML files.