Skip to content

Latest commit

 

History

History
74 lines (57 loc) · 2.04 KB

STS-PRS-251.md

File metadata and controls

74 lines (57 loc) · 2.04 KB
title description
SmartThings STS-PRS-251 control via MQTT
Integrate your SmartThings STS-PRS-251 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

SmartThings STS-PRS-251

| Model | STS-PRS-251 | | Vendor | SmartThings | | Description | Arrival sensor | | Supports | presence | | Picture | SmartThings STS-PRS-251 |

Notes

Let the device beep.

{
    "beep": 5
}

Device type specific configuration

How to use device type specific configuration

  • presence_timeout: Timeout (in seconds) after which presence: false will be send when the device has not checked-in. By default 100 seconds, don't go lower then 30 seconds.

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: "%"
    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.presence }}"
    payload_on: true
    payload_off: false

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.action }}"
    icon: "mdi:gesture-double-tap"

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