Power status info on hEX router

Hello,

I’m trying to write a script that will notify me when power adapter failis on hEX router.
So, i’m trying to build redundant power supply for hEX, and it can be done, first power input is standard adapter to DC power port, and another one is PoE port to ether1.
This works, i can unplug PoE or DC input, and the router works with either.
But (and this is why this topic is on scripting), I want to write a script that will send me an email when either of those two power sources goes offline, so i can replace it.
/system health print will give me voltage, but is there a way for it to show running power sources if there are multiple?
Is there a way to get health info for PoE and DC power separately?

Thx

No way to get separate info about input voltage or power source. Use primary power source with higher voltage and secondary with lower and you will know which one is used when.

Thx, does hEX use higher or lower voltage DC by default?
But still, looks like it won’t be possible to find out if one of the adapters fails.
Let’s say it uses high voltage by default, so if low voltage failed you will not know until high voltage also fails.

It would be nice feature to add monitor for multiple power sources (pls devs :slight_smile: )

It uses the higher voltage by default and lower as backup, regardless what is what. If there is just one physical voltage sensor, there is nothing you can develop in software…