I’d like to be able to connect a UPS to a hEX.
Possible?
Thanks.
I’d like to be able to connect a UPS to a hEX.
Possible?
Thanks.
If it is an APC UPS just plug the USB cable from the UPS into the hEX and install the ups package. For much older APC devices with serial but no USB you can also connect via any serial-to-USB adapters supported by Mikrotik, in the past I’ve used a Smart UPS VS650 and a Prolific serial adapter.
IIRC there have been posts that some other manufacturers UPS with USB connections also work, but many don’t.
Plug the USB cable into an RJ56 on hEX?
Does the USB carry IP?
Thanks!
No. APC supply a cable with a 10P10C modular connector at one end to connect to the UPS and a USB A plug at the other. A hEX (RB750Gr3) has a USB socket, as do hEX S, hEX PoE lite and hEX PoE. The hEX lite does not have USB, but you said you have a hEX.
Got it – I didn’t realize the hEX had a USB port.
Do you know if Cyberpower UPS will also work?
Thank you.
I don’t. You could search the forums to see if anyone else has reported success or failure, or as you have a hEX and UPS try it - the worst that can happen is that the UPS is not recognised by the Mikrotik package.
Works!
Is there a way to have the data logged and graphed?
[admin@212Hex] /system/ups> print
Flags: X - disabled; I - invalid
0 name="ups1" port=usbhid1 offline-time=0s min-runtime=never alarm-setting=immediate model="EC850LCD" serial="BF01201HBP1.y" load=0% on-line=yes
[admin@212Hex] /system/ups> monitor 0
on-line: yes
runtime-left: 4h4m10s
battery-charge: 100%
line-voltage: 121V
output-voltage: 121V
load: 0%
Home Assistant:

What do you mean by that ? hEX to Cyberpower or hEX to APC ?
I think I posted too quickly.
Using the Cyberpower EC850.
Line voltage and general status is available, but I don’t get any load usage.
At least you can read something. It could be that model doesn’t provide the information (certainly not all APC models do), or if it does as a data element which the Mikrotik HID UPS parser is not checking.
Regarding graphing you run something on a small computer (e.g. Raspberry Pi) and use SNMP to read the values seen by the Mikrotik.