Zwave: Errors in ZIP Gateway log


#1

Hi,
I’m trying to get Zwave working but got errors in my Z/IP Gateway log after following the steps at: https://github.com/matrix-io/matrix-malos-zwave.

Errors:

  • Lots of these: Module returns a bad node ID! Resetting module (255)
  • And these: ****************** CRC ERROR *********************** SerialAPI: Unexpected receive state! conFrameErr
  • One warning which seems bad: Giving up retrying to create virtual node
  • And at the end: The source of this is package is not a Z-Wave node dropping followed by Attempt to set flag of non existing node = 1

Whole log output at the end of this post.

Although I got these errors the gateway seems to be running and I can connect to it using the reference_client but any attempt to add a node fails. avahi-browse _z-wave._udp also isn’t returning anything. Even the controller itself is not listed.

Did anyone have the same issues or know what causes the error messages?

Thanks for your help!
David


Log output:

354812 Opening config file /usr/local/etc/zipgateway.cfg
Starting Contiki
Opening eeprom file /usr/local/var/lib/zipgateway/eeprom.dat
Lan device tap1
LAN HW addr 3A:8F:B6:C5:B3:95
354814 Starting zipgateway ver2_61 build ver2_61
354814 Resetting ZIP Gateway
354814 Using serial port /dev/ttyMATRIX0
SerialAPI: Serial API version     : 5.34
354892 500 series chip version 0
354895 I'am SUC
354898 Module returns a bad node ID! Resetting module (255)355322 Key  class  80
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
355334 Key  class  1
FF08FFFFFFFFFFFFFFFFFFFFFFFFFFFF
355344 Key  class  2
FF20FFFFFFFFFFFFFFFFFFFFFFFFFFFF
355352 Key  class  4
FF00FFFFFFFFFFFFFFFFFFFFFFFFFFFF
355356 Network shceme is:355356 S2 ACCESS
355359 Resetting IMA
355359 I'm a primary or inclusion controller.
355359 Command classes updated
355362  nodeid=1 0
355362 Checking for new sessions
355362 We should send a discover
355371 Waiting for bridge
355383 Version: Z-Wave 4.61, type 7
355392 Module returns a bad node ID! Resetting module (255)355690 ................. the  version 0 ...............355694 Writing new MAC addr
355720 Module returns a bad node ID! Resetting module (255)355997 Reinitializing network key
356004 Setting scheme 1
356034 Key  class  80
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
356047 Key  class  1
FF08FFFFFFFFFFFFFFFFFFFFFFFFFFFF
356057 Key  class  2
FF20FFFFFFFFFFFFFFFFFFFFFFFFFFFF
356067 Key  class  4
FF00FFFFFFFFFFFFFFFFFFFFFFFFFFFF
356068 Creating new network keys
C0274787D6028669583A8A1E883AFEF5
358303 ****************** CRC ERROR ***********************
SerialAPI: Unexpected receive state! conFrameErr
E1821E9B8A3601E1213172B5175733B2
A2ABF046BB368E2969636A9B9B47D0A0
358368 Entering new network
358384 Creating new network keys
359484 ****************** CRC ERROR ***********************
SerialAPI: Unexpected receive state! conFrameErr
FE0CCE883C1D9A2ED95693AAC3D4759D
360650 ****************** CRC ERROR ***********************
SerialAPI: Unexpected receive state! conFrameErr
2CCCA06F9473846750C43901E160949B
362946 ****************** CRC ERROR ***********************
SerialAPI: Unexpected receive state! conFrameErr
733D2205D92244A3B67A30A70F3D07A7
362967 NVM version is 65535
362971 L2 HW addr ff:ff:ff:ff:ff:ff
362971
362971 ZIP_Router_Reset: pan_lladdr: ff:ff:ff:ff:00:01  Home ID = 0xffffffff
362972 Tunnel prefix ::
362972
362972 Lan address fd00:aaaa::03
362972
362972 Han address fd00:bbbb::01
362972
362972 Gateway address fd00:aaaa::1234
362972
362972 Unsolicited address fd00:aaaa::1234
362972
dynamic
ECDH Public key is
53162-19809-32291-22947-
09573-06381-62164-35128-
29131-53441-47263-51161-
38225-34055-10591-18452-
363192 DTLS server started
363192 mDNS server started
363192 DHCP client started
363192 Starting zip tcp client
363192 ZIP TCP Client Started.
363192 No portal host defined. Running without portal.
363192 Reformatting eeprom
363194 DHCP client started
fd00:bbbb::01

fe80::fdff:ffff:feff:ffff

fd00:aaaa::03

365072 Comming up
temp_assoc_virtual_nodeids (0): 0 0 0 ... 0
365154 virtual_nodeid_init_count: 0
365157 Creating virtual node
1784
366164 Creating virtual node
tcpip_ipv6_output: nbr cache entry stale moving to delay
367171 Creating virtual node
368179 Creating virtual node
369186 Creating virtual node
370195 Creating virtual node
1784
370200 ****************** CRC ERROR ***********************
SerialAPI: Unexpected receive state! conFrameErr
371203 Creating virtual node
372210 Creating virtual node
373217 Creating virtual node
374225 Creating virtual node
1784
375232 Giving up retrying to create virtual node375233 Bridge init done
375236 Module returns a bad node ID! Resetting module (255)375238 HomeID is ffffffff node id 1
375563  nodeid=1 0
375563 Network has node 1
375564  nodeid=2 0
375564 Network has node 2
375564  nodeid=3 0
375564 Network has node 3
375564  nodeid=4 0
375564 Network has node 4
375564  nodeid=5 0
375564 Network has node 5
375564  nodeid=6 0
375564 Network has node 6
375564  nodeid=7 0
375564 Network has node 7
375564  nodeid=8 0
....
....
375571 Network has node 230
375571  nodeid=231 0
375571 Network has node 231
375571  nodeid=232 0
375571 Removing node 1 0x12ab920
375571  The source of this is package is not a Z-Wave node dropping

Assertion failed: file /drone/src/bitbucket.org/admobilize/zipgateway/src/ResourceDirectory.c, line 1333.
375571 Resource directory init done
375575 Attempt to set flag of non existing node = 1
375638 NM Init
375638 update flag 4 5