Page 1 of 1
Problem sending switch command to Lights
Posted: Saturday 02 August 2025 12:11
by Piet
Using Domoticz 2025.1 (build 16739)
I think for a few weeks now (as we were out on holiday).
We are having trouble controlling the lights in and around the house.
Unable to switch the lights on or off using standard jobs and timers in;
- Domoticz
- the Domoticz dashboard
- the Zwave JS UI dashboard
The P1 meter continues to send information, same as the Coolcam motion sensors and the sensitive door sensors, all continue to send current information on power usage, solar panel power delivery, door status and motion.
However, when I try to switch a light on or off, via timer job or the dashboard the switch doesn't respond.
Lighting switches and timers do work after a reboot but stop working after a like 12 hours
Heal network, re-interview nodes, re-installing the beta version does not help.
Please advise on how to resolve the problem
Re: Problem sending switch command to Lights
Posted: Saturday 02 August 2025 12:39
by waltervl
If switching is working from the Zwave-JS-UI user interface the issue is in the MQTT communication. Check logs in Zwave-JS-UI, Mosquito and Domoticz to see where the issue is.
If the switching also is not working in the Zwave-JS-UI user interface the issue is in Zwave-JS-UI or with the Zwave stick. Check the Zwave-JS-UI logs.
Re: Problem sending switch command to Lights
Posted: Saturday 02 August 2025 15:24
by gizmocuz
Also make sure your ZWave-JS installation is running the latest version. There have been some changes.
Also check to see if you got new switches for some nodes... specially for push buttons
Re: Problem sending switch command to Lights
Posted: Saturday 02 August 2025 15:29
by Piet
Lights and switches are not working in both Domoticz (Lights/Switches) and from Z-Wave JS UI
Searched log but cannot find any errors, also don't know what I am looking for
Switches used in timer are (Node 002, 003, 005, 007, 017)
Added current log file in zip format,
help is welcome, regards Piet
Re: Problem sending switch command to Lights
Posted: Saturday 02 August 2025 16:12
by Piet
Thank you,
Updated to the latest Z-wave JS UI version 10.10.0 (as I never ran an update before) this may have been the reason.
Will give an update tomorrow if the light switches are still working.
regards Piet
Re: Problem sending switch command to Lights
Posted: Sunday 03 August 2025 14:28
by Piet
Updating Z-wave JS UI did not do the trick.
Currently both Domoticz dashboard and Z-wave JS UI are not able to turn the lights/switches on/off.
adding log files
Re: Problem sending switch command to Lights
Posted: Sunday 03 August 2025 15:01
by gizmocuz
Okey, it is important to get ZWave-JS to be working first
Depending on how many nodes you have, you might consider reinstalling it (via docker compose of course)
Leave all settings like they are, only configure the MQTT endpoint (ip/port) (and enable the HASS integration), leave all topics the way they are
the default HASS (config) discovery prefix is 'homeassistant'
Retained mode is also on by default
Re: Problem sending switch command to Lights
Posted: Sunday 03 August 2025 16:40
by Piet
reinstalling Z-Wave JS UI from scratch and re-adding the devices is some work as a few are build-in switches.
Strange thing is after a re-boot the system is working perfect for close to 12 hours, after that I am unable to switch light switches on/off.
Don't exactly know which settings I need to change, please advise.
adding
Re: Problem sending switch command to Lights
Posted: Tuesday 05 August 2025 12:29
by Piet
does reinstalling Z-Wave US UI really means I have to re-add all of my nodes, or is there a way to reinstall and restore the Node information?
Instead of Beta currently running the stable version of Domoticz will update tomorrow if this has any effect.
Is there a way to determine why sending a command on/off to a switch is not executed, do find the command in the domoticz.log but am unable to find the same command in any of the Z-wave US UI logs.
Re: Problem sending switch command to Lights
Posted: Tuesday 05 August 2025 14:59
by gizmocuz
I advise to use the latest Domoticz beta
No, you do not have to re-add all your nodes again... but you might need to wake some up
Always create a backup