Watches a led and sends notifications to a MQTT broker when it changes
- Build the application using ./build.sh
- Copy it to /home/pi/pi-light-sensor
- Copy the file init.d/pi-light-sensor to /etc/init.d
- Edit /etc/init.d/pi-light-sensor and change the notify URL:s to what you need
- Execute sudo update-rc.d pi-light-sensor defaults 2345