Skip to content

Incorrect sensor values #268

@charles-sd

Description

@charles-sd

Hey folks!

I have been running this integration for the past month and a bit. Thank you and great job @StephanJoubert !
I am running a vanilla configuration of the integration installed via HACS, and connecting to a new Deye 8k inverter using the included LSW-3 WiFi Logger.

I have also created some automations using the sensors, but found that they misfire several times per day due to incorrect data. This happens when my WiFi logger experiences signal problems. I would expect potential gaps in data, but factually incorrect data is being reported instead, tripping up my automation logic.

Example:
I am attaching a history graph to demonstrate the problem. The 'status_connection' sensor has some gaps. I accept this is the reality that comes with a mediocre WiFi signal. What I was not expecting however, are the small blips of incorrect data that coincides with this. These can be seen as the Battery SOC dropping from 100% to 0% several times, and the 'Grid-connected status' briefly changing to Off-Grid multiple times. In this example there was a true Off-Grid event from 06:00 to 08:10. The inverter was not Off-Grid at any other point during the day.

It does not appear as if this integration has any trace logging available. I plan to look at the code and try debug as I suspect this is the state not being correctly maintained when an error occurs. Unless anyone can point out another way to fault find this?

Solarman flapping 2023-03-12

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