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

Zigbee2mqtt to fast for adapt #996

Open
R3Cardoso opened this issue May 13, 2024 · 2 comments
Open

Zigbee2mqtt to fast for adapt #996

R3Cardoso opened this issue May 13, 2024 · 2 comments

Comments

@R3Cardoso
Copy link

Hi, this is not a bug, but I wasn't sure where to put my question.

I have Philips Hue devices on my HA working prefect with AL.
But I decided to change my devices to zigbee2mqtt and noticed a improve on response time, for exemple when I click on a light switch and the light turns on.
But this come with a problem. AL seems to not be able to adapt lights before they turn on.
With Philips Hue intregation it works fine, but it take a 1 second to respond to the click.

Is there any setting on AL or zigbee2mqtt that resolve this?

@th3w1zard1
Copy link
Collaborator

#501

@Kuchiru
Copy link

Kuchiru commented Jul 18, 2024

I think i have the same issue so i'll add the required info as i'm interested if there is a solution to this as well.

For me the best example of this is this:

  • I have some motion activated hue lights, these change color temperature and brightness as set by AL.
  • AL Sleep mode is automatically activated at 22:30
  • If the motion activated light turns off before 22:30 and is activated after 22:30 in the evening or in the night it will blind you before adjusting to the sleep mode brightness which usually takes about 1 second.

The lamps used for the example are https://www.zigbee2mqtt.io/devices/9290022169.html

z2m configuration.yaml

homeassistant:
  legacy_entity_attributes: true
advanced:
  network_key:
    - 98
    - 146
    - 27
    - 216
    - 99
    - 152
    - 158
    - 208
    - 145
    - 36
    - 33
    - 19
    - 122
    - 31
    - 53
    - 223
  pan_id: 30227
  ext_pan_id:
    - 245
    - 248
    - 22
    - 74
    - 178
    - 205
    - 141
    - 150
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
  cache_state: true
  cache_state_persistent: true
  cache_state_send_on_startup: false
  report: true
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: -
  force_disable_retain: false
frontend:
  port: 8099
serial:
  port: >-
    /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_90_B8_CA-if00-port0
device_options:
  legacy: false
  disabled: false
  homeassistant: true
  optimistic: true
  filtered_cache:
    - brightness
    - rgb_color
    - hs_color
    - xy_color
    - color_temp_kelvin
    - color_temp
    - color
    - color_mode
devices:
  '0x0017880102b0a892':
    friendly_name: ambiance_lamp
    transition: 1
  '0x001788010b7ed23f':
    friendly_name: couch_ceiling_light
    transition: 1
  '0x001788010b05f506':
    friendly_name: dining_table_ceiling_light
    transition: 1
  '0x001788010b553f41':
    friendly_name: kitchen_ceiling_light_1A
    transition: 1
  '0x001788010b501c7c':
    friendly_name: kitchen_ceiling_light_1B
    transition: 1
  '0x001788010901438e':
    friendly_name: bedroom_ceiling_light
    transition: 1
  '0x00178801062eeb48':
    friendly_name: passage_ceiling_light_1A
    transition: 1
  '0x0017880103282dea':
    friendly_name: hallway_motion_sensor
  '0x00178801062f06b9':
    friendly_name: passage_ceiling_light_1B
    transition: 1
  '0x0017880104876af2':
    friendly_name: Colour bulb 1
    transition: 1
  '0x00178801061d77b1':
    friendly_name: tv_light
    transition: 1
  '0x0017880106a07530':
    friendly_name: Colour bulb 3
    transition: 1
  '0x54ef441000a8c602':
    friendly_name: kitchen_motion_sensor
    occupancy_timeout: 60
  '0x0017880108c232a9':
    friendly_name: backyard_lamp
  '0x0017880108c23366':
    friendly_name: frontdoor_lamp
  '0xa4c138026f9adda5':
    friendly_name: kitchen_countertop_light
    transition: 1
  '0x001788010df5a852':
    friendly_name: passage_motion_sensor
  '0x187a3efffe6dabbb':
    friendly_name: '0x187a3efffe6dabbb'
    humidity_calibration: 0
    temperature_calibration: 0
    pm25_calibration: 0
  '0x001788010d7b6acc':
    friendly_name: hallway_ceiling_lamp
    transition: 1
  '0x54ef441000a12b7d':
    friendly_name: Supply Closet Door Sensor
  '0x8cf681fffe504b8d':
    friendly_name: Mailbox Sensor
    occupancy_timeout: 60
  '0x0017880104f3f003':
    friendly_name: '0x0017880104f3f003'
  '0x00178801062eecaf':
    friendly_name: office_ceiling_light
groups:
  '1':
    friendly_name: kitchen_ceiling_light
    devices:
      - 0x001788010b553f41/11
      - 0x001788010b501c7c/11
  '2':
    friendly_name: passage_ceiling_light
    devices:
      - 0x00178801062eeb48/11
      - 0x00178801062f06b9/11

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

No branches or pull requests

3 participants