-
Hello all, I wonder what would be the smartest way to react on a message that my MQTT broker publishes.
btw: it will be the same MQTT broker which is used for logging. I'd be glad for any suggestions on this topic. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Isn't it possible to do this "reaction" within the home automation software and send an URL command instead (/G32=1 for example)? If not, then I definitively would prefer to go the route via BSB_LAN_custom.h because these changes would survive an update of the main code. |
Beta Was this translation helpful? Give feedback.
-
Ok, glad to hear if that solution would work for you two. If it does, please let us know how you did it in the other discussion thread so that others can benefit from it, too! |
Beta Was this translation helpful? Give feedback.
Isn't it possible to do this "reaction" within the home automation software and send an URL command instead (/G32=1 for example)? If not, then I definitively would prefer to go the route via BSB_LAN_custom.h because these changes would survive an update of the main code.
I wouldn't be against changes in the code to act on MQTT messages with regard to the GPIOs in the same way as BSB-LAN reacts to MQTT messages for parameters, so if you have to go down this way, you could provide us with a PR and I'd have a look at whether there is a chance to add this to the main code.