Go to advanced search

by HombreSolaire
Sun Dec 30, 2018 4:03 pm
Forum: Troubleshooting
Topic: autostarting a phyton programm
Replies: 16
Views: 1046

Re: autostarting a phyton programm

Hi @ all,
The problem is solved! After I put all the stuff on a new SD card eveverything is back to normal.
I woul'd like to thank you all for your support.
Regards
Patrick
by HombreSolaire
Sat Dec 29, 2018 5:58 pm
Forum: Troubleshooting
Topic: autostarting a phyton programm
Replies: 16
Views: 1046

Re: autostarting a phyton programm

pfletch101
that would be a very plausible explanation for this recent behavior... I never thought about that.
Despite I worked already on a solution involving a arduino, just because I never trusted this SD card.
So, I'm going to check my stuff with a new SD card.
Regards
Patrick
by HombreSolaire
Sat Dec 29, 2018 4:00 pm
Forum: Troubleshooting
Topic: autostarting a phyton programm
Replies: 16
Views: 1046

Re: autostarting a phyton programm

Hello, thank you at all. I'm a little puzzled at the moment. I try going with your advice, bensimmo, editing the rc.local like sudo nano //etc/rc.local edit the line sure pi -c python /usr/local/bin/person_enter_leave_v6.py & Exit with control x Save modified buffer with y File Name to Write: //etc/...
by HombreSolaire
Sat Dec 29, 2018 2:28 pm
Forum: Troubleshooting
Topic: autostarting a phyton programm
Replies: 16
Views: 1046

Re: autostarting a phyton programm

Hello n76, thank you for your reply. I really appeciate the time and effort you put into my questions. First of all, setsid works for now. Actually I have now two instances (can I write that?) of my program running pi@raspberrypi:~ $ ps -ef | grep python root 418 1 0 Dec28 ? 00:00:05 python /usr/loc...
by HombreSolaire
Sat Dec 29, 2018 7:43 am
Forum: Troubleshooting
Topic: autostarting a phyton programm
Replies: 16
Views: 1046

Re: autostarting a phyton programm

You guys are right. So let me be a little more specific. My raspberry runs in a so called "headles mode". It is located in an electrical cabinet in my cellar. I get access to this device over ssh. The task this raspberry has to fulfill is twofold. First: monitor the state of an electrical switch Sec...
by HombreSolaire
Fri Dec 28, 2018 2:52 pm
Forum: Troubleshooting
Topic: autostarting a phyton programm
Replies: 16
Views: 1046

autostarting a phyton programm

Hello, I actually experience an odd problem. Since about 3 years I have my raspberry up and running, executing a phyton programm for me. Even after reboots and updates the programm does his job. Well... until last saturday. It stopped working and a reboot did not help. With ps -ef | grep python I ca...
by HombreSolaire
Wed Dec 07, 2016 2:52 pm
Forum: Troubleshooting
Topic: GPIO Server stops after reboot
Replies: 4
Views: 572

Re: GPIO Server stops after reboot

Thanks again,

Code: Select all

sudo systemctl enable pigpiod
worked like a charm
I wonder how can anyone know this stuff? Is it in the man pages of pigpiod? I have no idea?
regards
Hombre
by HombreSolaire
Tue Dec 06, 2016 6:55 pm
Forum: Troubleshooting
Topic: GPIO Server stops after reboot
Replies: 4
Views: 572

Re: GPIO Server stops after reboot

Thanks joan for the quick response.
I will try that.
regards
HombreSolaire
by HombreSolaire
Tue Dec 06, 2016 5:40 pm
Forum: Troubleshooting
Topic: GPIO Server stops after reboot
Replies: 4
Views: 572

GPIO Server stops after reboot

Hello, I use pigpio in a project on my raspi. To get pigpio to work I need to activate "GPIO Server" in the raspi-config (entry AB). Unfortunately after a reboot this Server needs to activate again via raspi-config. Therefore I see no possibility to run my python script at startup (etc/rc.local) I w...

Go to advanced search