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

Don't overwrite blue icon in sleep-loop #4

Open
CaroHemberger opened this issue Feb 10, 2023 · 2 comments
Open

Don't overwrite blue icon in sleep-loop #4

CaroHemberger opened this issue Feb 10, 2023 · 2 comments

Comments

@CaroHemberger
Copy link
Owner

Currently the blue icon meaning "connecting/disconnecting" gets overwritten if the connect/disconnect process takes longer than the specified sleepTimer, since the connection is checked every sleepTimer seconds and then the red or green icons are set.

There is currently no global "connecting" state and I don't know how easily it could be implemented, since again due to the "bash -c command" part, child processes are triggered that are seperate from the main process

@MartinLoeper
Copy link
Collaborator

How about writing a "flag" to filesystem with touch and just check for its existence via if [ -f FLAG ]; then ...? 🤓

@CaroHemberger
Copy link
Owner Author

CaroHemberger commented Feb 11, 2023

this may actually have been fixed by adding the check for ""Web authentication required to connect" when updating state

5b9ea64

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

2 participants