Closed Kosta-Github closed 4 years ago
It seems that it returns no routes and therefore parsing fails. I would like to confirm this via sniffing (https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html), if that also shows no routes then I can implement a fix.
Can you make a sniff?
Unfortunately, I don't have a sniffer or flashing equipment at home right now. Is there something else I can help with even without a sniffer equipment?
if this is of any help, this is the generated network map from zigbee2mqtt
:
digraph G { node[shape=record]; "0x00124b001938c2db" [style="bold, filled", fillcolor="#e04e5d", fontcolor="#ffffff", label="{Coordinator|0x00124b001938c2db (0)|2020-05-02T17:26:21+02:00}"]; "0x00124b001938c2db" -> "0x7cb03eaa0a096775" [penwidth=0.5, weight=0, color="#994444", label="32"] "0x00124b001938c2db" -> "0x7cb03eaa0a09632f" [penwidth=0.5, weight=0, color="#994444", label="22"] "0x7cb03eaa0a096775" [style="rounded, filled", fillcolor="#4ea3e0", fontcolor="#ffffff", label="{plug_floor_2|0x7cb03eaa0a096775 (46477)failed: routingTable|OSRAM Smart+ plug (AB3257001NJ)|2020-05-02T17:24:28+02:00}"]; "0x7cb03eaa0a096775" -> "0x00124b001938c2db" [penwidth=2, weight=1, color="#009900", label="14 (routes: 7910,46477)"] "0x7cb03eaa0a096775" -> "0x7cb03eaa0a09632f" [penwidth=0.5, weight=0, color="#994444", label="38"] "0x7cb03eaa0a09632f" [style="rounded, filled", fillcolor="#4ea3e0", fontcolor="#ffffff", label="{plug_floor_1|0x7cb03eaa0a09632f (55401)failed: routingTable|OSRAM Smart+ plug (AB3257001NJ)|2020-05-02T17:24:05+02:00}"]; "0x7cb03eaa0a09632f" -> "0x00124b001938c2db" [penwidth=2, weight=1, color="#009900", label="1 (routes: 55401,27305,63138,48966,30519,45079)"] "0x7cb03eaa0a09632f" -> "0x7cb03eaa0a096775" [penwidth=0.5, weight=0, color="#994444", label="36"] "0x000d6f000fbd86a6" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_floor_1|0x000d6f000fbd86a6 (48966)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:23:33+02:00}"]; "0x000d6f000fbd86a6" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="56"] "0x000d6f000f842ec2" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_floor_2|0x000d6f000f842ec2 (63138)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:22:31+02:00}"]; "0x000d6f000f842ec2" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="54"] "0x000d6f000fbd9774" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_bad_2_og|0x000d6f000fbd9774 (30519)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:22:31+02:00}"]; "0x000d6f000fbd9774" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="48"] "0x000d6f000f77e5ed" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_fitness|0x000d6f000f77e5ed (17058)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:18:56+02:00}"]; "0x000d6f000f77e5ed" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="46"] "0x000d6f000fbf9c4e" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_guest|0x000d6f000fbf9c4e (7910)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:21:40+02:00}"]; "0x000d6f000fbf9c4e" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="38"] "0x000d6f000fbf71b2" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_schlafzimmer|0x000d6f000fbf71b2 (47337)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:10:16+02:00}"]; "0x000d6f000fbf71b2" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="68"] "0x000d6f000fbf92e4" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_floor_0|0x000d6f000fbf92e4 (45079)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:26:01+02:00}"]; "0x000d6f000fbf92e4" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="34"] "0x000d6f000fbf91b0" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{motion_bad_1_og|0x000d6f000fbf91b0 (27305)|OSRAM SMART+ Motion Sensor (AC01353010G)|2020-05-02T17:23:28+02:00}"]; "0x000d6f000fbf91b0" -> "0x7cb03eaa0a09632f" [penwidth=1, weight=0, color="#994444", label="64"] }
I can ignore this case but that wont really help much (dont know if Im doing the correct thing). Anyway I dont expect much benefit from fixing this, after it the routing table will still be empty as the device returns an empty one.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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.
The corresponding pcap-ng file is for this part of 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 ***
}
Today I received two Osram Smart+ plugs. Both work fine, but I get the same failed: routingtable error with these devices. Any idea? Running zigbee2mqtt v1.14.3
To be honest, it looks like the OSRAM smart plugs are crappy; I replaced them all by Innr SmartPlugs a couple of weeks/months ago and those are working flawlessly since then without a single hic-up...
I understand, but the Osram ones costed me only 11 euros each :-D
but you get what you pay for... really, I tried them for a couple of weeks and just nothing worked reliably: I spent so many hours re-pairing all my sensors again and again; since switching to Innr
no more re-pairing sessions...
It seems that it returns no routes and therefore parsing fails. I would like to confirm this via sniffing (https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html), if that also shows no routes then I can implement a fix.
Can you make a sniff?
I've done it on my side: https://github.com/Koenkk/zigbee-herdsman/issues/204 If you need more, I will be happy to help debug.
Anything new on this?
@docbobo it's an issue in the firmwares of the plugs (see https://github.com/Koenkk/zigbee-herdsman/issues/204#issuecomment-687760554)
Thanks, @Koenkk
I am getting the following out-of-bounds errors when doing a routing request via zigbee2mqtt
zigbee2mqtt/bridge/networkmap/routes
for my 2 Osram Smart+ plugssee: https://github.com/Koenkk/zigbee2mqtt/issues/3455