Difference between revisions of "Mqtt has connected to the broker"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:Script trigger Mqtt has connected to the broker}} Triggered when NETIO connects to the MQTT broker. Arguments are stored in table <code>event.args</code> === A...") |
(No difference)
|
Latest revision as of 16:27, 11 July 2019
Triggered when NETIO connects to the MQTT broker. Arguments are stored in table event.args
Arguments
mqttConnectedalways 1
Print arguments
-- print all arguments
for i, v in pairs(event.args) do
logf("%s: %s",tostring(i),tostring(v))
end