
But why an extra command for "On"

Moderator: leecollings
Can you please elaborate on this? What do you see in the domoticz log?
You can share all relevant Blockly's / scripts here.
Code: Select all
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log" # or any other OS file
#DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error, debug" # debug disabled for now
DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error" # these loglevels will make it to the logfile
#DAEMON_ARGS="$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id"
sudo systemctl daemon-reload
sudo service domoticz stop
sudo service domoticz start
sudo tail -f /var/log/domoticz.log
You can post image files (choose attachments ) and code ( between </> ) on this forum.
Any text after the # is a comment and is ignored in the /etc/init.d/domoticz.sh (and in any other linux shell script)
Ok the code works fine!, Why didn't it go a few days ago?waaren wrote: ↑Sunday 30 August 2020 17:49You can share all relevant Blockly's / scripts here.
Do you have set an On- or Off delay or On- or Off action for this device?
The domoticz logfile location and other settings are defined in /etc/init.d/domoticz.sh
the relevant settings are in set to the DAEMON_ARGS var.
with an editor of choiceCode: Select all
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log" # or any other OS file #DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error, debug" # debug disabled for now DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error" # these loglevels will make it to the logfile #DAEMON_ARGS="$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id" sudo systemctl daemon-reload sudo service domoticz stop sudo service domoticz start sudo tail -f /var/log/domoticz.log
Users browsing this forum: No registered users and 1 guest