Recently setup SA with HA for my test Growatt inverter. Today something very cool worked. I already had Home Assistant integrated with OpenWeatherMap and Solar Assistant. Yesterday I setup an automation with an OpenWeather Trigger to have Solar Assistant change the Growatt to Utility Priority to fully charge the batteries at 50% precipitation forecast. Knowing we had bad storms coming into NC today I was hopeful this would work. Well sure enough it did. In addition we lost power and the Growatt 3k is powering circuits in the home as I type this via a Reliance TS. Probably need to increase the threshold of forecast to limit false alarms.
Also setup a push notification from home assistant which worked also
Just thought I would share how cool this is.
Code snippet for trigger but can easily be setup via UI:
alias: Growatt Precipitation Utility Change
description: Change Growatt to Utility Charge if Precipitation forecast above 50%
trigger:
- platform: numeric_state
entity_id: sensor.openweathermap_forecast_precipitation_probability
above: 50
condition: []
action:
- device_id: <YOUR ID HERE>
domain: select
entity_id: <YOUR ID HERE>
type: select_option
option: Utility first
mode: single
Also setup a push notification from home assistant which worked also
Just thought I would share how cool this is.
Code snippet for trigger but can easily be setup via UI:
alias: Growatt Precipitation Utility Change
description: Change Growatt to Utility Charge if Precipitation forecast above 50%
trigger:
- platform: numeric_state
entity_id: sensor.openweathermap_forecast_precipitation_probability
above: 50
condition: []
action:
- device_id: <YOUR ID HERE>
domain: select
entity_id: <YOUR ID HERE>
type: select_option
option: Utility first
mode: single