I'm running Domoticz 2024.1 on Raspberry PI using Mosquitto MQTT broker and ZWave-JS-UI interface to Aeotec Gen5 stick. Latest stable versions of everything, and the system is working great!
My question has to do with Domoticz handling of multiple identical events. This comes up because I have a wall switch that I want to program for "extra" pushes in each On/Off direction. One push would turn on the light itself, a second push might turn on additional room lights, a third push... But, although I can see MQTT events being sent with each additional button push, Domoticz only seems to create a LUA event for the first one, i.e., the initial transition from the opposite state. However, I also have an Aeotec WallMote that sends repeated "holddown" events and Domoticz DOES pass all of those through.
I'm pretty sure that the problem is not in ZWave-JS-UI, because I can simulate these two different behaviors by manually publishing this simple MQTT event:
Code: Select all
{ "value": false }
I'm using Domoticz MQTT Auto Discovery which received the following homeassistant config stanzas to create each device:
Code: Select all
{
"state_topic": "zwave/WallMoteA/central_scene/endpoint_0/scene/001",
"json_attributes_topic": "zwave/WallMoteA/central_scene/endpoint_0/scene/001",
"value_template": "{{ value_json.value | default('') }}",
"device": {
"identifiers": [
"zwavejs2mqtt_0xc5aaa324_node2"
],
"manufacturer": "AEON Labs",
"model": "WallMote Quad (ZW130)",
"name": "WallMoteA",
"sw_version": "1.8"
},
"name": "WallMoteA_scene_state_scene_001",
"unique_id": "zwavejs2mqtt_0xc5aaa324_2-91-0-scene-001"
}
Code: Select all
{
"payload_off": false,
"payload_on": true,
"value_template": "{{ value_json.value }}",
"command_topic": "zwave/BED2-MoSw/switch_binary/endpoint_1/targetValue/set",
"state_topic": "zwave/BED2-MoSw/switch_binary/endpoint_1/currentValue",
"device": {
"identifiers": [
"zwavejs2mqtt_0xc5aaa324_node3"
],
"manufacturer": "GE/Enbrighten",
"model": "In-Wall Motion Switch, 500S (26931 / ZW4006)",
"name": "BED2-MoSw",
"sw_version": "5.39"
},
"name": "BED2-MoSw_switch_1",
"unique_id": "zwavejs2mqtt_0xc5aaa324_3-37-1-currentValue"
}