Thermostat Updated twice

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
ridewithstyle
Posts: 155
Joined: 02 Jan 2016 01:20

Thermostat Updated twice

Post by ridewithstyle »

Hi there,

I set up an easyscripting to get triggered by an update to a thermostat setpoint. Now I can see that every time the thermostat gets updated, the script gets triggered twice.

Code: Select all

[2020-11-04 16:40:45.977] [I] [core] ---  ZWayVDev_zway_50-0-67-1 performCommand processing: {"0":"exact","1":{"level":"19.5"}}
[2020-11-04 16:40:45.979] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1.setVal = 19.500000
[2020-11-04 16:40:45.979] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1 = Empty
[2020-11-04 16:40:45.979] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.status = Empty
[2020-11-04 16:40:45.979] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.duration = Empty
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.moreStatusUpdates = Empty
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.lastEvent = Empty
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.status = 255 (0x000000ff)
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.duration = 0 (0x00000000)
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.moreStatusUpdates = False
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.lastEvent = 24066 (0x00005e02)
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1 = Empty
[2020-11-04 16:40:45.980] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.lastSession = 1 (0x00000001)
[2020-11-04 16:40:45.980] [I] [zway] Using security scheme S0
[2020-11-04 16:40:45.981] [I] [zway] Adding job: ThermostatSetPoint Set
[2020-11-04 16:40:45.981] [C] [zway] Job is already marked as waiting for reply, Supervision overrides it - check encapsulated packet not to be a Get
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2 = Empty
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.status = Empty
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.duration = Empty
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.moreStatusUpdates = Empty
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.lastEvent = Empty
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.status = 255 (0x000000ff)
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.duration = 0 (0x00000000)
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.moreStatusUpdates = False
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.lastEvent = 24066 (0x00005e02)
[2020-11-04 16:40:45.982] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2 = Empty
[2020-11-04 16:40:45.983] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.lastSession = 2 (0x00000002)
[2020-11-04 16:40:45.983] [I] [zway] Using security scheme S0
[2020-11-04 16:40:45.983] [I] [zway] Adding job: ThermostatMode Set
[2020-11-04 16:40:45.983] [C] [zway] Job is already marked as waiting for reply, Supervision overrides it - check encapsulated packet not to be a Get
[2020-11-04 16:40:45.987] [I] [zway] Node 50:0 CC Security: sending Nonce Get
[2020-11-04 16:40:45.987] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2020-11-04 16:40:45.987] [I] [zway] Adding job: Nonce Get
[2020-11-04 16:40:45.988] [D] [zway] SETDATA devices.50.data.lastNonceGet = 24066 (0x00005e02)
[2020-11-04 16:40:45.997] [I] [core] Notification: device-info (device-status): {"dev":"Bad Thermostat Soll","l":"19.5 °C","location":15}
[2020-11-04 16:40:45.999] [D] [zway] SENDING (cb 0x18): ( 01 09 00 13 32 02 98 40 05 18 10 )
[2020-11-04 16:40:46.001] [D] [zway] RECEIVED ACK
[2020-11-04 16:40:46.004] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-11-04 16:40:46.004] [D] [zway] SENT ACK
[2020-11-04 16:40:46.004] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:46.005] [I] [core] EasyScripting Thermostat Target Changed Reporter started
[2020-11-04 16:40:46.006] [I] [core] ---  NotificationSend_231 performCommand processing: {"0":"on"}
[2020-11-04 16:40:46.010] [I] [core] (Mobile App Support) send notification: "Thermostat Soll Update"
[2020-11-04 16:40:46.019] [I] [core] Notification: device-info (device-OnOff): {"dev":"Notification Thermostat Update","l":"on","location":""}
[2020-11-04 16:40:46.151] [I] [core] EasyScripting Thermostat Target Changed Reporter ended
[2020-11-04 16:40:46.280] [I] [core] [BaseModule-21] Set lastLevel to 19.5 for ZWayVDev_zway_50-0-67-1 (was 19)
[2020-11-04 16:40:46.495] [I] [core] (Mobile App Support) Notification sent
[2020-11-04 16:40:47.435] [D] [zway] RECEIVED: ( 01 18 00 13 18 00 00 8E 01 CA 7F 7F 7F 7F 01 01 03 1C 00 00 00 02 02 1C 32 98 )
[2020-11-04 16:40:47.436] [D] [zway] SENT ACK
[2020-11-04 16:40:47.436] [I] [zway] Job 0x13 (Nonce Get): Delivered
[2020-11-04 16:40:47.436] [D] [zway] SendData Response with callback 0x18 received: received by recipient
[2020-11-04 16:40:47.436] [D] [zway] SETDATA devices.50.data.lastSendInternal = **********
[2020-11-04 16:40:47.436] [D] [zway] SETDATA devices.50.data.lastSend = 24205 (0x00005e8d)
[2020-11-04 16:40:47.437] [D] [zway] Job 0x13 (Nonce Get): success
[2020-11-04 16:40:47.437] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2020-11-04 16:40:47.437] [D] [zway] SETDATA devices.50.data.lastNonceGet = 24205 (0x00005e8d)
[2020-11-04 16:40:47.437] [I] [zway] Waiting for job reply: Nonce Get
[2020-11-04 16:40:47.508] [D] [zway] RECEIVED: ( 01 14 00 04 00 32 0A 98 80 9C CE E1 C5 91 2D 40 9B CA 00 01 1C 09 )
[2020-11-04 16:40:47.508] [D] [zway] SENT ACK
[2020-11-04 16:40:47.509] [D] [zway] SETDATA devices.50.data.lastReceived = 0 (0x00000000)
[2020-11-04 16:40:47.509] [D] [zway] Received reply on job (Nonce Get)
[2020-11-04 16:40:47.509] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2020-11-04 16:40:47.509] [D] [zway] SETDATA devices.50.data.lastNonceGet = 24212 (0x00005e94)
[2020-11-04 16:40:47.509] [I] [zway] Node 50:0 CC Security: received Nonce Report
[2020-11-04 16:40:47.509] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonce = **********
[2020-11-04 16:40:47.510] [I] [zway] Node 50:0 CC Security: Sending a secure message
[2020-11-04 16:40:47.510] [I] [zway] Node 50:0 CC Security: sending encrypted packet: ThermostatSetPoint Set
[2020-11-04 16:40:47.510] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.toFollow = False
[2020-11-04 16:40:47.510] [D] [zway] SETDATA devices.50.data.lastNonceGet = Empty
[2020-11-04 16:40:47.510] [I] [zway] Adding job: Security, ThermostatSetPoint Set
[2020-11-04 16:40:47.511] [I] [zway] Node 50:0 CC Security: sending Nonce Get
[2020-11-04 16:40:47.511] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2020-11-04 16:40:47.511] [I] [zway] Adding job: Nonce Get
[2020-11-04 16:40:47.511] [D] [zway] SETDATA devices.50.data.lastNonceGet = 24212 (0x00005e94)
[2020-11-04 16:40:47.511] [D] [zway] SENDING (cb 0x19): ( 01 25 00 13 32 1E 98 81 1F 43 E8 7F 1D BD 40 F0 94 B8 CE 20 AF E7 1A 0F CF 67 90 9C 1F 12 69 8D A2 9F 2B FF 05 19 00 )
[2020-11-04 16:40:47.512] [D] [zway] Secure payload: ( 6C 01 81 06 43 01 01 22 00 C3 )
[2020-11-04 16:40:47.518] [D] [zway] RECEIVED ACK
[2020-11-04 16:40:47.521] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-11-04 16:40:47.521] [D] [zway] SENT ACK
[2020-11-04 16:40:47.521] [I] [zway] Job 0x13 (Security, ThermostatSetPoint Set): Response received - transfered to encapsulated jobs
[2020-11-04 16:40:47.521] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:47.521] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:47.653] [D] [zway] RECEIVED: ( 01 18 00 13 19 00 00 0D 01 D0 7F 7F 7F 7F 01 01 03 1C 00 00 00 02 01 00 00 2D )
[2020-11-04 16:40:47.653] [D] [zway] SENT ACK
[2020-11-04 16:40:47.653] [I] [zway] Job 0x13 (Security, ThermostatSetPoint Set): Callback received - transfered to encapsulated jobs
[2020-11-04 16:40:47.653] [I] [zway] Job 0x13 (ThermostatSetPoint Set): Delivered
[2020-11-04 16:40:47.653] [D] [zway] SendData Response with callback 0x19 received: received by recipient
[2020-11-04 16:40:47.654] [D] [zway] Job 0x13 (ThermostatSetPoint Set): success
[2020-11-04 16:40:47.654] [I] [zway] Waiting for job reply: ThermostatSetPoint Set
[2020-11-04 16:40:47.654] [I] [zway] Job 0x13 (Security, ThermostatSetPoint Set): Delivered
[2020-11-04 16:40:47.654] [D] [zway] SendData Response with callback 0x19 received: received by recipient
[2020-11-04 16:40:47.654] [D] [zway] SETDATA devices.50.data.lastSendInternal = **********
[2020-11-04 16:40:47.655] [D] [zway] SETDATA devices.50.data.lastSend = 24226 (0x00005ea2)
[2020-11-04 16:40:47.655] [D] [zway] Job 0x13 (Security, ThermostatSetPoint Set): success
[2020-11-04 16:40:47.655] [I] [zway] Removing job: Security, ThermostatSetPoint Set
[2020-11-04 16:40:47.734] [D] [zway] RECEIVED: ( 01 0C 00 04 00 32 02 98 40 CA 00 01 1C C8 )
[2020-11-04 16:40:47.734] [D] [zway] SENT ACK
[2020-11-04 16:40:47.735] [D] [zway] SETDATA devices.50.data.lastReceived = 0 (0x00000000)
[2020-11-04 16:40:47.735] [I] [zway] Node 50:0 CC Security: sending Nonce Report
[2020-11-04 16:40:47.735] [I] [zway] Adding job: Nonce Report
[2020-11-04 16:40:47.736] [D] [zway] SENDING (cb 0x1a): ( 01 11 00 13 32 0A 98 80 ED 4A 80 AC C9 C6 65 91 05 1A B2 )
[2020-11-04 16:40:47.744] [D] [zway] RECEIVED ACK
[2020-11-04 16:40:47.744] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-11-04 16:40:47.745] [D] [zway] SENT ACK
[2020-11-04 16:40:47.745] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:47.879] [D] [zway] RECEIVED: ( 01 18 00 13 1A 00 00 0E 01 CA 7F 7F 7F 7F 01 01 03 1C 00 00 00 02 01 00 00 37 )
[2020-11-04 16:40:47.879] [D] [zway] SENT ACK
[2020-11-04 16:40:47.879] [I] [zway] Job 0x13 (Nonce Report): Delivered
[2020-11-04 16:40:47.880] [D] [zway] SendData Response with callback 0x1a received: received by recipient
[2020-11-04 16:40:47.880] [D] [zway] SETDATA devices.50.data.lastSendInternal = **********
[2020-11-04 16:40:47.880] [D] [zway] SETDATA devices.50.data.lastSend = 24248 (0x00005eb8)
[2020-11-04 16:40:47.880] [D] [zway] Job 0x13 (Nonce Report): success
[2020-11-04 16:40:47.880] [I] [zway] Removing job: Nonce Report
[2020-11-04 16:40:47.972] [D] [zway] RECEIVED: ( 01 23 00 04 00 32 19 98 81 01 40 2A 89 FA 11 25 B5 F8 2E 96 EA 09 80 ED 90 99 66 35 50 4A A1 B5 CA 00 01 1C 3E )
[2020-11-04 16:40:47.972] [D] [zway] SENT ACK
[2020-11-04 16:40:47.972] [D] [zway] SETDATA devices.50.data.lastReceived = 0 (0x00000000)
[2020-11-04 16:40:47.973] [I] [zway] Node 50:0 CC Security: Received a secure message
[2020-11-04 16:40:47.973] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.firstPart = **********
[2020-11-04 16:40:47.973] [I] [zway] Node 50:0 CC Security: passing decrypted packet to application level: [ 6c 02 01 ff 00 ]
[2020-11-04 16:40:47.973] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.status = 255 (0x000000ff)
[2020-11-04 16:40:47.973] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.duration = 0 (0x00000000)
[2020-11-04 16:40:47.973] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.moreStatusUpdates = False
[2020-11-04 16:40:47.973] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1.lastEvent = 24257 (0x00005ec1)
[2020-11-04 16:40:47.974] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.1 = Empty
[2020-11-04 16:40:47.974] [D] [zway] Received reply on job (ThermostatSetPoint Set)
[2020-11-04 16:40:47.974] [I] [zway] Node 50:0 CC Supervision: Setter packet was confirmed: ThermostatSetPoint Set
[2020-11-04 16:40:47.974] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1.size = **********
[2020-11-04 16:40:47.974] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1.precision = **********
[2020-11-04 16:40:47.974] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1.deviceScale = 0 (0x00000000)
[2020-11-04 16:40:47.974] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1.deviceScaleString = "°C"
[2020-11-04 16:40:47.974] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1.val = 19.500000
[2020-11-04 16:40:47.974] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1.setVal = 19.500000
[2020-11-04 16:40:47.975] [D] [zway] SETDATA devices.50.instances.0.commandClasses.67.data.1 = Empty
[2020-11-04 16:40:47.975] [D] [zway] SENDING (cb 0x1b): ( 01 09 00 13 32 02 98 40 05 1B 13 )
[2020-11-04 16:40:47.982] [D] [zway] RECEIVED ACK
[2020-11-04 16:40:47.983] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-11-04 16:40:47.983] [D] [zway] SENT ACK
[2020-11-04 16:40:47.983] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:47.988] [I] [core] EasyScripting Thermostat Target Changed Reporter started
[2020-11-04 16:40:47.989] [I] [core] ---  NotificationSend_231 performCommand processing: {"0":"on"}
[2020-11-04 16:40:47.991] [I] [core] (Mobile App Support) send notification: "Thermostat Soll Update"
[2020-11-04 16:40:47.998] [I] [core] Notification: device-info (device-OnOff): {"dev":"Notification Thermostat Update","l":"on","location":""}
[2020-11-04 16:40:48.099] [D] [zway] RECEIVED: ( 01 18 00 13 1B 00 00 0C 01 D4 7F 7F 7F 7F 01 01 03 1C 00 00 00 02 01 00 00 2A )
[2020-11-04 16:40:48.099] [D] [zway] SENT ACK
[2020-11-04 16:40:48.099] [I] [zway] Job 0x13 (Nonce Get): Delivered
[2020-11-04 16:40:48.100] [D] [zway] SendData Response with callback 0x1b received: received by recipient
[2020-11-04 16:40:48.100] [D] [zway] SETDATA devices.50.data.lastSendInternal = **********
[2020-11-04 16:40:48.100] [D] [zway] SETDATA devices.50.data.lastSend = 24269 (0x00005ecd)
[2020-11-04 16:40:48.100] [D] [zway] Job 0x13 (Nonce Get): success
[2020-11-04 16:40:48.101] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2020-11-04 16:40:48.101] [D] [zway] SETDATA devices.50.data.lastNonceGet = 24269 (0x00005ecd)
[2020-11-04 16:40:48.101] [I] [zway] Waiting for job reply: Nonce Get
[2020-11-04 16:40:48.144] [I] [core] EasyScripting Thermostat Target Changed Reporter ended
[2020-11-04 16:40:48.182] [D] [zway] RECEIVED: ( 01 14 00 04 00 32 0A 98 80 F6 A7 2A B5 17 C1 4F 22 CA 00 01 1C 6D )
[2020-11-04 16:40:48.182] [D] [zway] SENT ACK
[2020-11-04 16:40:48.182] [D] [zway] SETDATA devices.50.data.lastReceived = 0 (0x00000000)
[2020-11-04 16:40:48.183] [D] [zway] Received reply on job (Nonce Get)
[2020-11-04 16:40:48.183] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2020-11-04 16:40:48.183] [D] [zway] SETDATA devices.50.data.lastNonceGet = 24277 (0x00005ed5)
[2020-11-04 16:40:48.183] [I] [zway] Node 50:0 CC Security: received Nonce Report
[2020-11-04 16:40:48.183] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.rNonce = **********
[2020-11-04 16:40:48.183] [I] [zway] Node 50:0 CC Security: Sending a secure message
[2020-11-04 16:40:48.183] [I] [zway] Node 50:0 CC Security: sending encrypted packet: ThermostatMode Set
[2020-11-04 16:40:48.183] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.toFollow = False
[2020-11-04 16:40:48.183] [D] [zway] SETDATA devices.50.data.lastNonceGet = Empty
[2020-11-04 16:40:48.183] [I] [zway] Adding job: Security, ThermostatMode Set
[2020-11-04 16:40:48.184] [D] [zway] SENDING (cb 0x1c): ( 01 22 00 13 32 1B 98 81 88 86 7D 4C FB 93 FA 84 CA 93 B2 3B 4B C3 00 AB F6 14 40 2D 27 75 E6 2B 22 05 1C 0F )
[2020-11-04 16:40:48.184] [D] [zway] Secure payload: ( 6C 01 82 03 40 01 01 )
[2020-11-04 16:40:48.191] [D] [zway] RECEIVED ACK
[2020-11-04 16:40:48.192] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-11-04 16:40:48.192] [D] [zway] SENT ACK
[2020-11-04 16:40:48.193] [I] [zway] Job 0x13 (Security, ThermostatMode Set): Response received - transfered to encapsulated jobs
[2020-11-04 16:40:48.193] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:48.193] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:48.280] [I] [core] (Mobile App Support) Notification sent
[2020-11-04 16:40:48.326] [D] [zway] RECEIVED: ( 01 18 00 13 1C 00 00 0D 01 D5 7F 7F 7F 7F 01 01 03 1C 00 00 00 02 01 00 00 2D )
[2020-11-04 16:40:48.326] [D] [zway] SENT ACK
[2020-11-04 16:40:48.326] [I] [zway] Job 0x13 (Security, ThermostatMode Set): Callback received - transfered to encapsulated jobs
[2020-11-04 16:40:48.327] [I] [zway] Job 0x13 (ThermostatMode Set): Delivered
[2020-11-04 16:40:48.327] [D] [zway] SendData Response with callback 0x1c received: received by recipient
[2020-11-04 16:40:48.327] [D] [zway] Job 0x13 (ThermostatMode Set): success
[2020-11-04 16:40:48.327] [I] [zway] Waiting for job reply: ThermostatMode Set
[2020-11-04 16:40:48.327] [I] [zway] Job 0x13 (Security, ThermostatMode Set): Delivered
[2020-11-04 16:40:48.327] [D] [zway] SendData Response with callback 0x1c received: received by recipient
[2020-11-04 16:40:48.327] [D] [zway] SETDATA devices.50.data.lastSendInternal = **********
[2020-11-04 16:40:48.327] [D] [zway] SETDATA devices.50.data.lastSend = 24291 (0x00005ee3)
[2020-11-04 16:40:48.327] [D] [zway] Job 0x13 (Security, ThermostatMode Set): success
[2020-11-04 16:40:48.327] [I] [zway] Removing job: Security, ThermostatMode Set
[2020-11-04 16:40:48.398] [D] [zway] RECEIVED: ( 01 0C 00 04 00 32 02 98 40 CA 00 01 1C C8 )
[2020-11-04 16:40:48.398] [D] [zway] SENT ACK
[2020-11-04 16:40:48.398] [D] [zway] SETDATA devices.50.data.lastReceived = 0 (0x00000000)
[2020-11-04 16:40:48.399] [I] [zway] Node 50:0 CC Security: sending Nonce Report
[2020-11-04 16:40:48.399] [I] [zway] Adding job: Nonce Report
[2020-11-04 16:40:48.399] [D] [zway] SENDING (cb 0x1d): ( 01 11 00 13 32 0A 98 80 C2 10 C3 A0 76 72 EC 5B 05 1D C7 )
[2020-11-04 16:40:48.408] [D] [zway] RECEIVED ACK
[2020-11-04 16:40:48.408] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2020-11-04 16:40:48.408] [D] [zway] SENT ACK
[2020-11-04 16:40:48.408] [D] [zway] Delivered to Z-Wave stack
[2020-11-04 16:40:48.544] [D] [zway] RECEIVED: ( 01 18 00 13 1D 00 00 0D 01 CA 7F 7F 7F 7F 01 01 03 1C 00 00 00 02 01 00 00 33 )
[2020-11-04 16:40:48.544] [D] [zway] SENT ACK
[2020-11-04 16:40:48.544] [I] [zway] Job 0x13 (Nonce Report): Delivered
[2020-11-04 16:40:48.544] [D] [zway] SendData Response with callback 0x1d received: received by recipient
[2020-11-04 16:40:48.545] [D] [zway] SETDATA devices.50.data.lastSendInternal = **********
[2020-11-04 16:40:48.545] [D] [zway] SETDATA devices.50.data.lastSend = 24312 (0x00005ef8)
[2020-11-04 16:40:48.545] [D] [zway] Job 0x13 (Nonce Report): success
[2020-11-04 16:40:48.545] [I] [zway] Removing job: Nonce Report
[2020-11-04 16:40:48.626] [D] [zway] RECEIVED: ( 01 23 00 04 00 32 19 98 81 C4 01 9D 9B A1 AC A6 DA 06 7B B0 13 06 35 C2 BA 54 D2 C2 D7 86 8E 6D D5 00 01 1C F3 )
[2020-11-04 16:40:48.626] [D] [zway] SENT ACK
[2020-11-04 16:40:48.627] [D] [zway] SETDATA devices.50.data.lastReceived = 0 (0x00000000)
[2020-11-04 16:40:48.627] [I] [zway] Node 50:0 CC Security: Received a secure message
[2020-11-04 16:40:48.627] [D] [zway] SETDATA devices.50.instances.0.commandClasses.152.data.firstPart = **********
[2020-11-04 16:40:48.627] [I] [zway] Node 50:0 CC Security: passing decrypted packet to application level: [ 6c 02 02 ff 00 ]
[2020-11-04 16:40:48.627] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.status = 255 (0x000000ff)
[2020-11-04 16:40:48.627] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.duration = 0 (0x00000000)
[2020-11-04 16:40:48.627] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.moreStatusUpdates = False
[2020-11-04 16:40:48.627] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2.lastEvent = 24320 (0x00005f00)
[2020-11-04 16:40:48.627] [D] [zway] SETDATA devices.50.instances.0.commandClasses.108.data.2 = Empty
[2020-11-04 16:40:48.627] [D] [zway] Received reply on job (ThermostatMode Set)
[2020-11-04 16:40:48.628] [I] [zway] Node 50:0 CC Supervision: Setter packet was confirmed: ThermostatMode Set
[2020-11-04 16:40:48.628] [D] [zway] SETDATA devices.50.instances.0.commandClasses.64.data.mode = 1 (0x00000001)
[2020-11-04 16:40:49.815] [D] [zway] Job 0x13: deleted from queue
[2020-11-04 16:40:50.392] [D] [zway] Job 0x13: deleted from queue
[2020-11-04 16:40:51.151] [I] [core] NotificationMail-ERROR: undefined
[2020-11-04 16:40:55.288] [D] [zway] Job 0x3b: deleted from queue
"EasyScripting Thermostat Target Changed Reporter started" and of course "NotificationSend_231" are both triggered twice, as you can see from the logs. to rule out the script, I bound the script to an empty debug scene and if I trigger the scene, the notification is only sent once.

