Search found 3 matches

by Preetz
Tuesday 01 September 2020 9:52
Forum: Switches and Scenes
Topic: Outputs must be off after a restart
Replies: 1
Views: 328

Re: Outputs must be off after a restart

Additional background: Im building up a controllsystem for a friends's terrarium. One of its devices is a sprinkler, which must not spray for too long. This is a question of live and death for the terariums residents. In case of a failure while the sprinkler is on, after restart the sprinkler stays ...
by Preetz
Tuesday 01 September 2020 9:38
Forum: Other questions and discussions
Topic: how run some commands in domoticz startup?
Replies: 9
Views: 2873

Re: how run some commands in domoticz startup?

Code: Select all

/usr/bin/curl -s "http://127.0.0.1:8080/json.htm?type=command&param=switchlight&idx=1&switchcmd=Off"
Executing this line from shell works fine.
Pasted in /etc/init.d/domoticz.sh in do_start() method, it does not.

Does anyone have a clue what I'm missing?
by Preetz
Monday 31 August 2020 22:09
Forum: Switches and Scenes
Topic: Outputs must be off after a restart
Replies: 1
Views: 328

Outputs must be off after a restart

After a restart, for example after a power failure, all my outputs (GPIOs) are set to their last known state.
I'd rather like them to stay turned off consequently.
What is the best way to do so?