PiSugar / pisugar-power-manager-rs

PiSugar Power Manger in rust language
https://www.pisugar.com/
GNU General Public License v3.0
129 stars 15 forks source link

Pisugar 3 RTC Model and Configuration #74

Open gianmarco-mameli opened 1 year ago

gianmarco-mameli commented 1 year ago

Hi, i've recently buyed a Pisugar 3, for using it with a Raspberry PI Zero W and the Pwnagotchi image. I need to use the hardware RTC onboard, but unfortunately there's no way to make it work. Before buiyng the Pisugar, the Raspberry was equipped with a hardware rtc from Adafruit and it worked like a charm. I uninstalled it before installing the Pisugar, and started with a fresh os image. With the i2cdetect -y 1 command I correctly see the 0x68 address, but I don't find any overlay or config to make it work. I've also tried this guide whit no luck https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time

Anyone has some info or solution, or knows the precise model of the RTC on board of Pisugar 3?

Thanks

mitpre commented 1 year ago

I have the same issue and the creators are unresponsive over their email.

UPDATE: I got the answer from the PiSugar team over email:

Hi, Get it, you want to use hwclock with RTC. We will release a new firmware to slove this problem and give a guidance for this. It won’t take a long time, we will inform you after we finish the guidance Sorry for waiting PiSugar team

So in order to use on board RTC we will have to wait a bit longer.

gianmarco-mameli commented 1 year ago

ok, @mitpre thanks for sharing

mitpre commented 1 year ago

@gianmarco-mameli I got a new update from the team behind pisugar3. You can now use on board RTC. Guide on how to do so is here: https://github.com/PiSugar/PiSugar/wiki/PiSugar-3-Series#rtc-on-board

gianmarco-mameli commented 1 year ago

Hi, @mitpre thank you, I'd give it a try asap and I write back to you to confirm

gianmarco-mameli commented 1 year ago

Hi @mitpre , sorry for my late feedback, the RTC seems working now, thanks