I’m having stability issues with HA & Z-WaveJSMQTT using multicast.
The goal is to press one button and have every light in my living room turn on at once, or as close to this as possible.
Sometimes everything turns on almost simultaneously as expected–pretty amazing when this happens. Other times, there is a straggling device - about 25% of the time.
There doesn’t seem to be any pattern with which device causes the delays – I live in a small apt and have ~40 devices on the network; I don’t think it’s a “network issue” but I am lost at this point. I’ve tried healing, moving the hub to different locations, no difference.
I’m running a Raspberry Pi 4 64-bit home assistant supervisor, 8G ram, an Aeotec Gen5+ zwave stick.
The devices I’m trying to control are:
- 8x Zooz ZEN32 Switches (500 series, switch modules)
- 6x Minoston Smart Plug In Dimmers (700 series, dimmer modules)
My current automation is as follows:
alias: All Lights On
description: ''
trigger:
- platform: event
event_type: zwave_js_value_notification
event_data:
node_id: 5
label: Scene 004
value: KeyPressed
condition: []
action:
- service: zwave_js.multicast_set_value
target:
entity_id:
- switch.light_switch_kids_hallway
- switch.light_switch_kitchen_remote
- switch.light_switch_main_hallway
- switch.light_switch_hallway_remote
- switch.light_switch_living_room
- switch.light_switch_kitchen
- switch.plant_lights
- switch.table_lights
data:
command_class: '37'
property: targetValue
value: true
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 100
- service: zwave_js.multicast_set_value
target:
entity_id:
- light.track_lights
- light.bar_cart_light
- light.couch_light_right
- light.couch_light_left
- light.tv_lamp_left
- light.tv_lamp_right
data:
command_class: '38'
property: targetValue
value: '99'
mode: single
I had to split this into two multicast_set_value commands because half of the devices are dimmers and the other half are switches and to the best of my knowledge, I’m unable to this in one go.
This is the error I see in my log:
Log Details (ERROR)
Logger: homeassistant.core Source: components/zwave_js/services.py:509 First occurred: 4:02:02 PM (1 occurrences) Last logged: 4:02:02 PM
Error executing service: <ServiceCall zwave_js.multicast_set_value (c:b1b8433d1d8a91b5cec81f7b22925792): command_class=38, property=targetValue, value=0, broadcast=False, nodes={Node(node_id=44), Node(node_id=47), Node(node_id=37), Node(node_id=43), Node(node_id=40), Node(node_id=46), Node(node_id=36), Node(node_id=39), Node(node_id=45), Node(node_id=38)}>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1511, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/components/zwave_js/services.py", line 509, in async_multicast_set_value
success = await async_multicast_set_value(
File "/usr/local/lib/python3.9/site-packages/zwave_js_server/util/multicast.py", line 54, in async_multicast_set_value
result = await _async_send_command(
File "/usr/local/lib/python3.9/site-packages/zwave_js_server/util/multicast.py", line 29, in _async_send_command
return await client.async_send_command(cmd, require_schema)
File "/usr/local/lib/python3.9/site-packages/zwave_js_server/client.py", line 79, in async_send_command
return await future
zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 204: One or more nodes did not respond to the multicast request (Status NoAck) (ZW0204)
Not sure where to begin - any help would be greatly appreciated!
1 post - 1 participant
Read full topic