Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pabou38 opened this issue Sep 27, 2024 · 0 comments
Open

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

pabou38 opened this issue Sep 27, 2024 · 0 comments

Comments

@pabou38
Copy link

pabou38 commented Sep 27, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant