Integration Solar inverter huawei 2000L

I find that on this type of connection when the master inverter goes in stendbay stop sharing data with HA.problem is because the meter is not sharing data in that period when master inverter is in stand-by mode(sleep mode without production ).

Is there any setup in the inverter to receive data 24/7 ???

It looks like they managed to fix it.

any news on this?

Are you thinking of a battery?

Hi,

i have a luna2000 battery. I was experimenting with the fixed charging periods, but I couldn’t find out what it was actually doing. Afterwards I also couldn’t delete the periods, so I was curious what it is actually for. Any insights are welcome :slight_smile:

Hello,

I have successfully integrated Huawei Solar in HA and get the data imported via modbus without problems.

But I only see the sensors and can not configure anything. For example, I want to fully charge the battery at low prices, but can not set this anywhere.

I am missing this panel:

Can you help me?

Thanks in advance!

Edit: Deinstalled and reinstalled it with “extended” options. Now it works.

Hi, how have you fixed this issue? My inverter is also reporting strange values.

Hi, I saw at least 3 posts in this thread where people have issues with connection to inverted being lost after each night. I have the same issue.

I realized that it is probably rear case with such inverter setup that causes the issue. Mine inverter was setup in such way that when energy output is 0w (sun goes down) after some time inverter shuts down itself until the morning and when sun is up it wakes up automatically.
when i say shuts down I mean it is totally off, no leds are blinking. neither wifi AP is available which causes HA to inactivate this integration due to broken connection.

Is there anyone who could help either creating script to disable and reenable this integration based on sunrise/ sunset times?
Or maybe suggest what setting in the inverter configuration is responsible for the shutdown?

Hello.
Does anyone use the wlcrs/huawei_solar integration and have optimizers connected?

I would like to receive data from the optimizer, specifically the reading of alarms, which are not included in the integration by default.

Page 20:
https://www.photovoltaikforum.com/core/attachment/315028-solar-inverter-modbus-interface-definitions-pdf

Maybe someone has already downloaded data via modbus and has a solution for it, or modified the above. integration to do this?

Unfortunately, I sent a request to the author of the integration for a new sensor, but there was no response.

Thanks

you can enable/disable charge from grid with ha automations…

Hi, i assume i am watched the right YOUTUBE video and I got HACS installed, then I got Huawei solar on and with the connecting I did a IP can of my network and found On SUN2000-102286520769.modem 192.168.0.45 C4:69:F0:2E:78:DC so I tried 192.168.0.45:502 and 192.168.0.45:6607 to no luck, any advice what I should try next?

Are you sure modbus access is enabled? If not check with your solateur and have him to enable modbus access on your modem/WLAN-stick

Hello,

Thank you in advance for this integration! It took me a few days to set everything up, I still have to figure out the battery charging automation :slight_smile:

I thought I’d share the Solar information in case anyone else needs it.

- Mushroom card :mushroom:
- Apexcharts card :chart:
- Card mod :credit_card:
- Layout card
- Custom brand icons :information_source:

  1. More Inverter active power (W) - active and inactive status (pulses blue if active, gray if inverter does not detect sun and is not charging)
  2. PW Power summary for several inverters (W) – active and inactive status (orange if active, gray if not charging)
  3. Inverters with Daily yield display (kWh)
  4. Accumulator charge level
  5. Apexcharts - Return to Grid - Grid Consumption - Total Yield 24h. In the middle, current power is indicated with flow direction (the icon and text are green if there is an export and the icon and text are red if there is an import.
  6. Daily Grid Consumption (kWh)
  7. Return to grid (kWh)
  8. Daily Yield (kWh)
type: vertical-stack
cards:
  - type: custom:layout-card
    layout_type: grid
    layout:
      width: 100%
      grid-template-columns: 1fr 1fr 1fr
    cards:
      - type: custom:mushroom-template-card
        entity: sensor.sun2000_10ktl_active_power
        primary: 10KTL Inverter
        secondary: '{{(states(''sensor.sun2000_10ktl_active_power''))}} W'
        layout: vertical
        fill_container: false
        icon: |
          {% set state=states('sensor.sun2000_10ktl_device_status') %}
          {% if state=='On-grid' %}
          phu:huawei-solar-inverter
          {% elif state!='Standby:no irradiation' %}
          phu:huawei-solar-inverter
          {% endif %}
        icon_color: |
          {% set state=states('sensor.sun2000_10ktl_device_status') %}
          {% if state=='On-grid' %}
          #41bdf5
          {% elif state!='Standby:no irradiation' %}
          disabled
          {% endif %}
        secondary_info: state
        multiline_secondary: false
        badge_icon: ''
        badge_color: ''
        tap_action:
          action: more-info
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape {
                
                --shape-color: none !important;
                
                {% if is_state('sensor.sun2000_10ktl_device_status', 'On-grid') %}
                --shape-animation: blink 5s linear infinite;
                {% endif %}
              }
              @keyframes blink {
                  30% {opacity: 0;}
              }
            .: |
              ha-card {
                margin-top: 10px;
                --icon-size: 50px;
                --icon-symbol-size: 30px;
                --card-secondary-font-size: 10px;
                --card-primary-font-size: 12px;
                padding-top: 5px !important;
                padding-bottom: 5px !important;
              }
      - type: custom:mushroom-template-card
        entity: sensor.sun2000_6ktl_active_power
        primary: 6KTL Inverter
        secondary: '{{(states(''sensor.sun2000_6ktl_active_power''))}} W'
        layout: vertical
        fill_container: false
        icon: |
          {% set state=states('sensor.sun2000_6ktl_device_status') %}
          {% if state=='On-grid' %}
          phu:huawei-solar-inverter
          {% elif state!='Standby:no irradiation' %}
          phu:huawei-solar-inverter
          {% endif %}
        icon_color: |
          {% set state=states('sensor.sun2000_6ktl_device_status') %}
          {% if state=='On-grid' %}
          #41bdf5
          {% elif state!='Standby:no irradiation' %}
          disabled
          {% endif %}
        secondary_info: state
        multiline_secondary: false
        tap_action:
          action: more-info
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape {
                
                --shape-color: none !important;
                
                {% if is_state('sensor.sun2000_6ktl_device_status', 'On-grid') %}
                --shape-animation: blink 5s linear infinite;
                {% endif %}
              }
              @keyframes blink {
                  30% {opacity: 0;}
              }
            .: |
              ha-card {
                margin-top: 10px;
                --icon-size: 50px;
                --icon-symbol-size: 30px;
                --card-secondary-font-size: 10px;
                --card-primary-font-size: 12px;
                padding-top: 5px !important;
                padding-bottom: 5px !important;
              }
      - type: custom:mushroom-template-card
        entity: sensor.solar_inverter_daily_power
        primary: PV Power
        secondary: |-
          {% set state=states('sensor.solar_inverter_daily_power') %}
                {% if state | is_number and state | float > 0 %}
                  {{(states('sensor.solar_inverter_daily_power'))}} W
                {% elif state | is_number and state | float < 0 %}
                  {{(states('sensor.solar_inverter_daily_power'))}} W
                {% else %}
                  {{(states('sensor.solar_inverter_daily_power'))}} W
                {% endif %}
        layout: vertical
        fill_container: false
        icon: |-
          {% set state=states('sensor.solar_inverter_daily_power') %}
                {% if state | is_number and state | float > 5 %}
                  mdi:solar-panel-large
                {% elif state | is_number and state | float < 0 %}
                  mdi:solar-panel-large
                {% else %}
                  mdi:grid-off
                {% endif %}
        icon_color: |-
          {% set state=states('sensor.solar_inverter_daily_power') %}
                {% if state | is_number and state | float > 0 %}
                  #FFA500
                {% elif state | is_number and state | float < 0 %}
                  #9ACD32
                {% else %}
                  disabled
                {% endif %}
        secondary_info: state
        multiline_secondary: true
        tap_action:
          action: more-info
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape {
                
                --shape-color: none !important;
            .: |
              ha-card {
                margin-top: 10px;
                --icon-size: 50px;
                --icon-symbol-size: 30px;
                --card-secondary-font-size: 10px;
                --card-primary-font-size: 12px;
                padding-top: 5px !important;
                padding-bottom: 5px !important;
                --secondary-text-color:  {% set state=states('sensor.solar_inverter_daily_power') %} {% if state | is_number
                  and state | float > 100 %}
                  #9ACD32
                {% elif state | is_number and state | float < 0 %}
                  #f77c7c
                {% else %}
                  #A9A9A9
                {% endif %};
                }
              }
    card_mod:
      style: |
        ha-card {
          height: 150px;
        }
  - type: custom:layout-card
    layout_type: grid
    layout:
      width: 100%
      grid-template-columns: 1fr 2fr
      grid-template-rows: auto
      margin: 0px
      padding: 0px
    cards:
      - type: custom:stack-in-card
        cards:
          - type: custom:mushroom-entity-card
            entity: sensor.sun2000_10ktl_daily_yield
            icon: mdi:solar-power-variant
            icon_color: '#FFA500'
            hold_action:
              action: none
            primary_info: name
            secondary_info: state
            name: 10KTL
            card_mod:
              style: |
                :host {
                  --mush-card-primary-font-size: 12px;
                  --mush-card-secondary-font-size: 10px;
                }
                ha-card {
                  margin-top: -10px;
                  margin-right: -8px;
                }
          - type: custom:mushroom-entity-card
            entity: sensor.sun2000_6ktl_daily_yield
            icon_color: '#FFA500'
            icon: mdi:solar-power-variant
            hold_action:
              action: none
            primary_info: name
            secondary_info: state
            name: 6KTL
            card_mod:
              style: |
                :host {
                  --mush-card-primary-font-size: 12px;
                  --mush-card-secondary-font-size: 10px;
                }
                ha-card {
                  margin-top: -10px;
                  margin-right: -8px;
                }
          - type: custom:mushroom-entity-card
            entity: sensor.luna2000_battery_state_of_capacity
            icon_color: '#9ACD32'
            hold_action:
              action: none
            primary_info: name
            secondary_info: state
            name: Battery
            card_mod:
              style: |
                :host {
                  --mush-card-primary-font-size: 12px;
                  --mush-card-secondary-font-size: 10px;
                }
                ha-card {
                  margin-top: -10px;
                  margin-right: -8px;
                }
        card_mod:
          style: |
            ha-card {

              --ha-card-box-shadow: 0px;
            }
      - type: custom:stack-in-card
        cards:
          - type: custom:apexcharts-card
            experimental:
              color_threshold: true
            chart_type: radialBar
            graph_span: 5day1s
            span:
              end: day
            show:
              loading: false
            cache: true
            update_interval: 10min
            apex_config:
              chart:
                height: 250px
              plotOptions:
                radialBar:
                  offsetY: -20
                  startAngle: -135
                  endAngle: 135
                  hollow:
                    size: 45%
                  dataLabels:
                    name:
                      show: false
                    value:
                      show: false
              legend:
                show: false
              stroke:
                dashArray: 0
                lineCap: flat
            series:
              - entity: sensor.p1_teljes_energia_visszataplalas
                type: area
                name: CPU
                color_threshold:
                  - value: 0
                    color: rgb(183, 201, 145)
                  - value: 10
                    color: rgb(173, 199, 117)
                  - value: 30
                    color: rgb(154, 205, 50)
                group_by:
                  func: diff
                  duration: 1d
              - entity: sensor.p1_teljes_energia_vetelezes
                type: area
                name: RAM
                color_threshold:
                  - value: 0
                    color: rgb(245, 201, 201)
                  - value: 25
                    color: rgb(245, 154, 154)
                  - value: 35
                    color: rgb(247, 124, 124)
                group_by:
                  func: diff
                  duration: 1d
              - entity: sensor.solar_panel_total_yield
                type: area
                name: SSD
                color_threshold:
                  - value: 0
                    color: rgb(247, 210, 141)
                  - value: 15
                    color: rgb(247, 197, 104)
                  - value: 30
                    color: rgb(255, 165, 0)
                group_by:
                  func: diff
                  duration: 1d
            card_mod:
              style: |
                ha-card {
                  background: none;
                  --ha-card-box-shadow: 0px;
                }
          - type: custom:mushroom-template-card
            entity: sensor.p1_aktiv_teljesitmeny
            tap_action:
              action: more-info
            primary: |-
              {% set state=states('sensor.p1_aktiv_teljesitmeny') %}
                {% if state | is_number and state | float > 0 %}
                  - {{(states('sensor.p1_aktiv_teljesitmeny'))}} kWh
                {% elif state | is_number and state | float < 0 %}
                  {{(states('sensor.p1_aktiv_teljesitmeny'))}} kWh
                {% else %}
                  No data
                {% endif %}
            icon_color: |-
              {% set state=states('sensor.p1_aktiv_teljesitmeny') %}
                {% if state | is_number and state | float > 0 %}
                  #f77c7c
                {% elif state | is_number and state | float < 0 %}
                  #9ACD32
                {% else %}
                  disabled
                {% endif %}
            icon: |-
              {% set state=states('sensor.p1_aktiv_teljesitmeny') %}
                {% if state | is_number and state | float > 0 %}
                  mdi:transmission-tower-export
                {% elif state | is_number and state | float < 0 %}
                  mdi:transmission-tower-import
                {% else %}
                  mdi:transmission-tower-off
                {% endif %}
            layout: vertical
            card_mod:
              style: |
                :host {
                  --mush-card-primary-font-size: 12px;
                  --mush-icon-border-radius: 50%;
                  --mush-icon-size: 72px; 
                  --primary-text-color:  {% set state=states('sensor.p1_aktiv_teljesitmeny') %} {% if state | is_number
                  and state | float > 0 %}
                  #f77c7c
                {% elif state | is_number and state | float < 0 %}
                  #32CD32
                {% else %}
                  black
                {% endif %};
                }
                ha-card {
                  background: transparent;
                  margin-top: -112px;
                  width: 120px;
                  margin-left: auto;
                  margin-right: auto;
                }
  - type: custom:layout-card
    layout_type: grid
    layout:
      width: 100%
      grid-template-columns: 1fr 1fr 1fr
      grid-template-rows: auto
      margin: 0px
      padding: 0px
    cards:
      - type: custom:mushroom-template-card
        icon: mdi:transmission-tower-export
        layout: vertical
        primary: Grid Consumption
        icon_color: '#f77c7c'
        secondary: '{{(states(''sensor.energia_vetelezes_napi''))}} kWh'
        entity: sensor.energia_vetelezes_napi
        tap_action:
          action: more-info
        card_mod:
          style: |
            :host {
              margin-top: -10px;
              --mush-icon-size: 60px;
              --mush-card-primary-font-size: 12px;
              --mush-card-secondary-font-size: 10px;
            }
            mushroom-shape-icon {
              --shape-color: none !important; 
            }
            ha-card {
              padding-top: 5px !important;
              padding-bottom: 5px !important;
            }
        badge_icon: ''
        badge_color: ''
      - type: custom:mushroom-template-card
        icon: mdi:transmission-tower-import
        layout: vertical
        primary: Return to grid
        icon_color: '#9ACD32'
        tap_action:
          action: more-info
        secondary: '{{(states(''sensor.energia_visszataplalas_napi''))}} kWh'
        entity: sensor.energia_visszataplalas_napi
        card_mod:
          style: |
            :host {
              margin-top: -10px;
              --mush-icon-size: 60px;
              --mush-card-primary-font-size: 12px;
              --mush-card-secondary-font-size: 10px;
            }
            mushroom-shape-icon {
              --shape-color: none !important; 
            }
            ha-card {
              padding-top: 5px !important;
              padding-bottom: 5px !important;
            }
      - type: custom:mushroom-template-card
        icon: mdi:sun-wireless
        layout: vertical
        primary: Daily Yield
        icon_color: '#FFA500'
        tap_action:
          action: more-info
        secondary: '{{(states(''sensor.solar_panel_daily_yield''))}} kWh'
        entity: sensor.solar_panel_daily_yield
        card_mod:
          style: |
            :host {
              margin-top: -10px;
              --mush-icon-size: 60px;
              --mush-card-primary-font-size: 12px;
              --mush-card-secondary-font-size: 10px;
            }
            mushroom-shape-icon {
              --shape-color: none !important; 
            }
            ha-card {
              padding-top: 5px !important;
              padding-bottom: 5px !important;
            }


5 Likes

Hi!

I need to have Power output for all three phases separately. As the integration and Huawei does not give this information i chose a route to calculate it myself.

Active Power (P) = Voltage (V) × Current (I) × Power Factor (PF)

What I have:

  1. Inverter Active power - 106w
  2. Inverter Phase A current - 0.25A
  3. Phase A Voltage - 241.8 V
    4… Inverter Phase B current - 0.228A
  4. Phase B Voltage - 241.7 V
  5. Inverter Phase C current - 0.26A
  6. Phase C Voltage - 242 V
  7. Power Factor - 1

Result: Total Active Power (P_Total) = P_A + P_B + P_C = 60.45 W + 55.10 W + 62.92 W = 178.47 W

Inverter is reporting 106 watts

What could cause that and which number can I trust?

Hi all,

i am trying to get the integration running.
I have a rasp4 with usb module connected to pin 1 and 2 to the master invertert.
I can add with ID 1 via serial my master invester and the power meter.
I can add with ID 16 my slave inverter.
After a short time ID1 or ID16 is not working… Can someone see a issue in my logg?

Thanks bobic

2023-10-31 16:51:04.550 DEBUG (MainThread) [pymodbus.logging] Adding transaction 16
2023-10-31 16:51:04.576 DEBUG (MainThread) [pymodbus.logging] recv: 0x10 0x3 0x2 0x0 0x3c 0x44 0x56 old_data:  addr=None
2023-10-31 16:51:04.577 DEBUG (MainThread) [pymodbus.logging] Processing: 0x10 0x3 0x2 0x0 0x3c 0x44 0x56
2023-10-31 16:51:04.577 DEBUG (MainThread) [pymodbus.logging] Getting Frame - 0x3 0x2 0x0 0x3c
2023-10-31 16:51:04.577 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2023-10-31 16:51:04.578 DEBUG (MainThread) [pymodbus.logging] Frame advanced, resetting header!!
2023-10-31 16:51:04.578 DEBUG (MainThread) [pymodbus.logging] Getting transaction 16
2023-10-31 16:51:04.578 DEBUG (MainThread) [pymodbus.logging] Unrequested message: ReadHoldingRegistersResponse (1)
2023-10-31 16:51:14.553 DEBUG (MainThread) [pymodbus.logging] send: 0x10 0x3 0xa7 0xfe 0x0 0x1 0xc5 0xcf
2023-10-31 16:51:14.555 DEBUG (MainThread) [pymodbus.logging] Adding transaction 16
2023-10-31 16:51:14.647 DEBUG (MainThread) [pymodbus.logging] recv: 0x10 0x3 0x2 0x0 0x3c 0x44 0x56 old_data:  addr=None
2023-10-31 16:51:14.647 DEBUG (MainThread) [pymodbus.logging] Processing: 0x10 0x3 0x2 0x0 0x3c 0x44 0x56
2023-10-31 16:51:14.648 DEBUG (MainThread) [pymodbus.logging] Getting Frame - 0x3 0x2 0x0 0x3c
2023-10-31 16:51:14.648 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2023-10-31 16:51:14.648 DEBUG (MainThread) [pymodbus.logging] Frame advanced, resetting header!!
2023-10-31 16:51:14.648 DEBUG (MainThread) [pymodbus.logging] Getting transaction 16
2023-10-31 16:51:14.648 DEBUG (MainThread) [pymodbus.logging] Unrequested message: ReadHoldingRegistersResponse (1)
2023-10-31 16:51:24.557 DEBUG (MainThread) [pymodbus.logging] Connection lost comm due to Server not responding
2023-10-31 16:51:24.559 DEBUG (MainThread) [pymodbus.logging] Getting transaction 16
2023-10-31 16:51:24.560 ERROR (MainThread) [huawei_solar.huawei_solar] Aborting client creation due to error.
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 210, in create_rtu
    await huawei_solar._initialize()
  File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 107, in _initialize
    self.time_zone = (await self.get(rn.TIME_ZONE)).value
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 241, in get
    return (await self.get_multiple([name], slave))[0]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 276, in get_multiple
    response = await self._read_registers(registers[0].register, total_length, slave)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 398, in _read_registers
    return await _do_read()
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/backoff/_async.py", line 151, in retry
    ret = await target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/backoff/_async.py", line 151, in retry
    ret = await target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 351, in _do_read
    response = await self._client.read_holding_registers(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pymodbus/client/base.py", line 210, in async_execute
    raise ModbusIOException(
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] ERROR: No response received after 3 retries
2023-10-31 16:51:24.577 DEBUG (MainThread) [pymodbus.logging] Wait comm 1000000 ms before reconnecting.
2023-10-31 16:51:28.307 INFO (MainThread) [huawei_solar.huawei_solar] Waiting for connection ...
2023-10-31 16:51:33.309 ERROR (MainThread) [huawei_solar.huawei_solar] Timeout while waiting for connection. Reconnecting...
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for
    return fut.result()
           ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/locks.py", line 213, in wait
    await fut
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 141, in _communication_lock
    await asyncio.wait_for(self._client.connected_event.wait(), WAIT_FOR_CONNECTION_TIMEOUT)
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for
    raise exceptions.TimeoutError() from exc
TimeoutError
2023-10-31 16:51:33.324 ERROR (MainThread) [custom_components.huawei_solar] Timeout fetching TA2290320036_data_update_coordinator data
2023-10-31 16:51:33.339 DEBUG (MainThread) [pymodbus.logging] Connecting to /dev/serial/by-id/usb-1a86_USB2.0-Ser_-if00-port0.
2023-10-31 16:51:33.339 DEBUG (MainThread) [pymodbus.logging] Connecting comm
2023-10-31 16:51:33.345 DEBUG (MainThread) [pymodbus.logging] Connected to comm
2023-10-31 16:51:33.345 DEBUG (MainThread) [pymodbus.logging] callback_connected called
2023-10-31 16:51:33.346 DEBUG (MainThread) [huawei_solar.modbus] Waiting for 1500 milliseconds after connection before performing operations
2023-10-31 16:51:34.895 DEBUG (MainThread) [pymodbus.logging] Connecting to /dev/serial/by-id/usb-1a86_USB2.0-Ser_-if00-port0.
2023-10-31 16:51:34.895 DEBUG (MainThread) [pymodbus.logging] Connecting comm
2023-10-31 16:51:34.901 DEBUG (MainThread) [pymodbus.logging] Connected to comm
2023-10-31 16:51:34.902 DEBUG (MainThread) [pymodbus.logging] callback_connected called
2023-10-31 16:51:34.903 DEBUG (MainThread) [huawei_solar.modbus] Waiting for 1500 milliseconds after connection before performing operations
2023-10-31 16:51:35.907 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 43006 with length 1 from slave 16
2023-10-31 16:51:35.908 DEBUG (MainThread) [pymodbus.logging] send: 0x10 0x3 0xa7 0xfe 0x0 0x1 0xc5 0xcf
2023-10-31 16:51:35.909 DEBUG (MainThread) [pymodbus.logging] Adding transaction 16
2023-10-31 16:51:36.026 DEBUG (MainThread) [pymodbus.logging] recv: 0x10 0x3 0x2 0x0 0x3c 0x44 0x56 old_data:  addr=None
2023-10-31 16:51:36.027 DEBUG (MainThread) [pymodbus.logging] Processing: 0x10 0x3 0x2 0x0 0x3c 0x44 0x56
2023-10-31 16:51:36.027 DEBUG (MainThread) [pymodbus.logging] Getting Frame - 0x3 0x2 0x0 0x3c
2023-10-31 16:51:36.027 DEBUG (MainThread) [pymodbus.logging] Factory Response[ReadHoldingRegistersResponse': 3]
2023-10-31 16:51:36.028 DEBUG (MainThread) [pymodbus.logging] Frame advanced, resetting header!!
2023-10-31 16:51:36.028 DEBUG (MainThread) [pymodbus.logging] Getting transaction 16
2023-10-31 16:51:36.031 DEBUG (MainThread) [pymodbus.logging] [60]
2023-10-31 16:51:36.083 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 47000 with length 1 from slave 16
2023-10-31 16:51:36.084 DEBUG (MainThread) [pymodbus.logging] send: 0x10 0x3 0xb7 0x98 0x0 0x1 0x21 0x10
2023-10-31 16:51:36.085 DEBUG (MainThread) [pymodbus.logging] Adding transaction 16

thanks to grillsuder comment, I deleted and resetted integration and ticked “advanced”, so I got the new parameters :slight_smile:

Hello. I’m going crazy and I can’t get the consumption information from the power meter. I access the inverter through Modbus TCP/IP and obtain and read the records of energy produced and real consumption, but I cannot obtain the data on total consumption for the day, PV consumption and grid consumption. I verify that this information exists in the HA sensors but I cannot obtain it from the inverter registers.

HELP!!!

wow this looks great , do you mind sharing it ?

Hello,

I installed the integration without advanced settings. I would now like to use the battery settings change functionality to optimize charging but all the parameters is grey. I have to reinstall with the advanced settings.

Should I remove the integration completely?

  • Removed integration
  • Restart HA
  • Reinstall the integration
  • Redo the configuration with the advanced settings

What will become of my history of sensors ?

Many thanks for your help and have a nice day

Yes remove, and reconfigure with ip adress. I don’t remember if I restarted HA, not sure
History is kept, dashboard is back working, without doing anything special
All entities names are same so everything is working again