To contribute to this page, edit the following file

databyte.ch DTB190502A1 #

Model DTB190502A1
Vendor databyte.ch
Description CC2530 based IO Board
Exposes led_state, key_state, linkquality
Picture databyte.ch DTB190502A1

Notes #

None

Exposes #

Led_state (binary) #

Value can be found in the published state on the led_state property. It’s not possible to read (/get) or write (/set) this value. If value equals ON led_state is ON, if OFF OFF.

Key_state (enum) #

Value can be found in the published state on the key_state property. It’s not possible to read (/get) or write (/set) this value. The possible values are: KEY_SYS, KEY_UP, KEY_DOWN, KEY_NONE.

Linkquality (numeric) #

Link quality (signal strength). Value can be found in the published state on the linkquality property. It’s not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 255. The unit of this value is lqi.

Manual Home Assistant configuration #

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

binary_sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.led_state }}"
    payload_on: "ON"
    payload_off: "OFF"

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

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"