Search found 10 matches

by Pasibun
Thursday 01 February 2018 18:08
Forum: Temperature and Weather
Topic: DHT 11 on Raspberry 2
Replies: 24
Views: 19440

Re: DHT 11 on Raspberry 2

its been a year since some one posted something here. But mayby some of you can help me out. I got everything working except the bash script. When i try to run the bash script i got this output: pi@raspberrypi:~ $ /home/pi/dev-domoticz/scripts/dht_22.sh 21.3 45.1 HTTP/1.1 401 Unauthorized Content ...
by Pasibun
Saturday 27 January 2018 12:54
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

Well guys thanks for helping!
The virtual switch worked out!
The lamps are now responding on my virtual switch!
by Pasibun
Thursday 25 January 2018 21:10
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

could you setup a new virtual switch that triggers the same script on the on action and see what it does ? maybe start without on delay what version of domoticz are you on Domoticz version: 3.8833 And what exactly do you mean by "new virtual switch"? I removed the delay and now i get a error: Error ...
by Pasibun
Thursday 25 January 2018 16:17
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

Looking at the second post it seems that for the 'On' action you call the MasterOff script as well. Verstuurd vanaf mijn SM-G800F met Tapatalk True, i did that because my lights were on, so i forced it to go off. I currently have call the "on" bash script instead of off. could you setup a new ...
by Pasibun
Thursday 25 January 2018 10:11
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

Well, when i use the Domoticz light switch, it issnt creating a logfile, so script issn't called properly. I changed the location of the script but still no luck. When i run "/home/pi/dev-domoticz/scripts/milightMasterOn.sh" in the console it just works. So.. still no luck and still no idea what i ...
by Pasibun
Thursday 25 January 2018 8:58
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

Well, when i use the Domoticz light switch, it issnt creating a logfile, so script issn't called properly. I changed the location of the script but still no luck. When i run "/home/pi/dev-domoticz/scripts/milightMasterOn.sh" in the console it just works. So.. still no luck and still no idea what i'm ...
by Pasibun
Wednesday 24 January 2018 19:31
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

Just create one on a place you like ;-) Example: pi@raspberrypi:~ $ cd /tmp pi@raspberrypi:/tmp $ sudo touch logfile.tst Now you've created a logfile with the name logfile.tst in the /tmp directory Then "echo "Domoticz was here" > /tmp/logfile.tst" Succes Ahh lol, sorry long day... Thanks, will ...
by Pasibun
Wednesday 24 January 2018 18:29
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

File permissions: pi@raspberrypi: ~ $ ls -l dev-domoticz/scripts/milightMasterOn.sh -rwxr-xr-x 1 root root 138 Jan 24 17:26 dev-domoticz/scripts/milightMasterOn.sh pi@raspberrypi: ~ $ ls -l dev-domoticz/scripts/milightMasterOff.sh -rwxr-xr-x 1 pi pi 138 Jan 24 17:26 dev-domoticz/scripts ...
by Pasibun
Tuesday 23 January 2018 17:17
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

Re: new lightswitch problems

waaren wrote: Tuesday 23 January 2018 8:18 You need an extra /

two for the syntax: script:// and one for your path to script.

script:///home/pi/dev-domoticz/scripts/milightMasterOff.sh
Hej waaren,

thanks for responding!
I changes the lines with an extra "/" but still no succes..
Any other ideas?
by Pasibun
Monday 22 January 2018 21:43
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: new lightswitch problems
Replies: 15
Views: 10903

new lightswitch problems

Hej guys, First of all, im new with domoticz. So mayby i missed something.. I want to control my Milight lamps with Domoticz. I have it working without domoticz, here for i use a nrf24l01 chip, combined with this projct: http://torsten-traenkner.de/wissen/smarthome/openmilight.php . I want to add ...