People,
How can i test a installed script on my RPi.
I have made and installed 2 scripts in the directory "scripts" and rebooted the RPi
Is there a command of something?
Domoticz starts perfectly without complain or error message (is this the test?).
Sorry if I wrote this topic on the wrong place, I will move it after a complain
Regards
Jan
how to test a RPi script
Moderators: leecollings, remb0
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: how to test a RPi script
I though you won't need to reboot to have the scripts running under domoticz/scripts/lua folder....
anyway.... what are those scripts supposed to do? is that happend?
in general, for debug issues, it is good to place a print("Ehi!!, I'm running a script!!") at the top to ensure that it is running
anyway.... what are those scripts supposed to do? is that happend?
in general, for debug issues, it is good to place a print("Ehi!!, I'm running a script!!") at the top to ensure that it is running
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 34
- Joined: Friday 17 June 2016 7:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spijkenisse
- Contact:
Re: how to test a RPi script
Any script by sudo ./(name of the script)
I found that I can run the script (in this case by) sudo ./domoticz_state_checker.sh
It says then: Domoticz is running. Nothing to do.
I think it is solved.
Thank you
And in the future I publish a print, sorry .....
Google is my friend
I found that I can run the script (in this case by) sudo ./domoticz_state_checker.sh
It says then: Domoticz is running. Nothing to do.
I think it is solved.
Thank you
And in the future I publish a print, sorry .....
Google is my friend
Who is online
Users browsing this forum: No registered users and 0 guests