Closed FabienTregan closed 3 years ago
I added some trace before line 115 there:
https://github.com/kabbi/zigbee2mqtt-adapter/blob/f4ff4c0dfec825fd132fbb7ccc21e54ebba25644/zigbee2mqtt-adapter.js#L112-L116
and it seemd that Z2M send modelID
when 'modelId` is expected.:
2019-12-18 00:13:55.476 ERROR : zigbee2mqtt: Ignoring unkown device {
2019-12-18 00:13:55.477 ERROR : zigbee2mqtt: ieeeAddr: '0x14b457fffe487b91',
2019-12-18 00:13:55.478 ERROR : zigbee2mqtt: type: 'Router',
2019-12-18 00:13:55.478 ERROR : zigbee2mqtt: networkAddress: 64343,
2019-12-18 00:13:55.479 ERROR : zigbee2mqtt: model: 'LED1537R6',
2019-12-18 00:13:55.479 ERROR : zigbee2mqtt: friendly_name: 'n10',
2019-12-18 00:13:55.480 ERROR : zigbee2mqtt: manufacturerID: 4476,
2019-12-18 00:13:55.480 ERROR : zigbee2mqtt: manufacturerName: 'IKEA of Sweden',
2019-12-18 00:13:55.480 ERROR : zigbee2mqtt: powerSource: 'Mains (single phase)',
2019-12-18 00:13:55.481 ERROR : zigbee2mqtt: modelID: 'TRADFRI bulb GU10 WS 400lm',
2019-12-18 00:13:55.481 ERROR : zigbee2mqtt: hardwareVersion: 1,
2019-12-18 00:13:55.482 ERROR : zigbee2mqtt: softwareBuildID: '2.0.022',
2019-12-18 00:13:55.482 ERROR : zigbee2mqtt: dateCode: '20190308',
2019-12-18 00:13:55.483 ERROR : zigbee2mqtt: lastSeen: null
2019-12-18 00:13:55.484 ERROR : zigbee2mqtt: }
Ok, replacing modelId
with modelID
line 113 fixed it !
I will add the bulb to the devices list
Hi. I try to add new device (ikea tradfri spot).
I think the addons runs well in webthings:
the answer does contains some bulbs that I am trying to add:
(note: device needs to have
/
in itsfriend_name
because that makes my node red flows way easier to maintain, but is this compatible with https://github.com/kabbi/zigbee2mqtt-adapter/blob/2de28e5e76965f360eb1aa3f27adb62f717ebdc3/zigbee2mqtt-adapter.js#L71 ?) So I added the following indevices.js
:but when I try to add device, the bulbs are not found:
Did I use the wrong name? Am I forced to factory request all my devicesand repair them from WebThings ? I also tryed with
TRADFRI bulb GU10 WS 400lm
as name. I don't have supported devices to test withthem.