#Help for configuring turn off PC option in Home Assistant!

9 messages · Page 1 of 1 (latest)

dense moat
#

Hi guys, i need for implement in my HAOS the turn off for my pc!
At the moment using Wake On Lan addon and work so good for start the pc but i need help for configuring the shutdown option

indigo hedge
#

there's a few ways to approach this. in hardware and software. i imagine software would be easier. what OS are you running on said pc?

rare kernel
#

i am assuming it is not a server class machine with a separate bmc ethernet port or you would have used that to turn it on as well.

if you have intel vpro with amt on your pc you could probably leverage that as a kind of bmc that does not require a separate network port.

and if none of those you can use ssh for linux or powershell for windows to turn off. i doubt ha has the linux powershell installed though.

umbral zodiac
#

If you are using HAOS, there is also an add-on called RPC Shutdown, which can shutdown Windows PCs.

rare kernel
#

you could also make a service to run on the pc with a rest api that triggers os shutdown or acpi event. there probably is one for your os already

indigo hedge
#

could do it on windows with hass agent too

dense moat
#

I'm running HAOS in Nuc and i've tried more times RPC Shutdown but i cant configuring corectly probably

#

Can you help me?

umbral zodiac
#

Credentials are user%password
If you have a local account, you have to use the local username and password.
If you are using a Microsoft account, you have to use the username like your user's directory C:\USERS (e.g. firstname and first letter of the family name) and the MS account password.