What i'm doing wrong?





Hello. So, i'm trying to connect a Shelly 2.5 in relay mode (2 channels). I want to control channels, which works fine, to get the Switch value (if the switch it's on or off) and to find out the consumption on any channel. (in case one switch it's on, but the consumption is 0, it's means there's a problem, and i want to message the client that the lamp it's broken). I can see in subscription de actual value, in all my necessary, but i really don't know how to put the value from subscriber, into the parser. (ex: The instant consumption from the led bulb, from subscriber, into consumption panel value) . I'm a MQTT beginner, don't really know how it's works, but i try to do my best.
Thank you very much!

Hello
I used MQTT explorer, which show me live what actions i do in the app and what is my token name (path). just tried .power , 1/power, power. i think maybe the problem it's on publish. Thank you.
I'm not sure why you are trying to publish values back to it? If you are trying to read out info then it should be under the subscription only. Can you paste the Last message value that you get for the power under the subscription?