xgon
(Alexandre Gonçalves)
December 26, 2019, 9:30am
1
Hi,
I have this zwave switch:
https://www.openhab.org/addons/bindings/zwave/thing.html?manufacturer=fibaro&file=fgwp102_3_2.html
I want to it switch off some time after the user manually (on the push button) switched it on.
The rules that I used were:
rule "QB1"
when
Item desum_qb1 changed to ON
then
logInfo("zwave", "desum_qb1 received update ON")
timer_qb1 = createTimer(now.plusSeconds(DELAY_DESUM_OFF), [ |
desum_qb1.sendCommand(OFF)
])
end
rule "QB1"
when
Item desum_qb1 changed to OFF
then
logInfo("zwave", "desum_qb1 received update OFF")
timer_qb1 = null
end
These rules work correctly. After the delay, the switch is actually switched off. The problem is that the switch state is not updated.
Adding a postupdate call for the item, does not solve it also. For example:
rule "QB1"
when
Item desum_qb1 changed to OFF
then
logInfo("zwave", "desum_qb1 received update OFF")
desum_qb1.postUpdate(OFF)
timer_qb1 = null
end
Any thoughts?
Thanks.
chris
(Chris Jackson)
December 26, 2019, 10:31am
3
xgon:
Any thoughts?
What version of the binding are you using?
Have you checked that the lifeline association is configured (it should be if you’re using the latest binding) - this is the main reason for reporting not working.
1 Like
xgon
(Alexandre Gonçalves)
December 26, 2019, 11:54am
4
@chris
Thanks for the reply. The version of the binding is binding-zwave - 2.4.0
.
I was not aware of this lifeline
setting. As soon as I changed this setting to controller, the updates started, with the exception of one device!
There are 3 devices of the same type in the house, but one does not accept the lifeline setting. I set it to Controller
, submit, and when reloading, the setting is not there. I’m almost sure that this device was added in a previous version of OH…
What can I do to fix this?
Log:
Thing 'zwave:device:37fdcb3c:node3' has been updated.
2019-12-26 11:58:21.297 [vent.ConfigStatusInfoEvent] - ConfigStatusInfo [configStatusMessages=[ConfigStatusMessage [parameterName=group_1, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null], ConfigStatusMessage [parameterName=group_3, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null], ConfigStatusMessage [parameterName=group_2, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null]]]
chris
(Chris Jackson)
December 26, 2019, 1:14pm
5
So you mean that you change the setting, and when you restart it always shows as not configured?
I’m not really sure what to suggest - are the devices really the same? Ie they have the same firmware version? If you can provide a debug log I can take a look.
I would also suggest that 2.5 might solve the issue as it has more code to try and ensure the lifeline is always set - of course, that might not be your problem and the log might help shed some light on it.
xgon
(Alexandre Gonçalves)
December 26, 2019, 2:04pm
6
Yes the devices are the same part number, same firmware version, same purchase date…
Attached is the log of the update of a device that behaves as expected.log-ok.txt (65.4 KB)
Here is the log of the device with the issue:
13:50:51.659 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update received
13:50:51.669 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_30_1 to 63 (BigDecimal)
13:50:51.676 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_31_1 to 0 (BigDecimal)
13:50:51.680 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored binding_cmdrepollperiod to 1500 (BigDecimal)
13:50:51.687 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_32_2 to 600 (BigDecimal)
13:50:51.694 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_11_1 to 15 (BigDecimal)
13:50:51.703 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_10_1 to 80 (BigDecimal)
13:50:51.710 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_50_1 to 3 (BigDecimal)
13:50:51.716 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update set group_1 to controller (String)
13:50:51.723 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Unknown association group 1
13:50:51.731 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update set group_3 to null (null)
13:50:51.737 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Unknown association group 3
13:50:51.746 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update set group_2 to null (null)
13:50:51.755 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Unknown association group 2
13:50:51.763 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored action_reinit to false (Boolean)
13:50:51.770 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_12_2 to 30 (BigDecimal)
13:50:51.779 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_13_2 to 10 (BigDecimal)
13:50:51.787 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_14_2 to 3600 (BigDecimal)
13:50:51.795 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_15_1 to 0 (BigDecimal)
13:50:51.801 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_42_1 to 0 (BigDecimal)
13:50:51.810 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_20_1 to 0 (BigDecimal)
13:50:51.818 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_40_2 to 25000 (BigDecimal)
13:50:51.827 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_41_1 to 1 (BigDecimal)
13:50:51.835 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_21_2 to 300 (BigDecimal)
13:50:51.844 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_43_1 to 2 (BigDecimal)
13:50:51.852 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored action_failed to false (Boolean)
13:50:51.859 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored action_remove to false (Boolean)
13:50:51.865 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored binding_pollperiod to 86400 (BigDecimal)
13:50:51.872 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored action_heal to false (Boolean)
13:50:51.878 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_1_1 to 0 (BigDecimal)
13:50:51.887 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_2_1 to 1 (BigDecimal)
13:50:51.897 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_22_2 to 500 (BigDecimal)
13:50:51.932 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_23_1 to 6 (BigDecimal)
13:50:51.958 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_3_2 to 0 (BigDecimal)
13:50:51.973 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored config_24_2 to 255 (BigDecimal)
13:50:51.997 [DEBUG] [nding.zwave.handler.ZWaveThingHandler] - NODE 3: Configuration update ignored node_id to 3 (BigDecimal)
It looks every setting is ignored!
xgon
(Alexandre Gonçalves)
December 27, 2019, 6:18pm
7
@chris , I ended up updating the whole OH installation to 2.5, now everything works fine.
Thanks.
1 Like
vzorglub
(Vincent Regaud)
December 27, 2019, 6:49pm
8
Please tick the solution, thanks