Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.26k stars 109 forks source link

[BUG] Battery charge at 100% #387

Closed FeromonDE closed 10 months ago

FeromonDE commented 10 months ago

Bug report

Describe the bug

If the battery charge reaches 100%, the charge changes almost every second in HA.

Additional information

To Reproduce

Charge to 100%

Expected behavior

See the battery gradually discharge

Screenshots

Screenshot_2023-11-04-13-36-46-569_io homeassistant companion android-edit

Blueforcer commented 10 months ago

Im not the developer of the hardware 😜 It's not a firmware bug.

The voltage changes according to brightness and how many pixels are on.

FeromonDE commented 10 months ago

It turns out that the battery charge remains unknown and the device can turn off at any moment?

Blueforcer commented 10 months ago

It turns out that the battery charge remains unknown and the device can turn off at any moment?

Im not sure what you mean.

Kannst auch gern auf deutsch schreiben.

FeromonDE commented 10 months ago

Ich wollte nur den Ladezustand des Akkus überwachen und bei einem bestimmten Wert den Ladevorgang über die Smart-Steckdose einschalten und bei 100 % ausschalten. Das kann ich aber nicht machen, da sich der Ladezustand des Akkus ständig von 0 - 100 % ändert, unabhängig davon, ob er lädt oder nicht.

Blueforcer commented 10 months ago

I don't see any problem to archive this. If percentage > 95% longer than 1min, turn off.

But the cheap battery will die pretty fast if you always push full charging cycles.

FeromonDE commented 10 months ago

I don't see any problem to archive this. If percentage > 95% longer than 1min, turn off.

But the cheap battery will die pretty fast if you always push full charging cycles.

Screenshot_2023-11-04-14-32-00-659_io homeassistant companion android-edit Ladestand innerhalb von 1.5 Minuten, und so springt die Ladung hier und her fast jede 5 Sekunden. Led neben USB-C ist grün.

Blueforcer commented 10 months ago

Dann baue eine Mittelung ein wenn dir das zu viel ist und gehe auf 2min Verzögerung. Die Werte kommen so von der Hardware und werden bereits von der Software geglättet. Die Batterie und Hardware an sich ist halt Schmutz.