This repository was archived by the owner on Mar 28, 2025. It is now read-only.
Best sensor to check if PC is on or off? #178
Unanswered
Sungod3000
asked this question in
Q&A
Replies: 2 comments
-
Did you figure something out? I'm having the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi @OskarKlintrot kind of. i read somewhere that you can use a dummy sensor that refresehs every 20 secs or so. if the pc turns off the sensor goes "unavailable". and that in turn can be used as a trigger in HA |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, im loving hass workstation so far. Im using it with node red to shut down my PC and the works really well.
My PC and soundsystem is on one smart switch that I shut down every night.
However cant really find a sensor to check if the PC is off after I shut it down.
I tried to use CPU speed but when the PC is off the sensor reads and "NaN" and that I cant use further without having to write a function that reinterprets that output.
I also tried the session state, but that reads as "unknown" or "unavailable" which is also not easily used as a trigger.
I wonder if im thinking to complicated here? How would you guys go about checking if the PC is off?
Cheers F
Beta Was this translation helpful? Give feedback.
All reactions