Hey,
I have a switch set up on a ESP8266 ,using tasmota,mosquitto and node-red, that once pressed it starts recording using a web api recording software.
I succesfully got this working but now I am stuck trying to get the LED ,which is connected to my ESP8266, to turn on/off depending on the record status from the web API.
So far I have tested creating a inject to a mqtt out with a new topic (LED) then set a rule in tasmota which is: Rule1 ON mqtt#LED=True do power1 1 endon.
I have tried a variety of combinations of this rule as well as enabled it in the console yet nothing is working. I have also confirmed my LED (which is set to relay in tasmota) works with the command power1 1.
Any help is appreciated.