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

Improvements #4

Open
DigibitDK opened this issue Mar 10, 2023 · 2 comments
Open

Improvements #4

DigibitDK opened this issue Mar 10, 2023 · 2 comments

Comments

@DigibitDK
Copy link

DigibitDK commented Mar 10, 2023

If power-connection to LiveU is not 'perfect', and LiveU sometimes gets disconnection from power-source and back on, it will spam the chat like:

LiveU: Now charging
LiveU: Fully charged
LiveU: Now charging
LiveU: Fully charged
etc.

Option: Possibility the disable 'charge status', to disable the notifications above, but still keep percentage-status notifications. So it will not notify anything before eg. 50% if that' s the first warning-level in config.

@715209
Copy link
Member

715209 commented Mar 12, 2023

Hi @DigibitDK ,

The battery status gets checked every 10 seconds, I could change that into a configurable setting.

@DigibitDK
Copy link
Author

Hi @715209 :)

Not sure that will do the trick. Of course it will get rid of spamming, but it will still (under the right circumstances) post 'Now charging' and 'Fully charged' in chat from time to time i guess. But it might be enough to be acceptable.

If its the easiest fix, lets try it out :)

715209 added a commit that referenced this issue Mar 12, 2023
- The sleep time is now configurable by changing `batteryInterval` or
  `modemsInterval`.
- Enable or disable battery charging notifications with `batteryCharging`.

Issue: #4
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