Skip to content

Instantly share code, notes, and snippets.

bakroistvan

Block or report user

Report or block bakroistvan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View do-mqtt.lua
-- initiate the mqtt client and set keepalive timer to 120sec
mqtt = mqtt.Client("client_id", 120, "<<user>>", "<<pass>>")
mqtt:on("connect", function(con) print ("connected") end)
mqtt:on("offline", function(con) print ("offline") end)
-- on receive message
mqtt:on("message", function(conn, topic, data)
print(topic .. ":" )
if data ~= nil then
View PeopleTable.patch
39a40
> $this->addBehavior('Tags.Tag', ['taggedCounter' => false]);
You can’t perform that action at this time.