Hi,
I’ve installed the rcp shutdown addon and configure it and it’s working good. i create a switch in the configuration.yaml and it’s working.
i try to create automation to run the turn of the computer but i can’t find it in any options in the action.
what i need to choose in the action to run the rpc shutdown?
service: hassio.addon_stdin: Use hassio.addon_stdin service to send data over STDIN to an add-on. data.addon: core_rpc_shutdown: Tells the service to send the command to this add-on. data.input: test-pc: Alias name created for the computer in the add-on configuration, and shuts that one down.
another problem that i have with this scene automation is that i want it to run if the switch is on and time between X to Y turn off the computer and every time that the computer start between X to Y keep shutdown.
i’ve create the automation but in doesn’t work in the X to Y time frame at all. i runs good if i run the scene manual.
YAML CONFIG
The trigger is set to execute the automation at 15:00 every day. The platform: time trigger is used for this purpose.
The condition ensures that the WOL switch is in the “on” state.
If both the trigger time and condition are met, the action will be executed to turn off the computer.
This automation will turn off the computer at 15:00 every day of the week if the WOL switch is on.