Skip to content

Add energyGeneratedSanityCheck to filter erroneous energy spikes (#304)#357

Open
jldesignseu wants to merge 1 commit intomacxq:mainfrom
jldesignseu:fix/energy-generated-sanity-check
Open

Add energyGeneratedSanityCheck to filter erroneous energy spikes (#304)#357
jldesignseu wants to merge 1 commit intomacxq:mainfrom
jldesignseu:fix/energy-generated-sanity-check

Conversation

@jldesignseu
Copy link
Copy Markdown

Add optional energyGeneratedSanityCheck config parameter

Adds an optional energyGeneratedSanityCheck float parameter to configuration.yaml that sets a maximum threshold for the "Energy Generated" sensor. When the reported value exceeds this threshold, it is ignored (returns None) to prevent false spikes corrupting energy statistics.

Example config:

sensor:
  - platform: foxess
    deviceID: ...
    deviceSN: ...
    apiKey: ...
    energyGeneratedSanityCheck: 50.0

Fixes #304

…energy values

Adds an optional energyGeneratedSanityCheck parameter to configuration.yaml
that sets a maximum threshold for the Energy Generated sensor. Values exceeding
this threshold are ignored (return None) to prevent false spikes in energy
statistics.

Fixes macxq#304
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

Successfully merging this pull request may close these issues.

Energy Generated spiking after inverter starts

1 participant