Should advertise itself during getdevices as a relay module, with 3 relays ("SPST"). The relay outputs should correspond to (configurable) GPIO pins. CPP-Symbols RELAY_PIN_1, RELAY_PIN_2, RELAY_PIN_3.
Commands:
setstate,<module>:<port>,<state>
No need to implement the configuration commands: set_RELAYSENSOR, get_RELAYSENSOR, set_RELAY, get_RELAY, set_SENSORNOTIFY.
For maximal compatibility, the given module value can be ignored.
Should advertise itself during
getdevicesas a relay module, with 3 relays ("SPST"). The relay outputs should correspond to (configurable) GPIO pins. CPP-Symbols RELAY_PIN_1, RELAY_PIN_2, RELAY_PIN_3.Commands:
setstate,<module>:<port>,<state>No need to implement the configuration commands:
set_RELAYSENSOR, get_RELAYSENSOR, set_RELAY, get_RELAY, set_SENSORNOTIFY.For maximal compatibility, the given module value can be ignored.