Page 2 of 2
Re: python script to lua
Posted: Sunday 10 December 2017 11:05
by jvdz
So it really looks like there is a basic issue running the /home/pi/domoticz/scripts/servoscript.sh bash script from domoticz.
What do you see when you do the following command from the commandprompt?:
ls -l /home/pi/domoticz/scripts/serv*.*
Jos
Re: python script to lua
Posted: Sunday 10 December 2017 13:59
by edwin1234
Hi jos
heres the result
-rwxr-xr-x 1 pi pi 77 dec 9 15:57 /home/pi/domoticz/scripts/serverscript.sh
-rwxr-xr-x 1 pi pi 573 dec 10 10:44 /home/pi/domoticz/scripts/servoscript.py
-rwxrwxrwx 1 pi pi 105 dec 10 08:07 /home/pi/domoticz/scripts/servoscript.sh
-rwxr-xr-x 1 pi pi 78 dec 9 19:27 /home/pi/domoticz/scripts/servoscript.sh.save
Re: python script to lua
Posted: Sunday 10 December 2017 19:19
by edwin1234
Hi Jos,
Youre right i also think theres a problem with domoticz and running scripts
My bel.sh script doesn run either from domoticz
And gives the same -1 error
That script worked for months
Do you now what could be wrong?
Edwin
Re: python script to lua
Posted: Sunday 10 December 2017 19:21
by jvdz
Which version are you running?
Tried a restart of Domoticz/Raspberry? ( Sorry, I've lived my whole life with Windows and this is often a standard remedy)
Jos
Re: python script to lua
Posted: Sunday 10 December 2017 19:50
by edwin1234
Version: 3.8153
Re: python script to lua
Posted: Sunday 10 December 2017 20:11
by edwin1234
Jos,
you won`t believe it. i did a restart and everything works

even the servo script.....
it took me almost the whole day and a headache
zag door de bomen het bos niet meer
thank u very much for all your help.
greetings
edwin
Re: python script to lua
Posted: Sunday 10 December 2017 20:33
by jvdz
edwin1234 wrote: ↑Sunday 10 December 2017 20:11
zag door de bomen het bos niet meer

thank u very much for all your help.
Top!
Shit happens, and as stated, a computer can get into an undefined state and does need a reboot every now and then

Cheers,
Jos