python script to lua

Moderator: leecollings

User avatar
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

Post 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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
edwin1234
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

Post 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
edwin1234
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

Post 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
User avatar
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

Post 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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
edwin1234
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

Post by edwin1234 »

Version: 3.8153
edwin1234
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

Post 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
User avatar
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

Post 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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest