Page 1 of 1

ST814 : do not get temp. Only humidity

Posted: 17 Mar 2015 23:02
by xmeslin
Hi,

I have install razberry with zway and after severals attemps include, exlude, reset etc etc I always end up with same situation:

I only receive / decode humidity.
The log (below) seems to say that because the node 2.0 is already humidity it cannot be temp too and then no decode. Any way to fix it ?

thank you

Xavier

Code: Select all

[2015-03-17 19:59:49.181] [D] [zway] RECEIVED: ( 01 0C 00 04 00 02 06 31 05 01 22 00 D0 34 )
[2015-03-17 19:59:49.183] [D] [zway] SENT ACK
[2015-03-17 19:59:49.184] [D] [zway] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2015-03-17 19:59:49.186] [W] [zway] Node 2:0 CC SensorMultilevel: Different sensor type 1 received, ignoring
[2015-03-17 19:59:49.804] [D] [zway] RECEIVED: ( 01 0B 00 04 00 02 05 31 05 05 01 29 EE )
[2015-03-17 19:59:49.805] [D] [zway] SENT ACK
[2015-03-17 19:59:49.807] [D] [zway] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2015-03-17 19:59:49.808] [D] [zway] SETDATA devices.2.instances.0.commandClasses.49.data.5.deviceScale = 0 (0x00000000)
[2015-03-17 19:59:49.810] [D] [zway] SETDATA devices.2.instances.0.commandClasses.49.data.5.scale = 0 (0x00000000)
[2015-03-17 19:59:49.812] [D] [zway] SETDATA devices.2.instances.0.commandClasses.49.data.5.val = 41.000000
[2015-03-17 19:59:49.816] [D] [zway] SETDATA devices.2.instances.0.commandClasses.49.data.5.scaleString = "%"
[2015-03-17 19:59:49.818] [D] [zway] SETDATA devices.2.instances.0.commandClasses.49.data.5 = Empty

Re: ST814 : do not get temp. Only humidity

Posted: 18 Mar 2015 02:14
by pofs
That actually is a problem with old devices. For SensorMultilevel version < 5 there's no way to tell which sensor types it supports.

So if we receive and decode all incoming sensor types, then phantom sensors are created because of radio errors. And if we don't accept other sensor types after interview is completed (it is how it works now), there's no way to tell when interview is actually finished.

Probably will add some grace period after first report when new sensor types are still accepted to workaround this issue.

Re: ST814 : do not get temp. Only humidity

Posted: 19 Mar 2015 11:42
by xmeslin
ok understood however, the documentation of the device clearly says what is supported and how.
If the auto-detect cannot work, is there any way to modify the output of the interview to manually add a sensor ?
Otherwise I just cannot use it :(

Re: ST814 : do not get temp. Only humidity

Posted: 19 Mar 2015 15:11
by pofs
Software doesn't read documentation on devices, so it is not clear for it at all :) Furthermore, it doesn't actually care which device do you have, it only judges based on device class and available command classes.
This is why a new version of the command class was introduced, so it can tell controller which sensor types it supports.

For old versions there was a workaround added, will be available in rc builds soon.

Re: ST814 : do not get temp. Only humidity

Posted: 19 Mar 2015 15:24
by xmeslin
ah great. Then I keep an eye on the release note ;)

Thank you

Xavier

Re: ST814 : do not get temp. Only humidity

Posted: 01 May 2015 22:52
by raydn
Hi all,

I updated to rc25 on my razberry and now it looks like it works sometimes. I had right now after the update the temperature and the Humidity.. But now i saw in the logfile the following
[2015-05-01 19:49:35.705] [D] [zway] RECEIVED: ( 01 0C 00 04 00 05 06 31 05 01 22 00 D7 34 )
[2015-05-01 19:49:35.706] [D] [zway] SENT ACK
[2015-05-01 19:49:35.707] [D] [zway] SETDATA devices.5.data.lastReceived = 0 (0x00000000)
[2015-05-01 19:49:35.709] [D] [zway] SETDATA devices.5.instances.0.commandClasses.49.data.1.deviceScale = 0 (0x00000000)
[2015-05-01 19:49:35.710] [D] [zway] SETDATA devices.5.instances.0.commandClasses.49.data.1.scale = 0 (0x00000000)
[2015-05-01 19:49:35.712] [D] [zway] SETDATA devices.5.instances.0.commandClasses.49.data.1.val = 21.500000
[2015-05-01 19:49:35.716] [D] [zway] SETDATA devices.5.instances.0.commandClasses.49.data.1.scaleString = "°C"
[2015-05-01 19:49:35.718] [D] [zway] SETDATA devices.5.instances.0.commandClasses.49.data.1 = Empty
[2015-05-01 19:49:36.327] [D] [zway] RECEIVED: ( 01 0B 00 04 00 05 05 31 05 05 01 32 F2 )
[2015-05-01 19:49:36.328] [D] [zway] SENT ACK
[2015-05-01 19:49:36.329] [D] [zway] SETDATA devices.5.data.lastReceived = 0 (0x00000000)
[2015-05-01 19:49:36.331] [W] [zway] Node 5:0 CC SensorMultilevel: Different sensor type 5 received, ignoring

and in the sensor view the Humidity and the temperature is 21.5% and 21.5C.

Best regards,
raydn