Skip to content

Aldi CasaLux V1 + usage_tracker = weird totals for me #12

Description

@MnM001

Hi,

I have noticed that you have managed to get the usage_tracker going for the Aldi rgbw (v1) led lights.

I have been trying to incorporate that into my yaml too but I get some weird issues.

The first time I turn the light on (or after a reboot or flash of new esphome firmware as my light is set to turn on automatically at start) duration for last use initially shows N/A until I turn if off ). When I turn it off it fills the time with 489712.500 h. That carries over to the duration lifetime use.
This issue happens every time I reboot the light or cut power to it.

After I turn it off for the second time, duration last use starts showing the real time it was on for and I think it also adds it correctly to the duration lifetime use but by this time the damage is already done as duration lifetime use is already wrong (the 489712.500 h initial hours are already there)

Each time I reboot the light (for whatever reason) the cycle starts again and every reboot it adds another 489712.500 h to the total.

If you have any idea on how to sort this that will be great.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions