Hey you guys!
Hopefully we can figure out my mistake together and find a solution for it. Now to my problem: I wanna turn off my pc with wol which works. And I wanna shut it down as well and for that I use rpc shutdown. WOL as I said works, I can turn on the pc with the switch. But if I wanna turn off the switch, it’s not possible. And the logs of the addon just show Read alias: Desktop-Lorenz and nothing else. Now to my config for the switch in my configuration.yaml file. For the switch:
Example configuration.yaml entry
wake_on_lan:
Example configuration.yaml entry
switch:
- platform: wake_on_lan
mac: Mac Adress with ipconfig /all in Windows
name: “Desktop-Lorenz”
host: the IP from the Pc
turn_off:
service: hassio.addon_stdin
data:
addon: core_rpc_shutdown
input: desktop-lorenz
Addon Configuration:
- alias: desktop-lorenz
address: IP from PC
credentials: Lorenz (no pw for this account)
delay: 0
message: >-
Home Assistant is shutting down this PC. This cannot be canceled. Please
save your work!
Anyone any idea why it just shows read alias and nothing else in the logs? Thank you guys, appreciate the help