To contribute to this page, edit the following file
SmartThings STS-PRS-251 #
Model | STS-PRS-251 |
Vendor | SmartThings |
Description | Arrival sensor |
Exposes | battery, presence, action, beep, linkquality |
Picture | ![]() |
Notes #
Device type specific configuration #
How to use device type specific configuration
legacy
: Set tofalse
to disable the legacy integration (highly recommended!) (default: true)
Let the device beep. #
{
"beep": 5
}
presence_timeout
: Timeout (in seconds) after whichpresence: false
will be send when the device has not checked-in. By default 100 seconds, don’t go lower then 30 seconds.
Exposes #
Battery (numeric) #
Remaining battery in %.
Value can be found in the published state on the battery
property.
It’s not possible to read (/get
) or write (/set
) this value.
The minimal value is 0
and the maximum value is 100
.
The unit of this value is %
.
Presence (binary) #
Indicates whether the device detected presence.
Value can be found in the published state on the presence
property.
It’s not possible to read (/get
) or write (/set
) this value.
If value equals true
presence is ON, if false
OFF.
Action (enum) #
Triggered action (e.g. a button click).
Value can be found in the published state on the action
property.
It’s not possible to read (/get
) or write (/set
) this value.
The possible values are: beeping
.
Beep (enum) #
Value will not be published in the state.
It’s not possible to read (/get
) this value.
To write (/set
) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set
with payload {"beep": NEW_VALUE}
.
The possible values are: ``.
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:
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
device_class: "presence"
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"