Raspberry Pi USV+

 

sudo apt-get install python-smbus
sudo apt-get install i2c-tools
sudo i2cdetect -y 1
sudo dpkg -i piupsmon-0.9.deb

vi /etc/piupsmon/piupsmon.conf

PowerOffTimer=15
ShutdownTimer=5
ShutdownCmd=init 0
LogLevel=error
LogStatusDesc=1
StatusChangedCmd=

sudo /etc/init.d/piupsmon start

 

Kommentar hinterlassen