SonnenladenGmbH / APsystems-EZ1-API-HomeAssistant

The APsystems EZ1 Integration offers a streamlined interface for interacting with the local API of APsystems EZ1 Microinverters using Home Assistant.
MIT License
77 stars 11 forks source link

APsystems-EZ1 hangs when trying to implement zero feed-in #28

Open pitticom opened 2 months ago

pitticom commented 2 months ago

Hello I'm trying to achieve zero feed-in with the APsystems-EZ1. https://github.com/AndreBott83/HA_Zero_PV_Grid_Feed_in It works well at first, but the inverter freezes after a few minutes. Unfortunately it is no longer accessible via the network. I then have to connect via Bluetooth and activate and deactivate direct mode a few times until the APsystems-EZ1 gets an IP address again. The query interval has been extended to 30 seconds, but there is no change. Can anyone understand that?

dekoenpi commented 2 months ago

After how many minutes does it freeze? In my case, I have a Shelly Pro 3EM. This measures in both directions. No inverter freeze (newest firmware).

image

image

Nulleinspeisung = zero-feed-in Wechselrichter = Inverter BKW = Balcony power station

alias: Nulleinspeisung
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.shelly_pro_3em_total_active_power
    alias: Verbrauch ändert sich
condition:
  - alias: Solar Prod > Verbrauch
    condition: template
    value_template: >-
      {{ states('sensor.bkw_total_power') | float >
      states('sensor.shelly_pro_3em_total_active_power') | float }}
action:
  - service: number.set_value
    metadata: {}
    data:
      value: >-
        {{ states('sensor.shelly_pro_3em_total_active_power') | float +
        states('sensor.bkw_total_power') | float }}
    target:
      entity_id: number.apsystems_bkw_max_output_power
    alias: Wechselrichter anpassen
mode: single