Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occupation sensor does not pass Tamper to HomeKit #126

Open
jeroenvermeulen opened this issue Dec 16, 2023 · 0 comments
Open

Occupation sensor does not pass Tamper to HomeKit #126

jeroenvermeulen opened this issue Dec 16, 2023 · 0 comments

Comments

@jeroenvermeulen
Copy link

I have this sensor:
https://www.zigbee2mqtt.io/devices/HG06335_HG07310.html#lidl-hg06335%252Fhg07310

When I take it off the mounting bracket, so Tamper becomes true, the value to HomeKit (payload) is:

{
  "OccupancyDetected":1
}

While payload_raw is:

{
  "battery": 100,
  "battery_low": false,
  "last_seen": "2023-12-16T20:03:29+01:00",
  "linkquality": 18,
  "occupancy": true,
  "tamper": true,
  "voltage": 3100
}

OccupancySensor has a characteristic StatusTampered, I think we shoud set it.
https://nrchkb.github.io/wiki/service/occupancy-sensor/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant