Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 1.67 KB

PM-S240-ZB.md

File metadata and controls

60 lines (46 loc) · 1.67 KB
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

Dawon DNS PM-S240-ZB

| Model | PM-S240-ZB | | Vendor | Dawon DNS | | Description | IOT smart switch 2 gang without neutral wire | | Supports | on/off | | Picture | Dawon DNS PM-S240-ZB |

Notes

Routing functionallity

This device does not act as a router.

Manual Home Assistant configuration

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 %}