-
-
Notifications
You must be signed in to change notification settings - Fork 96
[bug] FGS213 Switch (FIBARO System) needs to be operated twice when toggled via Zwave #857
Description
Version
Build/Run method
Home Assistant Addon (https://github.com/hassio-addons/addon-zwave2mqtt)
Zwave2Mqtt version: v4.0.6
Openzwave Version: 1.6
Describe the bug
Fibaro Switch is configured as Toggle switch (device changes status when switch changes status), so when operating the (physical) switch the light should be toggled. This works perfectly untill the light is toggled via a Zwave command (i.e. turning it on or off via Home Assistant for instance, or directly via the Zwave2MQTT UI).
When the light is toggled via Zwave (to on for instance) you need to operate the physical button twice to make the light go off. This behavior I would expect when the Fibaro Switch is set to Toggle switch (contact closed - On, contact opened - OFF), but that's not the case.
To Reproduce
Steps to reproduce the behavior:
- manual click -> turns it on
- manual click -> turns it off
- HA turn it on -> turns it on
- manual click -> no change
- manual click -> turns it off
LOG
Step 1:
OpenZWave Detail, Node011, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x03, 0xff, 0x4e
2020-12-23T15:10:41.720Z z2m:Zwave zwave node 11: changed: 37-1-0:Instance 1: Switch:false -> true
OpenZWave Detail,
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
OpenZWave Info, Node011, Received SwitchBinary report from node 11: level=On
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=true, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
2020-12-23T15:10:44.343Z z2m:Zwave zwave node 11: changed: 50-1-2:Electric - W:0 -> 4.5
2020-12-23T15:10:44.346Z z2m:Zwave zwave node 11: changed: 50-1-256:Exporting:false -> false
OpenZWave Detail, Node011, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x0b, 0x0c, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x21, 0x32, 0x00, 0x2d, 0x00, 0x00, 0x8d
OpenZWave Detail,
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_METER
OpenZWave Info, Node011, Received Meter Report for Electric - W (1) with Units W (2) on Index 2: 4.5
OpenZWave Detail, Node011, Refreshed Value: old value=0.0, new value=4.5, type=decimal
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
OpenZWave Detail, Node011, Notification: ValueChanged
Step 2:
OpenZWave Detail, Node011, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x03, 0x00, 0xb1
OpenZWave Detail,
2020-12-23T15:10:48.010Z z2m:Zwave zwave node 11: changed: 37-1-0:Instance 1: Switch:true -> false
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
OpenZWave Info, Node011, Received SwitchBinary report from node 11: level=Off
OpenZWave Detail, Node011, Refreshed Value: old value=true, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
OpenZWave Detail, Node011, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x0b, 0x0c, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x21, 0x32, 0x00, 0x00, 0x00, 0x00, 0xa0
OpenZWave Detail,
2020-12-23T15:10:48.345Z z2m:Zwave zwave node 11: changed: 50-1-2:Electric - W:4.5 -> 0
2020-12-23T15:10:48.348Z z2m:Zwave zwave node 11: changed: 50-1-256:Exporting:false -> false
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_METER
OpenZWave Info, Node011, Received Meter Report for Electric - W (1) with Units W (2) on Index 2: 0.0
OpenZWave Detail, Node011, Refreshed Value: old value=4.5, new value=0.0, type=decimal
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
OpenZWave Detail, Node011, Notification: ValueChanged
Step 3:
2020-12-23T15:10:59.571Z z2m:Mqtt Message received on Zwave2MQTT/11/37/1/0/set
OpenZWave Info, Node011, Value::Set - COMMAND_CLASS_SWITCH_BINARY - Switch - 0 - 1 - True
OpenZWave Info, Node011, SwitchBinary::Set - Setting to On
OpenZWave Detail, Node011, Queuing (Send) MultiChannel Encapsulated (instance=1): SwitchBinaryCmd_Set (Node=11): 0x01, 0x0e, 0x00, 0x13, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x01, 0xff, 0x25, 0xb5, 0xc8
OpenZWave Detail, Node011, Queuing (Send) MultiChannel Encapsulated (instance=1): SwitchBinaryCmd_Get (Node=11): 0x01, 0x0d, 0x00, 0x13, 0x0b, 0x06, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x02, 0x25, 0xb6, 0x35
OpenZWave Detail,
OpenZWave Info, Node011, Sending (Send) message (Callback ID=0xb5, Expected Reply=0x13) - MultiChannel Encapsulated (instance=1): SwitchBinaryCmd_Set (Node=11): 0x01, 0x0e, 0x00, 0x13, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x01, 0xff, 0x25, 0xb5, 0xc8
OpenZWave Info, Node011, Encrypted Flag is 0
OpenZWave Detail, Node011, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
OpenZWave Detail, Node011, ZW_SEND_DATA delivered to Z-Wave stack
OpenZWave Detail, Node011, Received: 0x01, 0x07, 0x00, 0x13, 0xb5, 0x00, 0x00, 0x11, 0x4f
OpenZWave Detail, Node011, ZW_SEND_DATA Request with callback ID 0xb5 received (expected 0xb5)
OpenZWave Info, Node011, Request RTT 181 Average Request RTT 224
OpenZWave Detail, Node011, Expected callbackId was received
OpenZWave Detail, Node011, Expected reply was received
OpenZWave Detail, Node011, Message transaction complete
OpenZWave Detail,
OpenZWave Detail, Node011, Removing current message
OpenZWave Detail,
OpenZWave Info, Node011, Sending (Send) message (Callback ID=0xb6, Expected Reply=0x04) - MultiChannel Encapsulated (instance=1): SwitchBinaryCmd_Get (Node=11): 0x01, 0x0d, 0x00, 0x13, 0x0b, 0x06, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x02, 0x25, 0xb6, 0x35
OpenZWave Info, Node011, Encrypted Flag is 0
OpenZWave Detail, Node011, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
OpenZWave Detail, Node011, ZW_SEND_DATA delivered to Z-Wave stack
OpenZWave Detail, Node011, Received: 0x01, 0x07, 0x00, 0x13, 0xb6, 0x00, 0x00, 0x07, 0x5a
OpenZWave Detail, Node011, ZW_SEND_DATA Request with callback ID 0xb6 received (expected 0xb6)
OpenZWave Info, Node011, Request RTT 69 Average Request RTT 146
OpenZWave Detail, Node011, Expected callbackId was received
2020-12-23T15:10:59.909Z z2m:Zwave zwave node 11: changed: 37-1-0:Instance 1: Switch:false -> false
OpenZWave Detail, Node011, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x03, 0x00, 0xb1
OpenZWave Detail,
OpenZWave Info, Node011, Response RTT 144 Average Response RTT 271
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
OpenZWave Info, Node011, Received SwitchBinary report from node 11: level=Off
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Expected reply and command class was received
OpenZWave Detail, Node011, Message transaction complete
OpenZWave Detail,
OpenZWave Detail, Node011, Removing current message
OpenZWave Detail, Node011, Notification: ValueChanged
2020-12-23T15:10:59.948Z z2m:Zwave zwave node 11: changed: 37-1-0:Instance 1: Switch:false -> true
OpenZWave Detail, Node011, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x03, 0xff, 0x4e
OpenZWave Detail,
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
OpenZWave Info, Node011, Received SwitchBinary report from node 11: level=On
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=true, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
Step 4:
OpenZWave Detail, Node011, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x0b, 0x0c, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x21, 0x32, 0x00, 0x2c, 0x00, 0x00, 0x8c
2020-12-23T15:11:02.334Z z2m:Zwave zwave node 11: changed: 50-1-2:Electric - W:0 -> 4.4
2020-12-23T15:11:02.336Z z2m:Zwave zwave node 11: changed: 50-1-256:Exporting:false -> false
OpenZWave Detail,
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_METER
OpenZWave Info, Node011, Received Meter Report for Electric - W (1) with Units W (2) on Index 2: 4.4
OpenZWave Detail, Node011, Refreshed Value: old value=0.0, new value=4.4, type=decimal
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
OpenZWave Detail, Node011, Notification: ValueChanged
OpenZWave Detail, Node011, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x03, 0xff, 0x4e
2020-12-23T15:11:11.744Z z2m:Zwave zwave node 11: changed: 37-1-0:Instance 1: Switch:true -> true
OpenZWave Detail,
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
OpenZWave Info, Node011, Received SwitchBinary report from node 11: level=On
OpenZWave Detail, Node011, Refreshed Value: old value=true, new value=true, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
2020-12-23T15:11:11.941Z z2m:Zwave zwave node 11: changed: 37-1-0:Instance 1: Switch:true -> true
OpenZWave Detail, Node011, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x03, 0xff, 0x4e
OpenZWave Detail,
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
OpenZWave Info, Node011, Received SwitchBinary report from node 11: level=On
OpenZWave Detail, Node011, Refreshed Value: old value=true, new value=true, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
2020-12-23T15:11:14.347Z z2m:Zwave zwave node 11: changed: 50-1-2:Electric - W:4.4 -> 4.4
2020-12-23T15:11:14.349Z z2m:Zwave zwave node 11: changed: 50-1-256:Exporting:false -> false
OpenZWave Detail, Node011, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x0b, 0x0c, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x21, 0x32, 0x00, 0x2c, 0x00, 0x00, 0x8c
OpenZWave Detail,
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_METER
OpenZWave Info, Node011, Received Meter Report for Electric - W (1) with Units W (2) on Index 2: 4.4
OpenZWave Detail, Node011, Refreshed Value: old value=4.4, new value=4.4, type=decimal
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
OpenZWave Detail, Node011, Notification: ValueChanged
Step 5:
OpenZWave Detail, Node011, Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x0b, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x25, 0x03, 0x00, 0xb1
OpenZWave Detail,
2020-12-23T15:11:18.311Z z2m:Zwave zwave node 11: changed: 37-1-0:Instance 1: Switch:true -> false
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
OpenZWave Info, Node011, Received SwitchBinary report from node 11: level=Off
OpenZWave Detail, Node011, Refreshed Value: old value=true, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged
OpenZWave Detail, Node011, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x0b, 0x0c, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x21, 0x32, 0x00, 0x00, 0x00, 0x00, 0xa0
OpenZWave Detail,
2020-12-23T15:11:18.472Z z2m:Zwave zwave node 11: changed: 50-1-2:Electric - W:4.4 -> 0
2020-12-23T15:11:18.474Z z2m:Zwave zwave node 11: changed: 50-1-256:Exporting:false -> false
OpenZWave Info, Node011, Received a MultiChannelEncap from node 11, endpoint 1 for Command Class COMMAND_CLASS_METER
OpenZWave Info, Node011, Received Meter Report for Electric - W (1) with Units W (2) on Index 2: 0.0
OpenZWave Detail, Node011, Refreshed Value: old value=4.4, new value=0.0, type=decimal
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Refreshed Value: old value=false, new value=false, type=bool
OpenZWave Detail, Node011, Changes to this value are not verified
OpenZWave Detail, Node011, Notification: ValueChanged