When I power up my z-uno board, it looks my sketch doesn't automatically start.
The Z-Wave layer appears to boot though: operation green led lights up and one of the following messages are received from controller:
Code: Select all
[2019-10-20 10:54:16.712] [D] [zway1] RECEIVED: ( 01 09 00 04 00 0E 03 80 03 FF 83 )
[2019-10-20 10:54:16.712] [D] [zway1] SENT ACK
[2019-10-20 10:54:16.713] [D] [zway1] SETDATA devices.14.data.lastReceived = 0 (0x00000000)
[2019-10-20 10:54:16.713] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.history.0 = Empty
[2019-10-20 10:54:16.714] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.history.0 = 1571561656 (0x5dac20b8)
[2019-10-20 10:54:16.714] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.last = 0 (0x00000000)
[2019-10-20 10:54:16.873] [I] [core] Notification: warning (battery): Attention! Device is low battery >:> Z-Wave.Me Battery (#14)
[2019-10-20 10:55:35.661] [D] [zway1] RECEIVED: ( 01 09 00 04 00 0E 03 80 03 FF 83 )
[2019-10-20 10:55:35.662] [D] [zway1] SENT ACK
[2019-10-20 10:55:35.662] [D] [zway1] SETDATA devices.14.data.lastReceived = 0 (0x00000000)
[2019-10-20 10:55:35.663] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.history.0 = 1571561735 (0x5dac2107)
[2019-10-20 10:55:35.663] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.last = 0 (0x00000000)
[2019-10-20 10:56:37.756] [D] [zway1] RECEIVED: ( 01 09 00 04 00 0E 03 80 03 64 18 )
[2019-10-20 10:56:37.756] [D] [zway1] SENT ACK
[2019-10-20 10:56:37.757] [D] [zway1] SETDATA devices.14.data.lastReceived = 0 (0x00000000)
[2019-10-20 10:56:37.757] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.lastChange = 1571561797 (0x5dac2145)
[2019-10-20 10:56:37.757] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.history = Empty
[2019-10-20 10:56:37.758] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.history.100 = Empty
[2019-10-20 10:56:37.758] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.history.100 = 1571561797 (0x5dac2145)
[2019-10-20 10:56:37.758] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.128.data.last = 100 (0x00000064)
But the board consumption stays at ~60mA and nothing happen.
However, it appears the node is responsive to incoming messages, because it answers to requests.
To actually start my sketch, I have no choice to force a message to the node (eg. get parameter or get battery).
Code: Select all
[2019-10-20 10:57:49.430] [I] [zway1] Adding job: Configuration Get
[2019-10-20 10:57:49.437] [D] [zway1] SENDING (cb 0x33): ( 01 0A 00 13 0E 03 70 05 40 05 33 E8 )
[2019-10-20 10:57:49.438] [D] [zway1] RECEIVED ACK
[2019-10-20 10:57:49.447] [D] [zway1] RECEIVED: ( 01 04 01 13 01 E8 )
[2019-10-20 10:57:49.447] [D] [zway1] SENT ACK
[2019-10-20 10:57:49.447] [D] [zway1] Delivered to Z-Wave stack
[2019-10-20 10:57:54.250] [D] [zway1] RECEIVED: ( 01 07 00 13 33 00 01 E1 38 )
[2019-10-20 10:57:54.250] [D] [zway1] SENT ACK
[2019-10-20 10:57:54.250] [I] [zway1] Job 0x13 (Configuration Get): Delivered
[2019-10-20 10:57:54.251] [D] [zway1] SendData Response with callback 0x33 received: received by recipient
[2019-10-20 10:57:54.251] [D] [zway1] SETDATA devices.14.data.lastSendInternal = **********
[2019-10-20 10:57:54.251] [D] [zway1] SETDATA devices.14.data.lastSend = 116522420 (0x06f1fdb4)
[2019-10-20 10:57:54.251] [D] [zway1] Job 0x13 (Configuration Get): success
[2019-10-20 10:57:54.251] [I] [zway1] Waiting for job reply: Configuration Get
[2019-10-20 10:57:54.265] [D] [zway1] RECEIVED: ( 01 0C 00 04 00 0E 06 70 06 40 02 01 2C E6 )
[2019-10-20 10:57:54.265] [D] [zway1] SENT ACK
[2019-10-20 10:57:54.266] [D] [zway1] SETDATA devices.14.data.lastReceived = 0 (0x00000000)
[2019-10-20 10:57:54.266] [D] [zway1] Received reply on job (Configuration Get)
[2019-10-20 10:57:54.266] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.112.data.64.size = 2 (0x00000002)
[2019-10-20 10:57:54.266] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.112.data.64.val = 300 (0x0000012c)
[2019-10-20 10:57:54.266] [D] [zway1] SETDATA devices.14.instances.0.commandClasses.112.data.64 = Empty
[2019-10-20 10:57:54.266] [I] [zway1] Node 14:0 CC Configuration: Parameter 0x40 = 300 (size = 2)
[2019-10-20 10:57:56.367] [D] [zway1] Job 0x13: deleted from queue
Note that the wake up service button (three times press) does nothing, neither a press on the reset button.
I attached my sketch to the thread.