This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with GPIO push button inputs following Pypilot upgrade
#11
I think I nailed something, but I could only test it without lcd or hat, so this is not for everybody to test, only for you. You can download it from my fork. It's best to disable pypilot before you run the upgrade. Then, after the upgrade, enable pypilot in openplotter, then run pypilot_hat none at the prompt. Be aware that the web interface at :33333 kicks in only 30 seconds after the pypilot_hat is started.


Attached Files
.txt   pypilot_hat_0.24_fix.txt (Size: 1.34 KB / Downloads: 4)
Reply
#12
yes, the web inteface is delayed, otherwise it would slow the loading of other more important things.
Reply
#13
It's now also in the github master, so you can now run the standard procedure to update pypilot:

Code:
sudo systemctl stop pypilot
cd
sudo rm -Rf pypilot/ pypilot_data/
git clone https://github.com/pypilot/pypilot
cd pypilot
sudo python3 setup.py install
Reply
#14
yes, keep in mind the pypilot_hat and pypilot_web are separate optional services as well
Reply
#15
Yup those services also ought to be explicitly brought down prior to an upgrade. And pypilot_boatimu as well then, right?
Reply
#16
yes, but it is mutually exclusive to pypilot itself.
Reply


Forum Jump:


Users browsing this thread: Accablant, hreuver, 1 Guest(s)