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

Xiaomi P1 Sensor reports differently No_Occupancy_Since #17957

Closed
paifre opened this issue Jun 8, 2023 · 2 comments
Closed

Xiaomi P1 Sensor reports differently No_Occupancy_Since #17957

paifre opened this issue Jun 8, 2023 · 2 comments
Labels
problem Something isn't working stale Stale issues

Comments

@paifre
Copy link

paifre commented Jun 8, 2023

What happened?

After a recent update, actually running 1.31.0, Xiaomi P1 Sensor reports differently No_occupancy_since
Initially attribute pushed to MQTT was no_occupancy_since with one of the two values I've set: 20 and 180
Detection interval is 60 seconds, detection timeout +2 seconds (default)
At T0+180, a message was pushed to MQTT and I was using it as a kind of timeout to trigger a light off
Now, attribute has changed name surprisingly: no_occupancy_since-undefined
Value is published only when sensor is triggered and a message is sent with occpancy: true

Something seems to have changed. I've not made modification to this device before detecting this new behavior.
I've tried to reconfigure to retrieve previous behavoir with no success.

Any idea ?

What did you expect to happen?

no_occupancy_since triggered as per my understanding of the documentation

When setting this for example to [10, 60] a {"no_occupancy_since": 10} will be send after 10 seconds and a {"no_occupancy_since": 60} after 60 seconds.

How to reproduce it (minimal and precise)

Dont know

Will update issue with debug log

Zigbee2MQTT version

1.31.0 (front 0.6.129)

Adapter firmware version

0x26780700

Adapter

ConBee2/RaspBee2

Debug log

debug 2023-06-08 15:29:29: Received Zigbee message from 'Detecteur Mouvement Couloir SSol Rue', type 'attributeReport', cluster 'aqaraOpple', data '{"illuminance":65574}' from endpoint 1 with groupID null
info 2023-06-08 15:29:29: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/voltage', payload '3018'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/battery', payload '100'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/occupancy', payload 'true'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/illuminance', payload '38'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/linkquality', payload '255'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/device_temperature', payload '31'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/power_outage_count', payload '0'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/detection_interval', payload '60'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/motion_sensitivity', payload 'medium'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/trigger_indicator', payload 'true'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/last_seen', payload '1686230969957'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/mode_switch', payload '''
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/switch_type', payload ''
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/no_occupancy_since-undefined', payload '20'
info 2023-06-08 15:29:30: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/no_occupancy_since-undefined', payload '180'

info 2023-06-08 15:30:31: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/voltage', payload '3018'
info 2023-06-08 15:30:31: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/battery', payload '100'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/occupancy', payload 'false'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/illuminance', payload '38'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/linkquality', payload '255'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/device_temperature', payload '31'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/power_outage_count', payload '0'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/detection_interval', payload '60'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/motion_sensitivity', payload 'medium'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/trigger_indicator', payload 'true'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/last_seen', payload '1686230969957'
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/mode_switch', payload ''
info 2023-06-08 15:30:32: MQTT publish: topic 'zbcb2i/Detecteur Mouvement Couloir SSol Rue/switch_type', payload ''

@paifre
Copy link
Author

paifre commented Jun 24, 2023

Similar beahvior reported in #18083

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Jul 25, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests

1 participant