Skip to content

Files

Latest commit

cdda156 · Nov 1, 2020

History

History
100 lines (79 loc) · 3.15 KB

SMSZB-120.md

File metadata and controls

100 lines (79 loc) · 3.15 KB
title description
Develco SMSZB-120 control via MQTT
Integrate your Develco SMSZB-120 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

Develco SMSZB-120

| Model | SMSZB-120 | | Vendor | Develco | | Description | Smoke detector with siren | | Supports | smoke, warning, temperature | | Picture | Develco SMSZB-120 |

Notes

Triggering alarm

This smoke alarm can be triggered manually by publishing to zigbee2mqtt/[FRIENDLY_NAME]/set with the payloads:

To start (Change duration in number of seconds to what you need):

  • {"warning": {"mode": "burglar", "level": "high", "strobe": false, "duration": 300}}

To stop:

  • {"warning": {"mode": "stop", "level": "low", "strobe": false, "duration": 300}}

Device type specific configuration

How to use device type specific configuration

  • temperature_precision: Controls the precision of temperature values, e.g. 0, 1 or 2; default 2. To control the precision based on the temperature value set it to e.g. {30: 0, 10: 1}, when temperature >= 30 precision will be 0, when temperature >= 10 precision will be 1.
  • temperature_calibration: Allows to manually calibrate temperature values, e.g. 1 would add 1 degree to the temperature reported by the device; default 0.

Manual Home Assistant configuration

Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:

{% raw %}

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "°C"
    value_template: "{{ value_json.temperature }}"
    device_class: "temperature"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "%"
    value_template: "{{ value_json.battery }}"
    device_class: "battery"

binary_sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.smoke }}"
    payload_on: true
    payload_off: false
    device_class: "smoke"

binary_sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.battery_low }}"
    payload_on: true
    payload_off: false
    device_class: "battery"

binary_sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.tamper }}"
    payload_on: true
    payload_off: false

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