function devices.system.MqttLuaSubscribe()

From wiki.netio-products.com
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+