# install
apt-get install -y apcupsd
# configure
sed -i 's|UPSCABLE smart|UPSCABLE usb|g' /etc/apcupsd/apcupsd.conf
sed -i 's|UPSTYPE apcsmart|UPSTYPE usb|g' /etc/apcupsd/apcupsd.conf
sed -i 's|DEVICE /dev/ttyS0|DEVICE|g' /etc/apcupsd/apcupsd.conf
sed -i 's|ISCONFIGURED=no|ISCONFIGURED=yes|g' /etc/default/apcupsd
# start apcupsd demon
/etc/init.d/apcupsd start
# get status
apcaccess status
# monitor
tail -f /var/log/apcupsd.events
# OPTIONAL: configure /etc/apcupsd/apccontrol
Comments
Perfect description
Hi panticz,
many thanks for the nice step by step manual.
Best regards,
Alex