Page 15 of 15

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Posted: Sat Mar 21, 2020 7:09 am
by winnetouch
Ok. I'm back. I reopened my GB Zero, flashed the SD card to star anew, enabled WIFI and SSH, then got to work. Before adding the script the switch worked like a regular on/off switch. Then I followed the instructions here: https://github.com/Camble/Safe-Power-Monitor

I changed AdafruitPowerBoost = True to AdafruitPowerBoost = False

then I added dtoverlay=gpio-poweroff:gpiopin=22,active_low="y" to /boot/config.txt

To be honest I can't remember if I had to do anything special here to add the script to startup. It just says add the script to startup.

EDIT: BTW, the way it stands now it still doesn't work.

EDIT2: I did as you suggested.
Screenshot_1.png
Screenshot_1.png (10.21 KiB) Viewed 8979 times

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Posted: Sat Mar 21, 2020 7:48 am
by the_darkman
This grep output shows that the script is not running, so clearly there could be nothing working.

Please check the section https://github.com/Camble/Safe-Power-Mo ... the-script ... There you see that it has to be added as a cron job in your crontab by executing this line:

Code: Select all

echo "@reboot /usr/bin/nice -n 19 /usr/bin/python ~/Safe-Power-Monitor/safe_power_monitor.py" >> mycron; crontab mycron;rm mycron
Than reboot and do this grep command again. It should show more than only itself

hth
the_darkman

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Posted: Sat Mar 21, 2020 10:26 am
by winnetouch
OMG! HOW DID I MISS THAT? I read the entire thing. Had it working on a previous build even! Thanks man. I guess I have some new toys to tinker with during my countries self isolation period. Stay safe people!

EDIT: And it's a dud again. Sometimes it works sometimes it doesn't. Oh, well I guess it's better then nothing :P

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Posted: Wed Apr 22, 2020 6:50 am
by X4rly
Hello everybody;
I am also trying to build a GBZ and for that I bought a BangGood PSU ( the one that self activates when a load is present). It seems like the re no more orders placed for the shutdown v1.0 for BangGood PSU, so I would like to ask for advice. Should I try to build one by myself? Is it really worth it? I say these from a non-expert pint of view but, if I can shut down via software the GBZ, does it really matter if I switch it of with a mecanical switch or with a mosfet?
And, any way to contact camble??
thanks and cheers ยก

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Posted: Tue Aug 31, 2021 6:01 pm
by ben8763
I understand these are no-longer being made - Camble would you be willing to share a schematic if you're not going to be making more of these?

Or has someone else developed another solution?

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Posted: Mon Oct 25, 2021 7:44 am
by Chiklette
The 1.0 is not available however there's the 1.5 (I bought 2 not so long ago)
I wished the 2.0 was there tho