Magic with Tasmota and MQTT Client

Hello friends !

I try to do a magic with MQTT and Tasmota :

this is from tasmota webpage
16:07:17.556 MQT: stat/tasmota_635432/RESULT = {“Switch5”:{“Action”:“TOGGLE”}}

this is from Nymea MQTT
Publish received:stat/tasmota_635432/RESULT,{“Switch5”:{“Action”:“TOGGLE”}}

and this one it works , only

What is the proper way for the complete line please ?

Hi, I’m not sure if I understand what you are trying to achieve.

In any case, the stat/tasmota_XXXXXX/RESULT is the topc, while the {"Switch5":{"Action":"TOGGLE"}} would go into the payload field, if that’s really what you want to do…

Thank you , it works !
I want to turn on a relay when MQTT {“Switch5”:{“Action”:“TOGGLE”}} .