ok, so I reinstalled the power monitor script.
Works the same as before.
Ran python ~/GBZ-Power-Monitor_PB/gbz_power_monitor.py over SSH and then hit the switch and it shutdown like it should!
Turned it back on and it went back to not shutting down.
I can get the shutdown switch to work by manually starting the power moniter script, but I am at a loss as to why is doesnt run on its own in the background ........
[Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
I did some more trouble shooting tonight and came across a couple of things.
no. 1 - checking for python scripts shows two sets running
no. 2 crontab -l lists the script once like it should
No. 3 after the reinstall the system correctly powers down on low battery warning like it should. So this is an improvement.
no. 1 - checking for python scripts shows two sets running
Code: Select all
root@retropieaaa:~# ps -aef | grep python
pi 439 401 0 01:46 ? 00:00:00 /bin/sh -c /usr/bin/nice -n 19 /usr/bin/python ~/GBZ-Power-Monitor_PB/gbz_power_monitor.py
pi 440 439 0 01:46 ? 00:00:01 /usr/bin/python /home/pi/GBZ-Power-Monitor_PB/gbz_power_monitor.py
root 441 402 0 01:46 ? 00:00:00 /bin/sh -c /usr/bin/nice -n 19 /usr/bin/python ~/GBZ-Power-Monitor_PB/gbz_power_monitor.py
root 444 441 0 01:46 ? 00:00:01 /usr/bin/python /root/GBZ-Power-Monitor_PB/gbz_power_monitor.py
root 1232 1212 0 03:25 pts/0 00:00:00 grep python
Code: Select all
root@retropieaaa:~# crontab -l
@reboot /usr/bin/nice -n 19 /usr/bin/python ~/GBZ-Power-Monitor_PB/gbz_power_monitor.py
-
- Posts: 263
- Joined: Sun May 22, 2016 6:22 am
- Location: France
- Has thanked: 137 times
- Been thanked: 37 times
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
Hi there !
I have a strange behavior with the Safe Shutdown v1.1 and Powerboost 1000C
When I only plug usb to the powerboost, everything is OK
But if I plug the battery to the powerboost, then the script immediately shutdown even if the power button is ON
Any idea ?
[edit] thanks for the help on discord Camble .
I have a strange behavior with the Safe Shutdown v1.1 and Powerboost 1000C
When I only plug usb to the powerboost, everything is OK
But if I plug the battery to the powerboost, then the script immediately shutdown even if the power button is ON
Any idea ?
[edit] thanks for the help on discord Camble .
-
- Posts: 1
- Joined: Tue Aug 21, 2018 1:42 pm
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
Hi!
It's possible do a order or have the structure of the board to reproduce this? Because i have a similiar problem with depletion of battery in RPi Zero W so when the LBO sent's the signal, the pi goes off without problem but the powerboost maintain on so i need to turn off after pi shutdown the powerboost
Regards
erotundo87
It's possible do a order or have the structure of the board to reproduce this? Because i have a similiar problem with depletion of battery in RPi Zero W so when the LBO sent's the signal, the pi goes off without problem but the powerboost maintain on so i need to turn off after pi shutdown the powerboost
Regards
erotundo87
Who is online
Users browsing this forum: No registered users and 1 guest