Skip to content

Changing Active Power Control

Thijs W edited this page May 30, 2023 · 2 revisions

The integration exposes a few services which make it possible to set the 'Active Power Control' mode:

  • huawei_solar.reset_maximum_feed_grid_power
  • huawei_solar.set_maximum_feed_grid_power
  • huawei_solar.set_maximum_feed_grid_power_percent

Please refer to "Developer Tools" → "Services" to learn how to use them:

image

Example automations

description: "Do not feed to grid when power price becomes negative"
mode: single
trigger:
  - platform: numeric_state
    entity_id: sensor.nordpool_kwh_be_eur_3_10_0
    below: 0
action:
  - service: huawei_solar.set_maximum_feed_grid_power_percent
    data:
      power_percentage: 0
      # Use the visual editor to select the correct 'Inverter' device from the list. 
      # HA will then set the correct `device_id` for you.
      device_id: 8f52e36410bc4ec695f25e4a30edda71 
description: "Allow inverter to export electricity to grid when price becomes positive"
mode: single
trigger:
  - platform: numeric_state
    entity_id: sensor.nordpool_kwh_be_eur_3_10_0
    above: 0
condition: []
action:
  - service: huawei_solar.reset_maximum_feed_grid_power
    data:
      device_id: 8f52e36410bc4ec695f25e4a30edda71