Can anybody see why changing the target temperature of the thermostat triggers the script twice? Btw, it doesn't matter if the temperature is being manually adjust at the radiator or via ZWay.

Best Regards,
rws
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Thermostat Updated twice

Post by PoltoS »

Does same happen after a reboot? May be it was launched twice (not sure how yet)
ridewithstyle
Posts: 155
Joined: 02 Jan 2016 01:20

Re: Thermostat Updated twice

Post by ridewithstyle »

Yes, also happens after reboot
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Thermostat Updated twice

Post by PoltoS »

Ineed, from the log you can see that first time it was fired because you changed the value of the device (value has changed to the target one). Second time it is fired when the update is confirmed from the device (value finally adopted).

It should happen only once if it comes from the device. But if device has sent multiple updates, then the script will be fired for each update report.
ridewithstyle
Posts: 155
Joined: 02 Jan 2016 01:20

Re: Thermostat Updated twice

Post by ridewithstyle »

For every button I push on the device, I get two notifications on the phone
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Thermostat Updated twice

Post by PoltoS »

Please provide logs l. We will see for evidence.
ridewithstyle
Posts: 155
Joined: 02 Jan 2016 01:20

Re: Thermostat Updated twice

Post by ridewithstyle »

Mea culpa PoltoS, I remembered incorrectly. While I was trying to compile the logs it was apparent that - as you wrote - I get two notifications when ZWay changes the value and only one notification when the button on the device is being pressed.

So Zway could filter the second update - the device confirmation - in theory.

Btw, could the updated value be included in the notification? I currently use the following settings, is there a way that I am not aware of to push the specific value to the mobile?
2021-01-25 09_58_09-Window.png
2021-01-25 09_58_09-Window.png (63.41 KiB) Viewed 3329 times
best regards,
rws
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Thermostat Updated twice

Post by PoltoS »

It might be a nice idea to add custom values in notifications. May be we can extend it to allow any JS code evaluated here. Or better select a device and we append its value at the end?
ridewithstyle
Posts: 155
Joined: 02 Jan 2016 01:20

Re: Thermostat Updated twice

Post by ridewithstyle »

thanks for asking, my personal order preference would be

the new value (most important info)
the previous value (nice to see how the value changed)
any wild expression one could think of (cherry on top)

As you have tons of tasks already I wouldn't make a call to prioritize this against your other action items
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Thermostat Updated twice

Post by PoltoS »

This creates a scene, that will be called when something is changed. So new/prev value of what device? This is why option with custom JS code is the only clear option we see.
Post Reply