Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Do-more Programming Examples => Topic started by: Ssweber on December 29, 2020, 03:54:23 PM

Title: MQTT Subscribe For Idiots
Post by: Ssweber on December 29, 2020, 03:54:23 PM
For future people, who like me do not understand MQTT at all.

MQTTSUB seems totally non-blocking. You literally subscribe to a topic and when the topic changes remotely, it updates the payload. BRX handles the rest.

I had it setup where I turned off the rung on an "On Success" (like you would with an email), and couldn't understand why it wasn't updating my payload. Duh  :o

Title: Re: MQTT Subscribe For Idiots
Post by: Ssweber on December 29, 2020, 08:27:54 PM
Also for future reference, HOST?s 3 training videos which I should have watched:

https://www.youtube.com/playlist?list=PLyUgWqNNb3VQWd9pLsxiI-ZL-t-cNKdMH&fbclid=IwAR2CUnCHOavdJsSePmYlmHBFZe2Tkqj9yP2PgI23lsqZyuX_dMbj2ll9S1E