I encountered a weird (at least for me) problem with Raspberry, Domoticz and Z-Wave. My configuration is:
- Raspberry 1, model B, Rev 2
- RaZberry (shield), HW Rev. 2.0, 11/04/2018
- Domoticz V4.10717
- Raspbian Buster Lite (Version 10)
- one Fibaro wall switch FGWPE/F-102
The logfile shows:Error sending switch command, check device/hardware !
Having this problem for many weeks now, I discovered that restarting Domoticz in most cases solves the problem.That's why I have made a (virtual) switch in Domoticz which triggers in Blockly a tiny little bash script containing the command:Error: OpenZWave: Node not found! (NodeID: 2, 0x02)
Code: Select all
sudo service domoticz restart
To narrow down the problem I took a new SD-card, downloaded the latest distro (2020-02-13-raspbian-buster-lite.img) and installed this (with some minor changes in rasp-config). After that I installed Z-Wave using (from z-wave.me):
Code: Select all
-q -O - https://storage.z-wave.me/RaspbianInstall | sudo bash
Then I installed Domoticz using "the easy way" from the wiki:
Code: Select all
curl -L https://install.domoticz.com | bash
Rebooting shows the well known error with Fibaro (see above).
Sometimes I can include the node by pressing the button on the switch but this is not a good solution.
I have studied the logfiles (in /var/log: syslog, z-way-server.log, daemon.log and a few more). No clue whatsoever, as far as I could see.
But I consider restarting Domoticz in case of a failure in Z-Wave very unsatisfactory; one could say it is a poor man's solution. What I would like to know:
- are more people encountering this very problem?
- what would you suggest to solve my problem in a proper way?