Hey! I’m having some trouble to get the RPC-shutdown addon to work on hass.io. The “Switch” comes up on the hass dashboard and I can see when my PC is on and off, but when i press the switch to turn it off it goes off for one sec then back on. I think I have done everything correct in the .yaml and on the addon itself, but I’m including it for you guys to see, I have also enabled WoL in the device manager and in BIOS (I think). Or is there a simplier way to make this work?
switch 3:
platform: wake_on_lan
mac_address: "*************"
name: "AgentClown-PC"
host: 192.168.0.100
turn_off:
service: hassio.addon_stdin
data:
addon: core_rpc_shutdown
input: AgentClown-PC
Also when writing user%password do it has to be the account logged in on the computer, or any that exists? and the Alias can be anything?
{
"computers": [
{
"alias": "AgentClown-PC",
"address": "192.168.0.100",
"credentials": "user%password"
}
]
}