title | description |
---|---|
Dawon DNS PM-S240-ZB control via MQTT |
Integrate your Dawon DNS PM-S240-ZB 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 | PM-S240-ZB | | Vendor | Dawon DNS | | Description | IOT smart switch 2 gang without neutral wire | | Supports | on/off | | Picture | |
This device does not act as a router.
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_top }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/top/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_bottom }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/bottom/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 %}