2.2.1 Periodical sensor polling

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
graycrow
Posts: 18
Joined: 09 Jan 2013 00:08

2.2.1 Periodical sensor polling

Post by graycrow »

Finally I updated to 2.2.x branch (from 2.1.x) and found that sensor polling doesn't work properly anymore. For example, I have 4 1-Wire temperature sensors on Fibaro Universal Binary Sensor, and on previous version they automatically updated their values every few minutes. Now only one of them does this, and the rest need to be updated manually.

Where can I check or change sensor polling settings? Before it was possible on Periodical Sensor Polling App, but now there is no such app, either in the store or installed, and my Active Apps tab shows nothing but I see some apps marked as installed.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: 2.2.1 Periodical sensor polling

Post by pz1 »

Works OK for me in 2.2.1. You can set it via Expert UI Configuration/Configuration (you have to select the FUS).

(When I originally included it, it needed all 4 sensors connected to the FUS. Don't know if that is still the case)
graycrow
Posts: 18
Joined: 09 Jan 2013 00:08

Re: 2.2.1 Periodical sensor polling

Post by graycrow »

EDIT: Just noticed that even with manual update data is always the same, so maybe there is something with hardware. Will check first if everything is connected and will power cycle, just in case.

Original post:
Well, in the Expert UI I have value of 200 (seconds) set for parameter Nº 11 (Interval between forcing to send report concerning the temperature conditions), but there is few issues with this parameter and way how it works:
First, this parameter is applicable for Fibaro Universal Sensor as a whole, all of it's connected sensors. But in my case only one keeps updating in the HA interface.
And second, as far as I remember, that parameter never worked for me to display recent values in the HA interface, and I once set up Periodical Sensor Polling app, and that setup worked fine until the update.

That 4 sensors connected to the same Z-way device, they all works, but only one updates it's value automatically, for another 3 I need to click manually on the time value on device's tile in HA home.

Here is part o the z-way-server.log, that Fibaro sensor is Device 10 device. Can someone tell me please what is going on here?

Code: Select all

[2016-03-04 15:02:00.764] [I] [core] ---  ZWayVDev_zway_10-0-48-1 performCommand processing: {"0":"update"}
[2016-03-04 15:02:00.765] [I] [zway] Adding job: SensorBinary Get
[2016-03-04 15:02:00.766] [I] [core] ---  ZWayVDev_zway_10-1-48-1 performCommand processing: {"0":"update"}
[2016-03-04 15:02:00.766] [I] [zway] Adding job: SensorBinary Get
[2016-03-04 15:02:00.767] [I] [core] ---  ZWayVDev_zway_10-2-48-1 performCommand processing: {"0":"update"}
[2016-03-04 15:02:00.767] [I] [zway] Adding job: SensorBinary Get
[2016-03-04 15:02:00.771] [D] [zway] SENDING (cb 0x40): ( 01 09 00 13 0A 02 30 02 25 40 BA )
[2016-03-04 15:02:00.772] [D] [zway] RECEIVED ACK
[2016-03-04 15:02:00.775] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2016-03-04 15:02:00.775] [D] [zway] SENT ACK
[2016-03-04 15:02:00.776] [D] [zway] Delivered to Z-Wave stack
[2016-03-04 15:02:00.788] [D] [zway] RECEIVED: ( 01 05 00 13 40 00 A9 )
[2016-03-04 15:02:00.788] [D] [zway] SENT ACK
[2016-03-04 15:02:00.788] [I] [zway] Job 0x13 (SensorBinary Get): Delivered
[2016-03-04 15:02:00.788] [D] [zway] SETDATA devices.10.data.lastPacketInfo.delivered = True
[2016-03-04 15:02:00.789] [D] [zway] SETDATA devices.10.data.lastPacketInfo.packetLength = 5 (0x00000005)
[2016-03-04 15:02:00.789] [D] [zway] SETDATA devices.10.data.lastPacketInfo.deliveryTime = 12 (0x0000000c)
[2016-03-04 15:02:00.789] [D] [zway] SETDATA devices.10.data.lastPacketInfo = **********
[2016-03-04 15:02:00.789] [D] [zway] SendData Response with callback 0x40 received: received by recipient
[2016-03-04 15:02:00.789] [D] [zway] SETDATA devices.10.data.lastSend = 255683 (0x0003e6c3)
[2016-03-04 15:02:00.789] [D] [zway] Job 0x13 (SensorBinary Get): success
[2016-03-04 15:02:00.789] [I] [zway] Removing job: SensorBinary Get
[2016-03-04 15:02:00.802] [D] [zway] RECEIVED: ( 01 09 00 04 00 0A 03 30 03 FF 37 )
[2016-03-04 15:02:00.803] [D] [zway] SENT ACK
[2016-03-04 15:02:00.803] [D] [zway] SETDATA devices.10.data.lastReceived = 0 (0x00000000)
[2016-03-04 15:02:00.803] [D] [zway] SETDATA devices.10.instances.0.commandClasses.48.data.1.level = True
[2016-03-04 15:02:00.803] [D] [zway] SETDATA devices.10.instances.0.commandClasses.48.data.1 = Empty
[2016-03-04 15:02:00.854] [D] [zway] SENDING (cb 0x41): ( 01 0D 00 13 0A 06 60 0D 00 01 30 02 25 41 D7 )
[2016-03-04 15:02:00.856] [D] [zway] RECEIVED ACK
[2016-03-04 15:02:00.859] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2016-03-04 15:02:00.859] [D] [zway] SENT ACK
[2016-03-04 15:02:00.859] [D] [zway] Delivered to Z-Wave stack
[2016-03-04 15:02:00.872] [D] [zway] RECEIVED: ( 01 05 00 13 41 00 A8 )
[2016-03-04 15:02:00.872] [D] [zway] SENT ACK
[2016-03-04 15:02:00.873] [I] [zway] Job 0x13 (SensorBinary Get): Delivered
[2016-03-04 15:02:00.873] [D] [zway] SETDATA devices.10.data.lastPacketInfo.delivered = True
[2016-03-04 15:02:00.873] [D] [zway] SETDATA devices.10.data.lastPacketInfo.packetLength = 9 (0x00000009)
[2016-03-04 15:02:00.873] [D] [zway] SETDATA devices.10.data.lastPacketInfo.deliveryTime = 13 (0x0000000d)
[2016-03-04 15:02:00.873] [D] [zway] SETDATA devices.10.data.lastPacketInfo = **********
[2016-03-04 15:02:00.873] [D] [zway] SendData Response with callback 0x41 received: received by recipient
[2016-03-04 15:02:00.873] [D] [zway] SETDATA devices.10.data.lastSend = 255691 (0x0003e6cb)
[2016-03-04 15:02:00.873] [D] [zway] Job 0x13 (SensorBinary Get): success
[2016-03-04 15:02:00.873] [I] [zway] Removing job: SensorBinary Get
[2016-03-04 15:02:00.884] [D] [zway] RECEIVED: ( 01 0D 00 04 00 0A 07 60 0D 01 00 30 03 FF 5B )
[2016-03-04 15:02:00.884] [D] [zway] SENT ACK
[2016-03-04 15:02:00.885] [D] [zway] SETDATA devices.10.data.lastReceived = 0 (0x00000000)
[2016-03-04 15:02:00.885] [D] [zway] SETDATA devices.10.instances.1.commandClasses.48.data.1.level = True
[2016-03-04 15:02:00.885] [D] [zway] SETDATA devices.10.instances.1.commandClasses.48.data.1 = Empty
[2016-03-04 15:02:00.935] [D] [zway] SENDING (cb 0x42): ( 01 0D 00 13 0A 06 60 0D 00 02 30 02 25 42 D7 )
[2016-03-04 15:02:00.937] [D] [zway] RECEIVED ACK
[2016-03-04 15:02:00.940] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2016-03-04 15:02:00.941] [D] [zway] SENT ACK
[2016-03-04 15:02:00.941] [D] [zway] Delivered to Z-Wave stack
[2016-03-04 15:02:00.954] [D] [zway] RECEIVED: ( 01 05 00 13 42 00 AB )
[2016-03-04 15:02:00.954] [D] [zway] SENT ACK
[2016-03-04 15:02:00.954] [I] [zway] Job 0x13 (SensorBinary Get): Delivered
[2016-03-04 15:02:00.954] [D] [zway] SETDATA devices.10.data.lastPacketInfo.delivered = True
[2016-03-04 15:02:00.954] [D] [zway] SETDATA devices.10.data.lastPacketInfo.packetLength = 9 (0x00000009)
[2016-03-04 15:02:00.955] [D] [zway] SETDATA devices.10.data.lastPacketInfo.deliveryTime = 13 (0x0000000d)
[2016-03-04 15:02:00.955] [D] [zway] SETDATA devices.10.data.lastPacketInfo = **********
[2016-03-04 15:02:00.955] [D] [zway] SendData Response with callback 0x42 received: received by recipient
[2016-03-04 15:02:00.955] [D] [zway] SETDATA devices.10.data.lastSend = 255699 (0x0003e6d3)
[2016-03-04 15:02:00.955] [D] [zway] Job 0x13 (SensorBinary Get): success
[2016-03-04 15:02:00.955] [I] [zway] Removing job: SensorBinary Get
[2016-03-04 15:02:00.966] [D] [zway] RECEIVED: ( 01 0D 00 04 00 0A 07 60 0D 02 00 30 03 FF 58 )
[2016-03-04 15:02:00.967] [D] [zway] SENT ACK
[2016-03-04 15:02:00.967] [D] [zway] SETDATA devices.10.data.lastReceived = 0 (0x00000000)
[2016-03-04 15:02:00.967] [D] [zway] SETDATA devices.10.instances.2.commandClasses.48.data.1.level = True
[2016-03-04 15:02:00.967] [D] [zway] SETDATA devices.10.instances.2.commandClasses.48.data.1 = Empty
[2016-03-04 15:02:21.090] [D] [zway] Job 0x13: deleted from queue
[2016-03-04 15:02:21.152] [D] [zway] Job 0x13: deleted from queue
[2016-03-04 15:02:21.213] [D] [zway] Job 0x13: deleted from queue
[2016-03-04 15:02:42.849] [D] [zway] RECEIVED: ( 01 12 00 04 00 0A 0C 60 0D 03 03 31 05 01 44 00 00 0A 73 8A )
[2016-03-04 15:02:42.849] [D] [zway] SENT ACK
[2016-03-04 15:02:42.849] [D] [zway] SETDATA devices.10.data.lastReceived = 0 (0x00000000)
[2016-03-04 15:02:42.850] [D] [zway] SETDATA devices.10.instances.3.commandClasses.49.data.1.deviceScale = 0 (0x00000000)
[2016-03-04 15:02:42.852] [D] [zway] SETDATA devices.10.instances.3.commandClasses.49.data.1.scaleString = °C"
[2016-03-04 15:02:42.852] [D] [zway] SETDATA devices.10.instances.3.commandClasses.49.data.1.val = 26.750000
[2016-03-04 15:02:42.853] [D] [zway] SETDATA devices.10.instances.3.commandClasses.49.data.1 = Empty

pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: 2.2.1 Periodical sensor polling

Post by pz1 »

Indeed strange this parameter 11. I have two of these devices on separate raspberries. I can switch parameter 11 to Off(0). I does fill in 1 in the countdown field.
I do have the insensitiveness to temp change set to 4 (celsius in my case)
Roemy
Posts: 5
Joined: 28 Jan 2016 03:37

Re: 2.2.1 Periodical sensor polling

Post by Roemy »

I've also got some issues yesterday.
Suddenly losing connections with sensors and switches.

Messages like:
00:10 | Z-Wave device ID is back to life: 7

Multiple devices 3 4 and 7 came with that error.
Yesterday I was sleeping and getting warm suddenly, seems the heater jumped on by no reason at all.
Also the light switches had a delay of 5 second till they went on, it's okay for now.

I've never had any issues on 2.1.* before.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: 2.2.1 Periodical sensor polling

Post by pz1 »

I did another try yesterday with parameters 10, 11, and 12.
Capture.PNG
Capture.PNG (24.19 KiB) Viewed 8100 times
Also made sure that Association Group III points as a plain association to Zway(1)

With these settings sensors individually send updates if they change more than the value specified by parameter 12
Temperatures.PNG
Temperatures.PNG (2.63 KiB) Viewed 8100 times
Post Reply