function devices.system.MqttLuaSubscribe()

From wiki.netio-products.com
Revision as of 13:45, 11 July 2019 by Phrych (talk | contribs) (Created page with "{{DISPLAYTITLE:function devices.system.MqttLuaSubscribe()}} Function for subscribing to certain MQTT topic. <i>nil</i> <b>devices.system.MqttLuaSubscribe</b>(<i>table</i> <c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function for subscribing to certain MQTT topic.

nil devices.system.MqttLuaSubscribe(table config)

Parameters

table config{topic}
  • string topic name of subscribed topic

Return value

nil

Usage

-- Subscribe to topic luaHole
devices.system.MqttLuaSubscribe{topic="luaHole"}


Requirements

Netio FirmWare 3.3.1+