wills106 / homeassistant-solax-modbus

SolaX Power Modbus custom_component for Home Assistant (Supports some AlphaESS, Growatt, Sofar, Solinteg, Solis, SRNE, Swatten)
317 stars 101 forks source link

Repeated entries for "number:Solax_grid_export_limit" changes in Logbook #689

Closed pickeringar closed 9 months ago

pickeringar commented 9 months ago

Describe the bug

Multiple entries in logbook (which need not be there?) with potential repeated & unnecessary writes to Inverter

Logbook (Grid Export Limit)

Integration Version

2024.01.2

Homeassistant core version

2024.1.2

Inverter brand

Solax X1-Hybrid-G3

Plugin used

plugin_solax.py

Serial prefix

H1E5

Inverter firmware versions

not known

Connection Method

Modbus over Ethernet into Ethernet port on inverter

Dongle firmware

WiFi 2

Detailed Error Log

No response

Additional context

Still have Solax API running whilst I change over to modbus

wills106 commented 9 months ago

It's not the Integration writing to the Inverter, but the Inverter letting you know what the Inverter is doing. It's basically a duplicate of sensor.solax_inverter_power

If you don't want to use button.solax_grid_export you could just disable it.

pickeringar commented 9 months ago

Not sure I fully understand this control, but i have pressed "button.solax_grid_export" (as seen in the logbook) but the entries for "SolaX Grid Export Limit" are still showing in the Logbook

image

pickeringar commented 9 months ago

Having tried to follow this, I now relaise how much there is in this INtegration, for which I thank you

wills106 commented 9 months ago

If you want to export the details are here

I have a basic automation example

pickeringar commented 9 months ago

Will work my way through those documents again having read them last night.

In the interim I have added "number.solax_grid_export_limit" to the exclusions for "recorder" in the "configuration.yaml" file to stop the entreis in the Logbook