zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Gledopto GL-B-007Z brightness and ct is not updated

Open milakov opened this issue 7 years ago • 6 comments

Hi, I am on the latest dev branch, happily using newly added Gledopto GL-B-007Z bulb from Home Assistant. I can control it perfectly, but one thing puzzles me: if I update the lamp brightness or color temperature with a service (either from automation or from web GUI) it is not reflected in GUI. Only On/Off status is reflected. I don't know if it is supposed to work at all, that is if it is a real bug?

milakov avatar Jan 30 '19 18:01 milakov

hi, can you post your log with debug option for this action?

khzd avatar Jan 30 '19 20:01 khzd

Here it is:

  zigbee2mqtt:debug 2019-1-31 10:19:11 Received MQTT message on 'zigbee2mqtt/0x00124b001b50416b/set' with data '{"state": "ON", "color_temp": 333}'
  zigbee2mqtt:info 2019-1-31 10:19:11 Zigbee publish to device '0x00124b001b50416b', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - 11
  zigbee2mqtt:info 2019-1-31 10:19:11 MQTT publish: topic 'zigbee2mqtt/0x00124b001b50416b', payload '{"state":"ON"}'
  zigbee2mqtt:info 2019-1-31 10:19:11 Zigbee publish to device '0x00124b001b50416b', lightingColorCtrl - moveToColorTemp - {"colortemp":333,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - 11
  zigbee2mqtt:debug 2019-1-31 10:19:17 Check online 0x00158d00024f2e59 0x00158d00024f2e59
  zigbee2mqtt:debug 2019-1-31 10:19:17 Successfully pinged 0x00158d00024f2e59
  zigbee2mqtt:debug 2019-1-31 10:19:17 Check online 0x00158d0002561266 0x00158d0002561266
  zigbee2mqtt:debug 2019-1-31 10:19:17 Successfully pinged 0x00158d0002561266
  zigbee2mqtt:debug 2019-1-31 10:20:17 Check online 0x00158d00024f2e59 0x00158d00024f2e59
  zigbee2mqtt:debug 2019-1-31 10:20:17 Successfully pinged 0x00158d00024f2e59
  zigbee2mqtt:debug 2019-1-31 10:20:17 Check online 0x00158d0002561266 0x00158d0002561266
  zigbee2mqtt:debug 2019-1-31 10:20:17 Successfully pinged 0x00158d0002561266
  zigbee2mqtt:debug 2019-1-31 10:21:17 Check online 0x00158d00024f2e59 0x00158d00024f2e59
  zigbee2mqtt:debug 2019-1-31 10:21:17 Successfully pinged 0x00158d00024f2e59
  zigbee2mqtt:debug 2019-1-31 10:21:17 Check online 0x00158d0002561266 0x00158d0002561266
  zigbee2mqtt:debug 2019-1-31 10:21:17 Successfully pinged 0x00158d0002561266

milakov avatar Jan 31 '19 07:01 milakov

Zigbee2mqtt only confirms the state, not the brightness or color. This shouldn't be needed as home assistant assumes this after the change: https://www.dropbox.com/s/6yt248z51rrf334/2019-01-31%2019.37.01.gif?dl=0

Koenkk avatar Jan 31 '19 18:01 Koenkk

Yes. it works fine if I change the brightness or color (or ct) through GUI. But if I change it with service "light.turn_on" then the change is not reflected in GUI. If this is theoretically possible to fix (that is if the bulb reports its attributes when changed to the coordinator) then we might at least create an issue for that. It might probably be of low priority though. I admit I might not understand how all this works!

milakov avatar Jan 31 '19 19:01 milakov

Yes, this is currently being worked on here: #966

Koenkk avatar Jan 31 '19 19:01 Koenkk

Thanks a lot!

milakov avatar Jan 31 '19 19:01 milakov