Shutdown and Wake up your Windows PC from a Raspberry Pi

Try “pc” instead of “PC”.

If you want PC as the name on the front end use the friendly name option.

@dennisaion i need to connect my pc with cable ? or Works with wireless?

Works only cables. WoL over WiFi I would signup for yesterday, :wink:

Am I right in assuming that this doesn’t work out of the box with the current version of hassio?

You should be able to use the wake on lan switch and the netrpc shutdown as a shell command and have this work. Some links to my configuration for guidance. I don’t use HASSio but these are default components for HA so they should work.

and in the turn off reference a shell command

https://github.com/SilvrrGIT/HomeAssistant/blob/master/switches.yaml#L74

There is personal information so I don’t have my actual shell command but there are instructions on how I used it.

https://github.com/SilvrrGIT/HomeAssistant/blob/master/shell_commands.yaml

How can I do that on Hassio? I have Samba share add-on installed, but it doesn’t seem to be enough