Closed klew closed 1 year ago
Relay state can be written to a file by using CmdRelay channel type. Here is a part of yaml config as an example:
- type: CmdRelay
name: command_relay_1
initial_state: restore
cmd_on: "echo 1 > command_relay_1.out"
cmd_off: "echo 0 > command_relay_1.out"
https://forum.supla.org/viewtopic.php?p=135869#p135869