PiSupply / PiJuice

Resources for PiJuice HAT for Raspberry Pi - use your Pi Anywhere
https://uk.pi-supply.com/collections/pijuice/products/pijuice-portable-power-raspberry-pi
GNU General Public License v3.0
437 stars 104 forks source link

calling pj.power.GetPowerOff() returns [255] #1099

Open pabou38 opened 1 week ago

pabou38 commented 1 week ago

Hello

firmware 1.4

calling pj.power.GetPowerOff() returns [255] and not the value set in GUI likewize, calling pj.power.GetWakeUpOnCharge() returns 127, and not the value set in GUI

after a SetPowerOff() , the value returned by GetPowerOff() is indeed the one specified in SetPowerOff() (same for wakeup).

Should I trust the value set in GUI and do not bother calling Set/GetPowerOff() ?
or should I rather call SetPowerOff() each time the PI application runs ? I do not mind, however I am worried of possible EEPROM wear; if every call write to EEPROM

Thanks (my PIJuice have been in production for many years, I just upgraded the battery)