Like to be able to define triggers based on payload contents

Posted on
Tue Dec 29, 2020 1:50 pm
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Like to be able to define triggers based on payload contents

Hello all,

I have been trying to learn all I can about both MQTT and MQTT Shim plugins by @FlyingDiver.

One thing that I haven't been able to find out just yet is how to define triggers based on payload contents, instead of Topic contents.
This all comes from the wish to define triggers based on that same "Nue/3A Smart" device, that sports 3 different endpoints on the same single device...

Joe has already kindly taught me how to define a single trigger, instead of the several I was doing, but I would still like to be able to match on payload contents.

Is it even possible?

Best regards,
Cesar

Posted on
Tue Dec 29, 2020 2:28 pm
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Re: Like to be able to define triggers based on payload cont

After searching OUTSIDE the MQTT plugin section of this forum, I found this:

viewtopic.php?f=81&t=24153#p193507

I will try that and post back in a short while...

UPDATE: Yes, it works!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest