Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.57k stars 1.63k forks source link

IKEA TRÅDFRI LED2103G5 : Still "unsupported" #20400

Closed heviiguy closed 7 months ago

heviiguy commented 7 months ago

What happened?

Bulb does not toggle

What did you expect to happen?

Expected the bulb to toggle between "on" and "off"

How to reproduce it (minimal and precise)

As above

Debug

debug 2023-12-27 10:25:40Received Zigbee message from 'Coordinator', type 'commandNotification', cluster 'greenPower', data '{"data":[25,165,2,11,254,0],"type":"Buffer"}' from endpoint 242 with groupID null, ignoring since it is from coordinator
debug 2023-12-27 10:27:13Saving state to file /app/data/state.json
debug 2023-12-27 10:27:32Received MQTT message on 'zigbee2mqtt/Light - (hevii Office - overhead)/set' with data '{"state":"OFF"}'
error 2023-12-27 10:27:32No converter available for 'state' ("OFF")
debug 2023-12-27 10:27:45Received MQTT message on 'zigbee2mqtt/Light - (hevii Office - overhead)/set' with data '{"state":"ON"}'
error 2023-12-27 10:27:45No converter available for 'state' ("ON")
debug 2023-12-27 10:27:48Received MQTT message on 'zigbee2mqtt/Light - (hevii Office - overhead)/get' with data '{"state":""}'
error 2023-12-27 10:27:48No converter available for 'state' ("")
debug 2023-12-27 10:27:56Received MQTT message on 'zigbee2mqtt/Light - (hevii Office - overhead)/get' with data '{"state":""}'
error 2023-12-27 10:27:56No converter available for 'state' ("")
Koenkk commented 7 months ago

Try with the latest dev branch and no external converter

heviiguy commented 7 months ago

Tried it with dev branch to no avail.

I now get: "Device '0x90395efffe6b12af' with Zigbee model 'TRADFRI bulb E26 WW globe 800lm' and manufacturer name 'IKEA of Sweden' is NOT supported"

info  2023-12-27 15:12:44: Network scan finished
info  2023-12-27 15:12:44: MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap', payload '{"data":{"routes":false,"type":"raw","value":{"links":[{"depth":15,"linkquality":69,"lqi":69,"relationship":2,"routes":[],"source":{"ieeeAddr":"0x90395efffe6b12af","networkAddress":23336},"sourceIeeeAddr":"0x90395efffe6b12af","sourceNwkAddr":23336,"target":{"ieeeAddr":"0xb43522fffe015f1d","networkAddress":0},"targetIeeeAddr":"0xb43522fffe015f1d"},{"depth":0,"linkquality":39,"lqi":39,"relationship":0,"routes":[],"source":{"ieeeAddr":"0xb43522fffe015f1d","networkAddress":0},"sourceIeeeAddr":"0xb43522fffe015f1d","sourceNwkAddr":0,"target":{"ieeeAddr":"0x90395efffe6b12af","networkAddress":23336},"targetIeeeAddr":"0x90395efffe6b12af"}],"nodes":[{"definition":null,"failed":[],"friendlyName":"Coordinator","ieeeAddr":"0xb43522fffe015f1d","lastSeen":1703704200427,"networkAddress":0,"type":"Coordinator"},{"definition":null,"failed":[],"friendlyName":"0x90395efffe6b12af","ieeeAddr":"0x90395efffe6b12af","lastSeen":1703704361428,"networkAddress":23336,"type":"Unknown"}]}},"status":"ok","transaction":"02jpf-4"}'
info  2023-12-27 15:12:47: Successfully interviewed '0x90395efffe6b12af', device has successfully been paired
warn  2023-12-27 15:12:47: Device '0x90395efffe6b12af' with Zigbee model 'TRADFRI bulb E26 WW globe 800lm' and manufacturer name 'IKEA of Sweden' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
info  2023-12-27 15:12:47: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0x90395efffe6b12af","ieee_address":"0x90395efffe6b12af","status":"successful","supported":false},"type":"device_interview"}'
warn  2023-12-27 15:14:51: Received message from unsupported device with Zigbee model 'TRADFRI bulb E26 WW globe 800lm' and manufacturer name 'IKEA of Sweden'
warn  2023-12-27 15:14:51: Please see: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html

Unless the folks at the factory screwed-up and mis-labled to bulb, I'm certain that this is indeed a TRÅDFRI LED2103G5. I'll invoke the external converter again...

Koenkk commented 7 months ago

Added it!

Changes will be available in the dev branch tomorrow

heviiguy commented 7 months ago

Thanks, Koen!

And, "Happy Holidays" 🎅🏼

heviiguy commented 7 months ago

I've installed Zigbee2MQTT v1.34.0 aae7312)

Alas, no joy 🙁. The bulb still comes back as "unrecognised".

info 2023-12-28 10:57:42Starting network scan (includeRoutes 'false')
info 2023-12-28 10:57:44Network scan finished
info 2023-12-28 10:57:44MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap', payload '{"data":{"routes":false,"type":"raw","value":{"links":[{"depth":15,"linkquality":68,"lqi":68,"relationship":2,"routes":[],"source":{"ieeeAddr":"0xb43522fffea8706e","networkAddress":15240},"sourceIeeeAddr":"0xb43522fffea8706e","sourceNwkAddr":15240,"target":{"ieeeAddr":"0xb43522fffe015f1d","networkAddress":0},"targetIeeeAddr":"0xb43522fffe015f1d"},{"depth":0,"linkquality":44,"lqi":44,"relationship":0,"routes":[],"source":{"ieeeAddr":"0xb43522fffe015f1d","networkAddress":0},"sourceIeeeAddr":"0xb43522fffe015f1d","sourceNwkAddr":0,"target":{"ieeeAddr":"0xb43522fffea8706e","networkAddress":15240},"targetIeeeAddr":"0xb43522fffea8706e"}],"nodes":[{"definition":null,"failed":[],"friendlyName":"Coordinator","ieeeAddr":"0xb43522fffe015f1d","lastSeen":1703775455916,"networkAddress":0,"type":"Coordinator"},{"definition":null,"failed":[],"friendlyName":"0xb43522fffea8706e","ieeeAddr":"0xb43522fffea8706e","lastSeen":1703775462582,"networkAddress":15240,"type":"Unknown"}]}},"status":"ok","transaction":"gbacy-3"}'
info 2023-12-28 10:57:51Successfully interviewed '0xb43522fffea8706e', device has successfully been paired
warning 2023-12-28 10:57:51Device '0xb43522fffea8706e' with Zigbee model 'TRADFRI bulb E26 WW globe 800lm' and manufacturer name 'IKEA of Sweden' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
info 2023-12-28 10:57:51MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0xb43522fffea8706e","ieee_address":"0xb43522fffea8706e","status":"successful","supported":false},"type":"device_interview"}'
heviiguy commented 7 months ago

Just tried it with v1.34.0 ffa4391. Same result.

info  2023-12-28 12:39:04: Logging to console and directory: '/app/data/log/2023-12-28.12-39-04' filename: log.txt
info  2023-12-28 12:39:04: Starting Zigbee2MQTT version 1.34.0-dev (commit #ffa4391)
info  2023-12-28 12:39:04: Starting zigbee-herdsman (0.29.1)
info  2023-12-28 12:39:10: zigbee-herdsman started (resumed)
info  2023-12-28 12:39:10: Coordinator firmware version: '{"meta":{"maintrel":"3 ","majorrel":"6","minorrel":"10","product":8,"revision":"6.10.3.0 build 297"},"type":"EZSP v8"}'
info  2023-12-28 12:39:10: Currently 0 devices are joined:
info  2023-12-28 12:39:10: Zigbee: disabling joining new devices.
info  2023-12-28 12:39:10: Connecting to MQTT server at mqtt://10.57.8.4
info  2023-12-28 12:39:10: Connected to MQTT server
info  2023-12-28 12:39:10: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
info  2023-12-28 12:39:10: Started frontend on port 8080
info  2023-12-28 12:39:10: Zigbee2MQTT started!
info  2023-12-28 12:40:03: Starting network scan (includeRoutes 'false')
info  2023-12-28 12:40:04: Network scan finished
info  2023-12-28 12:40:04: MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap', payload '{"data":{"routes":false,"type":"raw","value":{"links":[],"nodes":[{"definition":null,"failed":[],"friendlyName":"Coordinator","ieeeAddr":"0xb43522fffe015f1d","lastSeen":null,"networkAddress":0,"type":"Coordinator"}]}},"status":"ok","transaction":"v9y6e-1"}'
info  2023-12-28 12:40:14: Starting network scan (includeRoutes 'false')
info  2023-12-28 12:40:15: Network scan finished
info  2023-12-28 12:40:15: MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap', payload '{"data":{"routes":false,"type":"raw","value":{"links":[],"nodes":[{"definition":null,"failed":[],"friendlyName":"Coordinator","ieeeAddr":"0xb43522fffe015f1d","lastSeen":null,"networkAddress":0,"type":"Coordinator"}]}},"status":"ok","transaction":"v9y6e-2"}'
info  2023-12-28 12:41:16: Starting network scan (includeRoutes 'false')
info  2023-12-28 12:41:17: Network scan finished
info  2023-12-28 12:41:17: MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap', payload '{"data":{"routes":false,"type":"raw","value":{"links":[],"nodes":[{"definition":null,"failed":[],"friendlyName":"Coordinator","ieeeAddr":"0xb43522fffe015f1d","lastSeen":null,"networkAddress":0,"type":"Coordinator"}]}},"status":"ok","transaction":"v9y6e-3"}'
info  2023-12-28 12:42:21: Zigbee: allowing new devices to join.
info  2023-12-28 12:42:21: Successfully changed options
info  2023-12-28 12:42:21: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"v9y6e-4"}'
info  2023-12-28 12:42:31: Starting network scan (includeRoutes 'false')
info  2023-12-28 12:42:32: Network scan finished
info  2023-12-28 12:42:32: MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap', payload '{"data":{"routes":false,"type":"raw","value":{"links":[],"nodes":[{"definition":null,"failed":[],"friendlyName":"Coordinator","ieeeAddr":"0xb43522fffe015f1d","lastSeen":1703781741436,"networkAddress":0,"type":"Coordinator"}]}},"status":"ok","transaction":"v9y6e-5"}'
info  2023-12-28 12:42:34: Device '0xb43522fffea8706e' joined
info  2023-12-28 12:42:34: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xb43522fffea8706e","ieee_address":"0xb43522fffea8706e"},"type":"device_joined"}'
info  2023-12-28 12:42:34: Starting interview of '0xb43522fffea8706e'
info  2023-12-28 12:42:34: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xb43522fffea8706e","ieee_address":"0xb43522fffea8706e","status":"started"},"type":"device_interview"}'
info  2023-12-28 12:42:46: Successfully interviewed '0xb43522fffea8706e', device has successfully been paired
warn  2023-12-28 12:42:46: Device '0xb43522fffea8706e' with Zigbee model 'TRADFRI bulb E26 WW globe 800lm' and manufacturer name 'IKEA of Sweden' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
info  2023-12-28 12:42:46: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Automatically generated definition","exposes":[{"features":[{"access":7,"description":"On/off state of the switch","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"TRADFRI bulb E26 WW globe 800lm","options":[{"access":2,"description":"State actions will also be published as 'action' when true (default false).","label":"State action","name":"state_action","property":"state_action","type":"binary","value_off":false,"value_on":true}],"supports_ota":false,"vendor":"IKEA of Sweden"},"friendly_name":"0xb43522fffea8706e","ieee_address":"0xb43522fffea8706e","status":"successful","supported":false},"type":"device_interview"}'
info  2023-12-28 12:42:46: Configuring '0xb43522fffea8706e'
info  2023-12-28 12:42:46: MQTT publish: topic 'zigbee2mqtt/0xb43522fffea8706e', payload '{"linkquality":84,"state":"ON"}'
info  2023-12-28 12:42:46: Successfully configured '0xb43522fffea8706e'
heviiguy commented 7 months ago

