Allowing Outside Access to the APCUPSD Net Server on the Raspberry Pi 6. While the APCUPSD net server is enabled by default on your Raspberry Pi, it is not set to allow outside access. To adjust this, we need to find and change the “NISIP” setting. This setting defines the IP that...
# NISPORT <port> default is 3551 as registered with the IANA # port to use for sending STATUS and EVENTS data over the network. # It is not used unless NETSERVER is on. If you change this port, # you will need to change the corresponding value in the cgi directory ...
Depends on the value of UPSTYPE, for apcsmart DEVICE should be /dev/tty**, for net it should be hostname:port, etc. For USB UPSes, I suggest leaving the value of DEVICE blank as this will cause it to auto-detect the UPS.
Apcupsd-cgi is configured to search and connect to the apcupsd daemon on the host machine IP via the standard port 3551. Nginx is configured to connect with fcgiwrap (CGI server) and to serve multimon.cgi directly on port 80. The container exposes port 80, but can be remapped as required...
sudo apctest2015-09-26 18:59:38 apctest 3.14.12 (29 March 2014) debianChecking configuration ...sharenet.type = Network & ShareUPS Disabledcable.type = USB Cablemode.type = USB UPS DriverSetting up the port ...Doing prep_device() ...You are using a USB cable type, so I'm enteri...