Homebridge
homebridge-rpi
- install with
sudo npm -g i homebridge-rpi
of from UI - ensure this command works:
rpi info
- allow remote connections in
sudo raspi-config
-> Interfacing Options -> Remote GPIO () - enable and start pigpiod:
sudo systemctl enable pigpiod
+sudo systemctl start pigpiod
- check that
pigs hwver
gives an output such as9445664
- setup
getState
script: https://github.com/ebaauw/homebridge-rpi#install-getstate-script
homebridge-gpio-device
- install wiringpi:
sudo apt-get install wiringpi
or clone and./build
UPS
Use a power bank between the charger and the power input of the Pi