Hi all.
I have a UPS (serially connected on /dev/ttyS0) which I would like to have monitored etc by Gnome.
The manufacturer is Phoenix here in Spain, but I’ve discovered that it is Megatec compatible.
I have configured NUT and as a user (me), can get the following output:
andy@emu1:~> upsc Phoenix
battery.voltage: 12.50
battery.voltage.nominal: 11.5
driver.name: megatec
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.2.2
driver.version.internal: 1.5.14
input.frequency: 50.2
input.frequency.nominal: 50.0
input.voltage: 195.0
input.voltage.fault: 165.0
input.voltage.maximum: 226.0
input.voltage.minimum: 184.0
input.voltage.nominal: 220.0
output.voltage: 218.0
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 0.0
ups.mfr: PHOENIX TECH
ups.model: PH650UPX VER3.10C
ups.serial: unknown
ups.status: OL OFF
ups.type: standby
andy@emu1:~>
This appears to confirm that NUT is working. However, I need a way to get NUT linked to Gnome and be able to receive notifications about power and configure the UPS behaviour.
Any advice will be gratefully received.
Cheers
Environment spec:
Opensuse 11.0 32bit
Gnome 2.22
nut-2.2.2-12.1
Pentium P4 2.8
2GB RAM