Pi as a UPS monitor
-
-
@gjacobse said in Pi as a UPS monitor:
If you run
Installing and configuring apcupsd
Seems apcupsd even has a web GUI
That website hurts my eyes!
-
@IRJ said in Pi as a UPS monitor:
@gjacobse said in Pi as a UPS monitor:
If you run
Installing and configuring apcupsd
Seems apcupsd even has a web GUI
That website hurts my eyes!
yea,... not my preference either... but....
-
@IRJ said in Pi as a UPS monitor:
@gjacobse said in Pi as a UPS monitor:
If you run
Installing and configuring apcupsd
Seems apcupsd even has a web GUI
That website hurts my eyes!
There's a term for this: eye-cancer
-
@thwr said in Pi as a UPS monitor:
@IRJ said in Pi as a UPS monitor:
@gjacobse said in Pi as a UPS monitor:
If you run
Installing and configuring apcupsd
Seems apcupsd even has a web GUI
That website hurts my eyes!
There's a term for this: eye-cancer
WTF.... are you trying to not get hits....
-
@JaredBusch said in Pi as a UPS monitor:
@thwr said in Pi as a UPS monitor:
@IRJ said in Pi as a UPS monitor:
@gjacobse said in Pi as a UPS monitor:
If you run
Installing and configuring apcupsd
Seems apcupsd even has a web GUI
That website hurts my eyes!
There's a term for this: eye-cancer
WTF.... are you trying to not get hits....
It almost does seem so obnoxious it could only be intentional.
-
@gjacobse said in Pi as a UPS monitor:
If you run
Installing and configuring apcupsd
Seems apcupsd even has a web GUI
Just use a Debian guide instead of looking at that mess.... when even I wince when looking at it.
-
So ordering this one today.
-
@JaredBusch said in Pi as a UPS monitor:
So ordering this one today.
I used the same kit and same micro SD card lol
-
@IRJ said in Pi as a UPS monitor:
I used the same kit and same micro SD card lol
Any specific project?
-
@JaredBusch said in Pi as a UPS monitor:
@IRJ said in Pi as a UPS monitor:
I used the same kit and same micro SD card lol
Any specific project?
I am just running OpenElec on that particular unit.
-
@JaredBusch said in Pi as a UPS monitor:
So ordering this one today.
Why a 32GB card? Just because the cost is like - nothing?
-
@gjacobse said in Pi as a UPS monitor:
@JaredBusch said in Pi as a UPS monitor:
So ordering this one today.
Why a 32GB card? Just because the cost is like - nothing?
Because Amazon recommended it and I did not want to spend even 5 seconds finding my own card.
Also This one will be used for a few more things than just the UPS monitor after I work out that process and figure our what device to buy multiples of.
-
@JaredBusch said in Pi as a UPS monitor:
Why a 32GB card? Just because the cost is like - nothing?
Because Amazon recommended it and I did not want to spend even 5 seconds finding my own card.
Also This one will be used for a few more things than just the UPS monitor after I work out that process and figure our what device to buy multiples of.
understandable.
-
Now to see if I can get time to work on this before next week.
-
@JaredBusch said in Pi as a UPS monitor:
Now to see if I can get time to work on this before next week.
We are waiting with baited breath....
-
@gjacobse said in Pi as a UPS monitor:
@JaredBusch said in Pi as a UPS monitor:
Now to see if I can get time to work on this before next week.
We are waiting with baited breath....
I sense doubt, doubt leads to the dark side. Do or do not, @JaredBusch does not try.
-
pi@raspberrypi:~ $ sudo upsc jaredoffice@localhost Init SSL without certificate database battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: 2001/09/25 battery.mfr.date: 2010/12/15 battery.runtime: 1580 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 27.2 battery.voltage.nominal: 24.0 device.mfr: American Power Conversion device.model: Back-UPS BR1000G device.serial: 3B1051X20329 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.7.2 driver.version.data: APC HID 0.95 driver.version.internal: 0.38 input.sensitivity: medium input.transfer.high: 147 input.transfer.low: 88 input.voltage: 126.0 input.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.firmware: 868.L1 .D ups.firmware.aux: L1 ups.load: 18 ups.mfr: American Power Conversion ups.mfr.date: 2010/12/15 ups.model: Back-UPS BR1000G ups.productid: 0002 ups.realpower.nominal: 600 ups.serial: 3B1051X20329 ups.status: OL ups.test.result: No test initiated ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d pi@raspberrypi:~ $
-
Hopefully I can get it to do something tomorrow. no more time tonight.
-
Instructions assuming a Pi3
- Install NOOBS to the SD Card.
- Boot the Pi to NOOBS
- Connect to wifi
- Once it sees internet you can choose to install a minimal version of raspbian with no GUI
- wait
- login with default creds pi/raspberry
- run
sudo raspi-config
to enable SSH and optionally set other options you want. - edit the wifi config file
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="yourssid"
psk="ssidpassword"
} - reboot the Pi3
- update raspian
sudo apt-get update
sudo apt-get upgrade
- Install
nut
sudo apt-get install nut
- Edit
sudo nano /etc/nut/nut.conf
- change
MODE=standalone
- change
- Edit
sudo nano /etc/nut/ups.conf
- add a block at the end of the file.
- a default example
[somenameforups]
driver = usbhid-ups
port = auto
desc = "Some descriptive name for UPS" - what mine is
[jaredoffice]
driver = usbhid-ups
port = auto
desc = "Jared's Desk"
- a default example
- Test the conf file is right
sudo upsdrvctl start
- Launch the UPS daemon
sudo upsd
- see if it is talking
sudo upsc somenameforups@localhost
- or my real one
sudo upsc jaredoffice@localhost
- or my real one