title | description |
---|---|
Lonsonho X713A control via MQTT |
Integrate your Lonsonho X713A via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendors bridge or gateway. |
To contribute to this page, edit the following file
| Model | X713A | | Vendor | Lonsonho | | Description | 3 gang switch | | Supports | on/off | | Picture | |
Press and hold the button on the device for more then 10 seconds (until the led light starts blinking), release and wait.
Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:
{% raw %}
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_l1 }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/l1/set"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_l2 }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/l2/set"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_l3 }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/l3/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "lqi"
value_template: "{{ value_json.linkquality }}"
icon: "mdi:signal"
{% endraw %}