@chris-mac wrote:
Hi, I am running Home Assistant 0.110.4 on Raspberry PI 4 installed in Python virtual env. Got Aeotec WallMote Quad added as a Device using OpenZWave along with Aeotec Switch 7.
Got simple automation setup where WallMote button is toggling Aeotec Switch 7 state (and turning desk lamp on/off). The problem is when toggling from off -> on state it is pretty instant (1-2 sec.) but often (70% of cases) toggling from on -> off state take a long time, up to 10 sec. See relevant logs below:
WallMote button pressed:
2020-06-02 19:49:40 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on OpenZWave/1/node/27/instance/1/commandclass/91/value/281475435380756/: b'{ "Label": "Scene 1", "Value": { "List": [ { "Value": 0, "Label": "Inactive" }, { "Value": 1, "Label": "Pressed 1 Time" }, { "Value": 2, "Label": "Key Released" }, { "Value": 3, "Label": "Key Held down" } ], "Selected": "Pressed 1 Time", "Selected_id": 1 }, "Units": "", "ValueSet": false, "ValuePolled": false, "ChangeVerified": false, "Min": 0, "Max": 0, "Type": "List", "Instance": 1, "CommandClass": "COMMAND_CLASS_CENTRAL_SCENE", "Index": 1, "Node": 27, "Genre": "User", "Help": "", "ValueIDKey": 281475435380756, "ReadOnly": false, "WriteOnly": false, "Event": "valueChanged", "TimeStamp": 1591123780 }'
triggers automation:
2020-06-02 19:49:40 INFO (SyncWorker_14) [custom_components.hello_mqtt] Received message VALUE: ["Pressed 1 Time"] 2020-06-02 19:49:40 INFO (MainThread) [homeassistant.components.automation] Executing Office Light Toggle 2020-06-02 19:49:40 INFO (MainThread) [homeassistant.components.automation] Office Light Toggle: Running script 2020-06-02 19:49:40 INFO (MainThread) [homeassistant.components.automation] Office Light Toggle: Executing step device automation
which sends MQTT message to the Switch:
2020-06-02 19:49:40 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on OpenZWave/1/command/setvalue/: {"ValueIDKey": 441008144, "Value": false} 2020-06-02 19:49:40 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on OpenZWave/1/command/setvalue/: b'{"ValueIDKey": 441008144, "Value": false}' 2020-06-02 19:49:41 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on OpenZWave/1/event/setvalue/: b'{\n "status": "ok",\n "TimeStamp": 1591123781\n}'
so far, so good, we are under 1 sec. but the actual switch state (and my desk lamp) changes 8 seconds later:
2020-06-02 19:49:49 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on OpenZWave/1/node/26/instance/1/commandclass/37/value/441008144/: b'{ "Label": "Switch", "Value": false, "Units": "", "ValueSet": false, "ValuePolled": false, "ChangeVerified": false, "Min": 0, "Max": 0, "Type": "Bool", "Instance": 1, "CommandClass": "COMMAND_CLASS_SWITCH_BINARY", "Index": 0, "Node": 26, "Genre": "User", "Help": "Turn On/Off Device", "ValueIDKey": 441008144, "ReadOnly": false, "WriteOnly": false, "Event": "valueChanged", "TimeStamp": 1591123789 }'
All devices (PI, USB Stick, WallMote button and Switch 7 are on my desk within 2m radius).
Would anyone have an idea how to troubleshoot and fix this ?
Best regards,
Chris
Posts: 1
Participants: 1