docker-voltronic-homeassistant icon indicating copy to clipboard operation
docker-voltronic-homeassistant copied to clipboard

PIP Operating Logic

Open regardts-hub opened this issue 4 years ago • 0 comments

The newer models work with multiple operating modes.

Might help some of you who want to change between ECO/AUTO/ONLINE mode for various reasons...

The commands are: POPLG(XX) 00 = Auto 01 = Online 02 = Eco

To bring this into Home Assistant:

You can add the following to your configuration.yaml under input_select:

solar_operating_logic: name: Inverter Operating Logic options: - POPLG00 (AUTO) - POPLG01 (ONLINE) - POPLG02 (ECO)

And to automations.yaml

alias: Solar Trigger Operating Mode Change trigger:

  • platform: state entity_id: input_select.solar_operating_logic action:
  • service: mqtt.publish data_template: topic: homeassistant/sensor/voltronic payload: > {% if is_state("input_select.solar_operating_logic", "POPLG00 (AUTO)") %} POPLG00 {% elif is_state("input_select.solar_operating_logic", "POPLG01 (ONLINE)") %} POPLG01 {% elif is_state("input_select.solar_operating_logic", "POPLG02 (ECO)") %} POPLG02 {% endif %} mode: single

Hope this helps...

regardts-hub avatar Nov 30 '20 08:11 regardts-hub