Dear Charles and team Just thought to share my findings getting a Sweex PP200 650VA UPS working with NUT (I didn't see this particular model listed on the HCL.) I picked-up one of these units quite cheaply at a Maplins store (before the chain closed-down) as a second UPS for my home/office - the first being an old Zigor Ebro650 - a long story for another post... NUT v2.7.4_7 is running as a package on pfSense 2.2.4 (based on FreeBSD 11.2-RELEASE-p10) with the following ups.conf: pollinterval=10 maxretry=10 retrydelay=20 maxstartdelay=120 [ups] driver=blazer_usb port=auto protocol=mustek bus=/dev/usb desc=Sweex PP200 novendor This model has USB productid/vendorid of 5161/0665. The following output from upsc shows the available status from the Sweex, including Load and Charge stats, which do appear to be valid and well-calibrated: battery.charge: 100 battery.voltage: 13.70 battery.voltage.high: 13.00 battery.voltage.low: 10.40 battery.voltage.nominal: 12.0 device.type: ups driver.flag.novendor: enabled driver.name: blazer_usb driver.parameter.bus: /dev/usb driver.parameter.pollinterval: 10 driver.parameter.port: auto driver.parameter.protocol: mustek driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.internal: 0.12 input.current.nominal: 2.0 input.frequency: 50.1 input.frequency.nominal: 50 input.voltage: 241.2 input.voltage.fault: 241.2 input.voltage.nominal: 220 output.voltage: 204.5 ups.beeper.status: enabled ups.delay.shutdown: 30 ups.delay.start: 180 ups.load: 16 ups.productid: 5161 ups.status: OL TRIM ups.type: offline / line interactive ups.vendorid: 0665 I also have a Synology NAS (DS-115j) fed power by the same UPS as the pfSense router and have successfully gotten the NAS to act as NUT slave/client using upsmon. An article I found online suggested that the NAS could work with any NUT Master, as long as you define the UPS to match the hard-coded values in the Synology NUT port. Unfortunately every start-up of upsmon on the NAS appears to reset its configuration back to the hardcoded values, so I adjusted my configuration on the NUT Master to match instead (tail wagging the dog, but...) The UPS name defined in ups.conf on the Master must be 'ups' and the upsmon user 'monuser', password 'secret' as defined in upsd.users - see here: https://roll.urown.net/NAS/nas-ups.html I must say that the pfSense port of NUT with its real-time UI is pretty neat... More to follow on getting the Windows port of NUT 2.6.5 working as Master with my other (Zigor) UPS. Regards, Martyn Hill.
Charles Lepple
2019-Sep-07 14:59 UTC
[Nut-upsuser] Sweex PP200 650VA UPS - Success report [HCL]
On Sep 6, 2019, at 3:43 PM, Martyn Hill wrote:> > Just thought to share my findings getting a Sweex PP200 650VA UPS working with NUT (I didn't see this particular model listed on the HCL.)Thanks! One of the other Sweex models shows a few instant commands: https://networkupstools.org/ddl/Sweex/INTELLIGENT_UPS_1500VA_P220.html Is anything listed when you run `upscmd -l ups`? Also, the blazer_usb driver is getting a bit long in the tooth, and is currently unmaintained. nutdrv_qx should be able to replace it: https://networkupstools.org/docs/man/nutdrv_qx.html#_notes_for_the_previous_user_of_blazer_drivers It would be great if we can start pointing users to nutdrv_qx as a working driver for this model/brand. Next time you have a maintenance window, can you please try nutdrv_qx and let us know how that works?
Martyn Hill
2019-Sep-07 18:34 UTC
[Nut-upsuser] Sweex PP200 650VA UPS - Success report [HCL]
Hi Charles! Good point - so I've since switched to the nutdrv_qx driver, all other config remaining identical and it works just as with the legacy blazer_usb driver. All OK. I invoked the upscmd -l and it returned the following, same as the P220, which - given that it shares the same vendor/product IDs - is not unexpected: Instant commands supported on UPS [ups]: beeper.toggle - Toggle the UPS beeper load.off - Turn off the load immediately load.on - Turn on the load immediately shutdown.return - Turn off the load and return when power is back shutdown.stayoff - Turn off the load and remain off shutdown.stop - Stop a shutdown in progress test.battery.start - Start a battery test test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test I'll test sending each of them and see what seems to take effect. Regards, Martyn. On 07/09/2019 15:59, Charles Lepple wrote:> On Sep 6, 2019, at 3:43 PM, Martyn Hill wrote: >> Just thought to share my findings getting a Sweex PP200 650VA UPS working with NUT (I didn't see this particular model listed on the HCL.) > Thanks! One of the other Sweex models shows a few instant commands: > > https://networkupstools.org/ddl/Sweex/INTELLIGENT_UPS_1500VA_P220.html > > Is anything listed when you run `upscmd -l ups`? > > Also, the blazer_usb driver is getting a bit long in the tooth, and is currently unmaintained. nutdrv_qx should be able to replace it: https://networkupstools.org/docs/man/nutdrv_qx.html#_notes_for_the_previous_user_of_blazer_drivers It would be great if we can start pointing users to nutdrv_qx as a working driver for this model/brand. Next time you have a maintenance window, can you please try nutdrv_qx and let us know how that works? >-- "There are 10 types of people in this world. Those who understand binary and those who don't."