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
python script to lua
Moderator: leecollings
- jvdz
- Posts: 2329
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: python script to lua
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: python script to lua
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
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
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: python script to lua
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
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
- jvdz
- Posts: 2329
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: python script to lua
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
Tried a restart of Domoticz/Raspberry? ( Sorry, I've lived my whole life with Windows and this is often a standard remedy)
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: python script to lua
Version: 3.8153
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: python script to lua
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
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
- jvdz
- Posts: 2329
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: python script to lua
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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Who is online
Users browsing this forum: No registered users and 1 guest