Skip to content

All lights sets brightness to 1 after host restart #11864

Closed
@Mr-Groch

Description

What happened?

Each time after host with z2m, ha and mosquitto docker containers is restarted, all lights will have brightness: 1 after turn on.

You can see in attached log that for example:

  1. 'Lampka mała (szara) - sypialnia' has brightness 172, and next on 2022-03-16 09:34:58 it will have brightness 1
  2. 'Lampka RGBW - sypialnia' has brightness 254, and next on 2022-03-16 09:35:00 it will have brightness 1
  3. 'Lampa - kuchnia' has brightness 152, and next on 2022-03-16 09:35:09 it will have brightness 1
  4. 'Taśma LED RGBW - zewnętrzna 1' has brightness 120, and next on 2022-03-16 09:35:16 it will have brightness 1
  5. 'Listwa LED RGBW - kuchnia (lewa)' has brightness 155, and next on 2022-03-16 09:35:52 it will have brightness 1
    And so on for all lights that supports brightness (some of them had brightness 1 on start, becouse this happens to them earlier, and I had not turned it on and adjusted till then)...

What did you expect to happen?

Brightness should be properly restored from state.json

How to reproduce it (minimal and precise)

Restart host machine with HA, Z2M and Mosquitto containers (this is Synology NAS - it takes about 5 minutes from reboot start to fully start all containers)

EDIT: Just stop Z2M container, start it after about 5 minutes, and after next couple of minutes all lights will have 1 brightness

Zigbee2MQTT version

1.24.0

Adapter firmware version

20211217

Adapter

Sonoff CC2652p USB Stick

Debug log

log.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    problemSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions