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

Shutdown countdown in minutes? #91

Open
kralverde opened this issue Nov 29, 2021 · 3 comments
Open

Shutdown countdown in minutes? #91

kralverde opened this issue Nov 29, 2021 · 3 comments

Comments

@kralverde
Copy link

kralverde commented Nov 29, 2021

It appears the shutdown countdown is in minutes rather than seconds (as per https://wiki.52pi.com/index.php/EP-0136) in firmware v10

Is there a change log for changes like this?

Following this, is there a reason for values 1-9 to be disallowed in 0x18 now that the time is in minutes?

@frtz13
Copy link

frtz13 commented Nov 30, 2021

with a value of 60 at register 0x18, my UPS shuts down in one minute, as specified (with fw v10).

@kralverde
Copy link
Author

I will do more testing. Is there any possible reason for this behavior change? Is there a more in-depth register map than the one on 52pi.com?

@ArjenR49
Copy link

ArjenR49 commented Jun 8, 2022

In f/w v.10 countdown timer at 0x1A will count down and cut the power. Then the UPS waits 10 minutes before restoring power. I haven't seen this documented so one could easily think nothing is going to happen, but it will ... after 10 minutes. I don't know if the 10 minutes can be changed.
I write a python script to do that power cycle with a proper shutdown of the OS in those 60 seconds:
PowerCycle.py at https://github.com/ArjenR49/UPS-Plus

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

3 participants