Koenkk / zigbee-herdsman

A Node.js Zigbee library
MIT License
456 stars 277 forks source link

Failed to execute routing table for OSRAM Smart+ Plug #204

Closed zen2 closed 3 years ago

zen2 commented 3 years ago

Following the closed issue #https://github.com/Koenkk/zigbee-herdsman/issues/170

I got accuratelly the same issue with the same device. Since I recently migrate from CC2531 to CC1352-P2 coordinator I have sniffed traffic with CC2531.

zigbee2mqtt log:

info 2020-08-06 14:12:58: Starting network scan (includeRoutes 'true') error 2020-08-06 14:13:15: Failed to execute routing table for 'plug.aquarium_light' info 2020-08-06 14:13:27: Network scan finished info 2020-08-06 14:13:27: MQTT publish: topic 'zigbee2mqtt/bridge/networkmap/graphviz', payload 'digraph G { full graph here but no copy/pasted because it's really long for 51 devices }

sniffer pcpapng file:

zb-network-scan_osram-route-table-error.pcapng.gz

Koenkk commented 3 years ago

Please provide the following:

zen2 commented 3 years ago

I got this in database.db:

{"id":14,"type":"Router","ieeeAddr":"0x7cb03eaa00a75f11","nwkAddr":31560,"manufId":48042,"manufName":"OSRAM","powerSource":"Mains (single phase)","modelId":"Plug 01","epList":[3],"endpoints":{"3":{"profId":49246,"epId":3,"devId":16,"inClusterList":[4096,0,3,4,5,6,2820,64527],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"Plug 01","manufacturerName":"OSRAM","powerSource":1,"zclVersion":1,"appVersion":9,"stackVersion":2,"hwVersion":1,"dateCode":"20140331DEOS****","swBuildId":"V1.05.09"}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001ca1af6c","endpointID":1}]}},"appVersion":9,"stackVersion":2,"hwVersion":1,"dateCode":"20140331DEOS****","swBuildId":"V1.05.09","zclVersion":1,"interviewCompleted":true,"meta":{"configured":1},"lastSeen":1599118380813}

I've added you on telegram but it seems that I need to be in your contact to send message. So @Zentoo.

Koenkk commented 3 years ago

Is this you? image

zen2 commented 3 years ago

Is this you?

No ! at all ! I'm new on telegram so I've create my t.me name only yesterday evening: @Zento0 (zero at end).

Koenkk commented 3 years ago

I've checked your sniff and found the issue. The OSRAM plug sends a corrupted response:

image

Not something that we can fix unfortunately (have to be fixed in the device firmware by OSRAM)

tbludau commented 3 years ago

There are some solutions described in the net that an older firmware could fix the problem. Is there a way to downgrade the OSRAM Smart Plugs? (But i'm not really sure, if this will work) I'm using V1.05.11 from the smart Gateway and think i have the same problems. (For a longer time)

zen2 commented 3 years ago

How could I know the firmware version of the device ?

tbludau commented 3 years ago

@zen2 this is your firmware version: "swBuildId":"V1.05.09"

zen2 commented 3 years ago

Ho I figure out, I need to RTFM ^^ I got this firmware revision V1.04.12

zen2 commented 3 years ago

@zen2 this is your firmware version: "swBuildId":"V1.05.09"

Actually I've two OSRAM plug installed that I bough as a pack of 4 and I got two different firmware version:

tbludau commented 3 years ago

I've mailed yesterday night the ledvance support and mentioned this ticket about there firmware problem. If i will get an answer i will give some additional informations

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days