MqttLamp

This module is a part of the NetHomeServer. The MqttLamp behaves like a standard lamp, and controls a lamp/switch via MQTT. You configure the topic of the device you want to control and the messages used to turn the device on or off. The MqttLamp will also listen on that topic for those messages to update the state if it is changed from another source. Note that you need to have a MqttClient configured to connect to the MQTT broker you are using and that this MqttClient must subscribe for the lamps topic in order for the lamp to be able to update state.

Attributes

Actions

See also

NetHomeServer