geeekpi / upsv3

It is demo code for 52Pi UPS (With RTC & Coulometer) For Raspberry Pi SKU: EP-0118
30 stars 3 forks source link

Is it possible to turn off the UPS board with `shutdown now` #5

Closed adricen closed 3 years ago

adricen commented 4 years ago

Hello,

I was wondering if it was possible to add a turn off function with I2C to the UPS board when calling shutdown now or something similar on a terminal.

Is it possible that UPS board will be connect to this signal turn off and be on again pushing the on button ?

Thanks for all the work :clap:

jpcwilliams commented 4 years ago

Would also love this as a feature. Currently after shutting down you then have to hold the power button to fully shut off and then click again to reboot which is a bit of a pain

yoyojacky commented 3 years ago

sorry, this version can not do that , please try this : https://wiki.52pi.com/index.php/UPS_Plus_SKU:_EP-0136