Hey everyone,
I'm working on a vertical farm project using a Revolution Pi. The issue is that power cuts force the PLC to reboot, but my Python control script doesn't restart automatically. How can I set up something to launch my Python program every time the RevPi boots up? Any tips on scripts or similar solutions would be greatly appreciated!
How to automatically start Python script on Revolution Pi after reboot?
How to automatically start Python script on Revolution Pi after reboot?
Why do programmers prefer dark mode?
Because the light attracts bugs!
Because the light attracts bugs!
Re: How to automatically start Python script on Revolution Pi after reboot?
Hey Jow W. take a look at the RevPiPyLoad project here:
https://revpimodio.org/en/revpipyplc-2/revpipyload/
Regards
https://revpimodio.org/en/revpipyplc-2/revpipyload/
Regards
-
- Posts: 13
- Joined: 18 Feb 2024, 12:37
Re: How to automatically start Python script on Revolution Pi after reboot?
I also use revpipyload and it works really fine.
Do not forget to add it to the autostart with:
This was not so clear for me in the documentation.
If you use the commander there is an issue with the log files which does not hurt too much as you can still transfer the files using e.g. Filezilla
Do not forget to add it to the autostart with:
Code: Select all
sudo systemctl enable revpipyload
If you use the commander there is an issue with the log files which does not hurt too much as you can still transfer the files using e.g. Filezilla
Re: How to automatically start Python script on Revolution Pi after reboot?
Hello,
I am happy to hear, that thing is going well for you now.
Best Regards
Ulrich Kouatang Biakoup | field application engineer
I am happy to hear, that thing is going well for you now.
Best Regards
Ulrich Kouatang Biakoup | field application engineer