What i'm doing wrong?

Avatar
  • updated

Image 4874

Image 4875Image 4876Image 4877Image 4878

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!

Avatar
Jürgen Jürgenson
Quote from Alexandru Dumbravă
theoretically, the token name is " .meters[1].power ". but i still can't see the value in the perser

Can you show the MQTT explorers topic info too. Did you try to change the topic to get more info out of? 

Image 4885

Avatar
Alexandru Dumbravă

Image 4886

I don't really know how to change the topic

Avatar
Jürgen Jürgenson
Quote from Alexandru Dumbravă

Image 4886

I don't really know how to change the topic

For the subscription topic put /relay/1 without the /power and look if you get all the values(command, power and energy) for that topic.

Avatar
Alexandru Dumbravă
Quote from Jürgen Jürgenson

For the subscription topic put /relay/1 without the /power and look if you get all the values(command, power and energy) for that topic.

still not. i made a ticket on comfort click support, maybe i will solve the problem. i will come back with the result. Thank you!