Search found 4 matches

by tullgren
Wednesday 13 July 2016 9:48
Forum: LUA
Topic: Need some help with basic LUA
Replies: 5
Views: 2026

Need some help with basic LUA

Hi, I'm trying to get started with LUA. Grateful if anyone can help me in the right direction. The script runs and lights the lamp when the temperature is above 20 degrees. But I get an error message in the log. I suspect that 20 is a string value. But do not understand how to convert the value. The ...
by tullgren
Monday 13 June 2016 19:45
Forum: Other questions and discussions
Topic: Action On Bash Scripts return -1
Replies: 5
Views: 1969

Re: Action On Bash Scripts return -1

Hi,

I found a solution. When I tried to reboot the system from domoticz menu. I i notised in the log that the reboot gave the same error.
I changed the domoticz folder and my script folder to permission to 7777 and rebooted from the ssh terminal.

And it Works!
by tullgren
Monday 13 June 2016 19:30
Forum: Other questions and discussions
Topic: Action On Bash Scripts return -1
Replies: 5
Views: 1969

Re: Action On Bash Scripts return -1

Hi,

Thanks for your answer, but the script has worked before and now it not working any more.
Also the script will run i the ssh terminal whit no problem.

Thankful if you or someone else have more input to share.

//Mikael
by tullgren
Monday 13 June 2016 16:13
Forum: Other questions and discussions
Topic: Action On Bash Scripts return -1
Replies: 5
Views: 1969

Re: Action On Bash Scripts return -1

Hi,

I have exactly the same problem.
But I'm not tempted to reinstall domoticz.
Does anyone have a solution? Or know what error -1 means?

//Regards Mikael