29.06.2022, 12:47
The major advantage is that MQTT is event-based so you will get data more or less instantly. For sensor data this might not be needed though.
First you need to install MQTT broker app on LM and enable the broker. Then you need a client script which will subscribe to sensor data topics and will send values to mapped group addresses.
Client example: https://forum.logicmachine.net/showthrea...6#pid10926
Change broker IP to 127.0.0.1 to use internal MQTT broker.
First you need to install MQTT broker app on LM and enable the broker. Then you need a client script which will subscribe to sensor data topics and will send values to mapped group addresses.
Client example: https://forum.logicmachine.net/showthrea...6#pid10926
Change broker IP to 127.0.0.1 to use internal MQTT broker.