MQTT Client example - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: MQTT Client example (/showthread.php?tid=354) |
MQTT Client example - antoandruhy - 25.07.2016 Hello, recently I was trying to find some examples how LM supports MQTT protocol, as it is stated in marketing materials, but I was not able to find one. I imagine the concept of MQTT support in this way. Some mqtt client daemon has to run on LM. LM as a publisher - it is possible to publish group address values to topics. LM as a subscriber it is possible to subscribe to topics and assign values to group address. 1. Is my understanding correct? 2. Could you point me out some tutorials? Thank you for response in advance Anton RE: MQTT Client example - npinguin - 06.08.2016 bump up RE: MQTT Client example - admin - 08.08.2016 MQTT packages: https://dl.openrb.com/lm-17/pkg/libcares_1.12.0-1_mxs.ipk https://dl.openrb.com/lm-17/pkg/libmosquitto_1.4.11-1_mxs.ipk https://dl.openrb.com/lm-17/pkg/luamosquitto_0.2-2-1_mxs.ipk Lua library: https://github.com/flukso/lua-mosquitto/ RE: MQTT Client example - Safar - 18.08.2016 (08.08.2016, 06:11)admin Wrote: MQTT packages: Hi, All working. I use Resident script with 60 sec loop. All subscriptions received just in time. Should I use resident script only? And just in case: I use login_set before connect client:login_set("login","pass") RE: MQTT Client example - dejwoo - 17.02.2017 Hey guys, I tried to download packages for mqtt client but I've got 404 error, any ideas where could I find them? Thanks, David RE: MQTT Client example - eilert - 08.03.2017 Same here. Need them for my Azure testing towards an IoTHub. Please provide them again for download Best regards Eilert |