Lightscene feature request

Discussions about RaZberry - Z-Wave board for Raspberry computer
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: Lightscene feature request

Post by PoltoS »

10 is an internal ID of the module. not sure. There should be and obvious typo somewhere. Can you show stacktrace from the log?
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Lightscene feature request

Post by pz1 »

PoltoS wrote:10 is an internal ID of the module. not sure. There should be and obvious typo somewhere. Can you show stacktrace from the log?
Here are a couple of lines before and after the warning:

Code: Select all

[2014-06-24 18:12:19.638] Delivered to Z-Wave stack
[2014-06-24 18:12:19.648] RECEIVED: ( 01 05 00 13 58 00 B1 )
[2014-06-24 18:12:19.649] SENT ACK
[2014-06-24 18:12:19.649] Job 0x13 (SensorMultilevel V1-4 Get): Delivered
[2014-06-24 18:12:19.650] SETDATA devices.21.data.lastPacketInfo.delivered = True
[2014-06-24 18:12:19.650] SETDATA devices.21.data.lastPacketInfo.packetLength = 9 (0x00000009)
[2014-06-24 18:12:19.651] SETDATA devices.21.data.lastPacketInfo.deliveryTime = 11 (0x0000000b)
[2014-06-24 18:12:19.652] SETDATA devices.21.data.lastPacketInfo = **********
[2014-06-24 18:12:19.652] SendData Response with callback 0x58 received: received by recipient
[2014-06-24 18:12:19.652] SETDATA devices.21.data.lastSend = 2004028 (0x001e943c)
[2014-06-24 18:12:19.653] Job 0x13 (SensorMultilevel V1-4 Get): success
[2014-06-24 18:12:19.653] Removing job: SensorMultilevel V1-4 Get
[2014-06-24 18:12:19.664] RECEIVED: ( 01 12 00 04 00 15 0C 60 0D 05 01 31 05 01 44 00 00 08 59 B9 )
[2014-06-24 18:12:19.665] SENT ACK
[2014-06-24 18:12:19.665] SETDATA devices.21.data.lastReceived = 0 (0x00000000)
[2014-06-24 18:12:19.666] SETDATA devices.21.instances.5.commandClasses.49.data.1.deviceScale = 0 (0x00000000)
[2014-06-24 18:12:19.667] SETDATA devices.21.instances.5.commandClasses.49.data.1.scale = 0 (0x00000000)
[2014-06-24 18:12:19.667] SETDATA devices.21.instances.5.commandClasses.49.data.1.val = 21.370001
[2014-06-24 18:12:19.671] SETDATA devices.21.instances.5.commandClasses.49.data.1.scaleString = "°C"
[2014-06-24 18:12:19.671] SETDATA devices.21.instances.5.commandClasses.49.data.1 = Empty
[2014-06-24 18:12:20.109] Executing script: OpenRemote("/SwitchBinaryStatus/4/0", { ...
[2014-06-24 18:12:20.176] Executing script: OpenRemote("/SensorBinaryStatus/21/1/1", { ...
[2014-06-24 18:12:20.473] Executing script: api("/v1/instances/10", { ...
[2014-06-24 18:12:20.544] Notification: error (core): Can not stop module 10: TypeError: Cannot read property 'change:metrics:level' of undefined
[2014-06-24 18:12:20.654] TypeError: Cannot read property 'change:metrics:level' of undefined
    at EventEmitter.off (automation/lib/eventemitter2.js:428:24)
    at LogicalRules.attachDetach (automation/modules/LogicalRules/index.js:101:14)
    at automation/modules/LogicalRules/index.js:65:18
    at Array.forEach (native)
    at LogicalRules.stop (automation/modules/LogicalRules/index.js:63:23)
    at AutomationController.stopInstance (automation/classes/AutomationController.js:318:18)
    at AutomationController.reconfigureInstance (automation/classes/AutomationController.js:338:14)
    at ZAutomationAPIWebRequest.<anonymous> (automation/webserver.js:542:44)
    at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/request.js:241:30)
    at automation/request.js:31:35
[2014-06-24 18:12:20.662] --- Starting module Logical rules
[2014-06-24 18:12:20.736] Executing script: zway.devices[11].instances[0].NodeNaming.data.nodename.value
[2014-06-24 18:12:20.740] Executing script: MeterElectricLevel(12,0,0)
[2014-06-24 18:12:20.745] Adding job: Meter get (v2)
[2014-06-24 18:12:20.745] Adding job: Meter get (v2)
[2014-06-24 18:12:20.751] Executing script: api("/v1/notifications", { ...
[2014-06-24 18:12:20.755] SENDING (cb 0x59): [2014-06-24 18:12:20.765] Executing script: api("/v1/devices", { ...
( 01 0A 00 13 0C 03 32 01 00 25 59 A6 )
[2014-06-24 18:12:20.766] RECEIVED ACK
[2014-06-24 18:12:20.776] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-06-24 18:12:20.777] SENT ACK
[2014-06-24 18:12:20.778] Delivered to Z-Wave stack
[2014-06-24 18:12:20.786] Executing script: api("/v1/devices", { ...
[2014-06-24 18:12:20.807] Executing script: api("/v1/devices", { ...
[2014-06-24 18:12:20.846] Executing script: OpenRemote("/SwitchBinaryStatus/5/1", { ...
[2014-06-24 18:12:20.880] RECEIVED: ( 01 05 00 13 59 00 B0 )
[2014-06-24 18:12:20.880] SENT ACK
[2014-06-24 18:12:20.881] Job 0x13 (Meter get (v2)): Delivered
[2014-06-24 18:12:20.881] SETDATA devices.12.data.lastPacketInfo.delivered = True
[2014-06-24 18:12:20.882] SETDATA devices.12.data.lastPacketInfo.packetLength = 6 (0x00000006)
[2014-06-24 18:12:20.882] SETDATA devices.12.data.lastPacketInfo.deliveryTime = 103 (0x00000067)
[2014-06-24 18:12:20.882] SETDATA devices.12.data.lastPacketInfo = **********
[2014-06-24 18:12:20.883] SendData Response with callback 0x59 received: received by recipient
[2014-06-24 18:12:20.883] SETDATA devices.12.data.lastSend = 2004135 (0x001e94a7)
Since 29-12-2016 I am no longer a moderator for this forum
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: Lightscene feature request

Post by PoltoS »

strange. how to reproduce it?
Post Reply