- Joined
- Jul 13, 2015
- Messages
- 1,119
- Reaction score
- 119
- Points
- 4,235
- Age
- 24
Hi all - need some technical advise as I've exhausted every option I know of.
What I need to happen: PC gracefully shut down when loadshedding starts (UPS), then turn on when mains come back 2 hours later.
My Setup:
Graceful shutdown works fine - UPS is connected with USB cable to the Unraid PC, NUT sees the power loss and shuts down the OS.
Ideally I would like the UPS to then also be shut down after the PC is off (setting on NUT) as to not have a humming noise for no reason.
When power restores, the UPS does NOT turn it self back on - PROBLEM #1
When I manually powercycle the UPS the PC does NOT turn it self back on - PROBLEM #2
In the BIOS I have set Turn ON after Power Loss Restore, which WORKS if the power is cut abruptly, but not after graceful shutdown.
A hack I am considering if all else fails (please point me in the right direction to setup if its plausible):
Send a WOL command from a Mikrotik every x minutes, which means the WOL won't occur when power is cut as the Mikrotik won't be on the UPS. (Can possibly use the 2nd ethernet port on the motherboard?)
Any assistance would be greatly appreciated! Running a bunch of home automation and dev stuff on docker which is a pain to manually restart after 3x loadshedding stints in a day.
What I need to happen: PC gracefully shut down when loadshedding starts (UPS), then turn on when mains come back 2 hours later.
My Setup:
- 3rd Gen Intel i5
- Intel MK77DQ Motherboard
- Unraid as OS
- Cheap RCT ups: RCT 850VA Line Interactive UPS | Buy Online in South Africa | takealot.com
- NUT Network UPS Tools - Welcome running on Unraid
Graceful shutdown works fine - UPS is connected with USB cable to the Unraid PC, NUT sees the power loss and shuts down the OS.
Ideally I would like the UPS to then also be shut down after the PC is off (setting on NUT) as to not have a humming noise for no reason.
When power restores, the UPS does NOT turn it self back on - PROBLEM #1
When I manually powercycle the UPS the PC does NOT turn it self back on - PROBLEM #2
In the BIOS I have set Turn ON after Power Loss Restore, which WORKS if the power is cut abruptly, but not after graceful shutdown.
A hack I am considering if all else fails (please point me in the right direction to setup if its plausible):
Send a WOL command from a Mikrotik every x minutes, which means the WOL won't occur when power is cut as the Mikrotik won't be on the UPS. (Can possibly use the 2nd ethernet port on the motherboard?)
Any assistance would be greatly appreciated! Running a bunch of home automation and dev stuff on docker which is a pain to manually restart after 3x loadshedding stints in a day.