I found out that my PC setup with two monitors was pulling around 50 watts even when it was powered off. I made some flows that detects when the power is off and shuts off the electricity. I have a button on the wall that toggles the power on/off.
What is needed
Homey
App: Better Logic
App: Simple log
Power-plug with a power meter. I use a TP-link HS110.
A Zigbee or Z-wave button (I use Aqara switch
Flow 1
When the powers change, and power is less than 75 watts. Sett Boolean Variable “StationarypcON” to false. Otherwise, set Boolean variable to true. This changes the Variable so Homey always know if the pc is on or off.
Flow 2
Detects when power is below 75 watts and the Boolean Variable “StationarypcON” is true. Starts Flow 3 after 1 min. Sets the variable to False.
I have made this second flow to prevent the flow to trigger when I am just restarting my pc.
I use the app Netscan to ping port 139 of a PC. I do that every 10 seconds to determine if I need to power down the lights of the desk. This way you know if a PC is running or not. We have 2 PC’s next to eachother so I can even see wich PC is up and running Very handy.
WARNING! Be sure to turn off wake on lan or the PC will boot up again because of Homey scanning him every 10 seconds (as I have set it up)
I’ll check how much power is drained when shutdown, 50 watts sounds like a whole lot!
Thanks for sharing!
If you have a netgear router you can use the netgear app to monitor if a pc is on or not. And you can also use it to wake the pc with WOL. I use it to switch on/off my son’s docking station to save power when the laptop isnt used.