Skip to content

Issue fix no actual shutdown in qtx120x.py and qtx120xTerminal.py#11

Merged
suptronics merged 3 commits into
suptronics:mainfrom
ArjenR:issuefix-no-shutdown
May 13, 2025
Merged

Issue fix no actual shutdown in qtx120x.py and qtx120xTerminal.py#11
suptronics merged 3 commits into
suptronics:mainfrom
ArjenR:issuefix-no-shutdown

Conversation

@ArjenR
Copy link
Copy Markdown
Contributor

@ArjenR ArjenR commented Jan 16, 2025

There is an issue with qtx120x.py and qtx120xTerminal.py

They looped through the decision tree every minute/cycle. Determined AC failure and again and again initiated a 5 minute shutdown, but thus actually postponing the shutdown.

I changed the code so it only submits the shutdown once.
Added code to handle ac restore in that time period.

Additionally:
Removed the initialization function and just call the update function for initialization. Since it is exactly the same code.
Changed quotes in warnings for the shutdown message.

@ArjenR ArjenR marked this pull request as ready for review January 16, 2025 09:39
@suptronics suptronics merged commit 0d3823c into suptronics:main May 13, 2025
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

Successfully merging this pull request may close these issues.

2 participants