NOALBS / liveu_stats_bot

Adds a chat command to check the current modems and bitrate on the liveu.
MIT License
12 stars 3 forks source link

Improvements #4

Open DigibitDK opened 1 year ago

DigibitDK commented 1 year ago

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 commented 1 year ago

Hi @DigibitDK ,

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

DigibitDK commented 1 year ago

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 :)