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

advanced attributes missing in HA #25603

Open
ybizeul opened this issue Jan 6, 2025 · 5 comments
Open

advanced attributes missing in HA #25603

ybizeul opened this issue Jan 6, 2025 · 5 comments
Labels
problem Something isn't working

Comments

@ybizeul
Copy link

ybizeul commented Jan 6, 2025

What happened?

no_occupancy_since attribute no longer populated

What did you expect to happen?

no_occupancy_since attribute populated

How to reproduce it (minimal and precise)

Current config worked before 2.0.0 :

  '0x00158d00075f5912':
    friendly_name: motion_escalier_haut
    no_occupancy_since:
      - 30
      - 60
      - 90
      - 120
      - 180
    illuminance_precision: 0
    occupancy_timeout: 5

Zigbee2MQTT version

2.0.0-1

Adapter firmware version

20220219

Adapter

zzh!

Setup

HA Add-on

Debug log

Info 2025-01-06 09:45:37z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":91,"occupancy":true,"power_outage_count":435,"temperature":27,"voltage":3145}'
Info 2025-01-06 09:45:37z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":94,"occupancy":true,"power_outage_count":435,"temperature":27,"voltage":3145}'
Info 2025-01-06 09:45:42z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":94,"occupancy":false,"power_outage_count":435,"temperature":27,"voltage":3145}'
Info 2025-01-06 09:46:07z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":94,"no_occupancy_since":30,"occupancy":false,"power_outage_count":435,"temperature":27,"voltage":3145}'
Info 2025-01-06 09:46:37z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":94,"no_occupancy_since":60,"occupancy":false,"power_outage_count":435,"temperature":27,"voltage":3145}'
Info 2025-01-06 09:47:07z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":94,"no_occupancy_since":90,"occupancy":false,"power_outage_count":435,"temperature":27,"voltage":3145}'
Info 2025-01-06 09:47:37z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":94,"no_occupancy_since":120,"occupancy":false,"power_outage_count":435,"temperature":27,"voltage":3145}'
Info 2025-01-06 09:48:37z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/motion_escalier_haut', payload '{"battery":100,"device_temperature":24,"illuminance":37,"linkquality":94,"no_occupancy_since":180,"occupancy":false,"power_outage_count":435,"temperature":27,"voltage":3145}'

image

@pejotigrek
Copy link

pejotigrek commented Jan 6, 2025

I've also noticed, that no occupancy settings in the web-dashboard are empty:

image

and when I check those in the devices.yaml, all I can see is:

  [...]
  no_occupancy_since:
    - undefined: 10
    - undefined: 60

don't know if it helps, but maybe it is up to something.

EDIT: ps. earlier [before upgrade to 2.0.0] I had those set to 10 and 60 in the dashboard.

@ybizeul
Copy link
Author

ybizeul commented Jan 6, 2025

Oh yes that’s an old one, I think no one expects that to be fixed at this point ! #18083

this issue is different though

@omerfaruk-aran
Copy link

omerfaruk-aran commented Jan 16, 2025

I'm having the same problem. There was no problem before 2.0, but I started experiencing this problem after the update. Device model RTCGQ01LM. I have been using this device for 2 years without any problems by following the procedure in the link. The fact that I encountered this problem after 2.0 indicates that it is software related. Even though I manually edited the device.yaml file, the problem was not resolved. It automatically detects motion after 55 minutes.

'0x00158..':
  friendly_name: MotionSensor2
  occupancy_timeout: 15
  no_occupancy_since:
    - 10
    - 60

Image

@Josef-Friedrich
Copy link

zigbee2mqtt 2.1.3

Image

If I use the webinterface, the configuration.yaml looks like:

devices:
  '0x0017880108672368':
    no_occupancy_since:
      - undefined: 10
      - undefined: 60

If I set the configuration manually the messages are sent in the right interval

devices:
  '0x0017880108672368':
    no_occupancy_since:
      - 10
      - 60

@ybizeul
Copy link
Author

ybizeul commented Mar 4, 2025

This is different and I lost all hope this will ever be fixed. #18083

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants