As a new user of Domoticz I am trying to use the system alive checker to keep track of the status of some devices.
I have setup the hardware in Domoticz, added the device, the host can ping the IP address fine, but the (read only) switch never turns on in Domoticz.
I did "program" a script to toggle a switch to check if that would work (many examples out there... using ping) and that turns the switch on/off based on the ping result.
how can I check that Domoticz is executing the system alive checker? I believe there is an issue there, maybe in the installation (already reinstalled, twice!!) or maybe with some permissions.
I see some entries in the Domoticz log leading me to believe the process is being executed
2018-03-27 10:54:59.617 Pinger: Worker stopped...
2018-03-27 10:54:59.630 Pinger: Started
I am in the latest stable version V3.8153, running on lubuntu 16.04 on an Oracle VM Virtualbox.
Any help is greatly appreciated.
UPDATE: I got it working by Running Domoticz as Root. It seems root privs are necessary for pinger to work (totally unnecessary, IMHO)
update 2: spoke too soon. System alive checker works if I start it manually from the Domoticz directory using sudo ./Domoticz
when trying to use systemctl and start it as a service, it still does not work. (probably because of some permissions issue.
here is the domoticsz.service file
- Spoiler: show