I have a flow controlling a light which I control via Google Home voice commands, to MQTT, to a tasmota remote device.
If I tell google to switch the device on
, it sends;
{"payload":"on","topic":"cmnd/sonoff2/POWER"}
to the MQTT node.
...but, I don't want to forget to turn it off, so I've included a trigger node, and set it send another msg 5 minutes later to turn it off;
..but it doesn't produce the correct msg format & fails, it produces;
{"payload":{"payload":"off","topic":"cmnd/sonoff2/POWER"},"topic":"cmnd/sonoff2/POWER"}
Where have I gone wrong?
instead of {"payload":"off","topic":"cmnd/sonoff2/POWER"}