16.11.2022, 12:48
(29.06.2022, 12:47)admin Wrote: 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.
Will the LM Broker work via LM cloud? or do you need to make a port forward on the MQTTports in firewall?