Yeah, I also saw (belatedly) "Successfully configured '0xb43522fffea8706e'".

So, in spite of the zigbee2mqtt GUI showing me that the bulb is still unsupported (and doesn't present the proper graphic), I can finally toggle the bulb!!! There is, however, no option to dim the bulb. In any case, many, thanks, Koen.

Screenshot 2023-12-28 at 12 52 34

Koenkk commented 7 months ago

I did not merge it yet, will do it today

heviiguy commented 6 months ago

I've no idea what I'm doing incorrectly. In my instance, the bulbs are still "not supported"

I'm still running latest-dev, I've removed the devices, reconnected them and have even resorted to adding another unsupported.js file. This has all been fruitless. Whereas I can toggle the light, I have no ability to control brightness.

Any help will be most appreciated!

Koenkk commented 6 months ago

What zhc version shows up in frontend -> settings -> about? If it's below 18.11.0 you are not running the latest and need to update.

heviiguy commented 6 months ago

Thanks, Koen.

I'm on Zigbee-herdsman-converters version. 18.0.2 and z2m 1.34.0-dev commit: ffa4391 I've just done a docker pull on koenkk/zigbee2mqtt:latest-dev but it resulted in the same zhc version.

I'm unsure of how to update zhc alone. Can you please let me know how? 🙁

Koenkk commented 6 months ago

That's definitely not the latest, it should say 1.35.1-dev at least.

heviiguy commented 6 months ago

I assume the the issue is still on my end, right? If so, why do you think that I'm not able to pull 1.35.1-dev successfully?

Koenkk commented 6 months ago

Yes, maybe try removing the image before pulling?

heviiguy commented 6 months ago

Yip, that did it!. I've got full control of my bulbs now. Thanks, Koen!

Screenshot 2024-01-13 at 17 50 53 Screenshot 2024-01-13 at 17 54 23
heviiguy commented 6 months ago

Well this was strange (just as the docker pull not pulling the lastest image was "strange"); the icons are displaying correctly now and, the map has also calmed down and is showing the items correctly.

All is good! 😁

fynnstr commented 3 months ago

Another version of this bulb is around -> TRADFRI bulb E26 WW globe 806lm

Could support be added @Koenkk?

Screenshot 2024-04-10 at 16 58 24
fynnstr commented 3 months ago

Made it work with this external converter

const {identify, light} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['TRADFRI bulb E26 WW globe 806lm'],
    model: 'SUPL',
    vendor: 'IKEA',
    description: 'Automatically generated definition',
    extend: [identify(), light({"brightness":{"range":[0,254]}})],
    meta: {},
};

module.exports = definition;
Koenkk commented 3 months ago

Added!