Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add solar assistant to predbat #1723

Merged
1 change: 1 addition & 0 deletions .cspell/custom-dictionary-workspace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ geseriale
Ginlong
GivEnergy
givtcp
growatt
HACS
hadashboard
hanres
Expand Down
27 changes: 27 additions & 0 deletions apps/predbat/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,33 @@
"can_span_midnight": True,
"charge_discharge_with_rate": False,
},
"SA": {
"name": "Solar Assistant",
"has_rest_api": False,
"has_mqtt_api": False,
"output_charge_control": "none",
"charge_control_immediate": False,
"current_dp": 0,
"has_charge_enable_time": False,
"has_discharge_enable_time": False,
"has_target_soc": False,
"has_reserve_soc": False,
"has_timed_pause": False,
"charge_time_format": "S",
"charge_time_entity_is_option": False,
"soc_units": "%",
"num_load_entities": 1,
"has_ge_inverter_mode": False,
"time_button_press": False,
"clock_time_format": "%Y-%m-%dT%H:%M:%S",
"write_and_poll_sleep": 5,
"has_time_window": False,
"support_charge_freeze": False,
"support_discharge_freeze": False,
"has_idle_time": False,
"can_span_midnight": False,
"charge_discharge_with_rate": False,
},
}

# Control modes for Solax inverters
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Home battery prediction and automatic charging for Home Assistant supporting mul
- Fox
- Sofar
- LuxPower
- Solar Assistant

Also known by some as Batpred or Batman!

Expand Down
7 changes: 7 additions & 0 deletions docs/inverter-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PredBat was originally written for GivEnergy inverters using the GivTCP integrat
| SunSynk | [Sunsynk](https://github.com/kellerza/sunsynk) | [sunsynk.yaml](https://raw.githubusercontent.com/springfall2008/batpred/main/templates/sunsynk.yaml) |
| Fox | [Foxess](https://github.com/nathanmarlor/foxess_modbus) | [fox.yaml](https://raw.githubusercontent.com/springfall2008/batpred/main/templates/fox.yaml) |
| LuxPower | [LuxPython](https://github.com/guybw/LuxPython_DEV) | [luxpower.yaml](https://raw.githubusercontent.com/springfall2008/batpred/main/templates/luxpower.yaml) |
| Solar Assistant | [Solar Assistant](https://solar-assistant.io/help/home-assistant/setup) | [solar_assistant.yaml](https://raw.githubusercontent.com/springfall2008/batpred/main/templates/solar_assistant.yaml) |

Note that support for all these inverters is in various stages of development. Please expect things to fail and report them as Issues on Github.

Expand Down Expand Up @@ -236,6 +237,12 @@ This requires the LuxPython component which integrates with your Lux Power inver

- Copy the template luxpower.yaml from templates into your apps.yaml and edit inverter and battery settings as required

## Solar Assistant

You need to have a Solar Assistant installation <https://solar-assistant.io>

Copy the template solar_assistant.yaml from templates into your apps.yaml and edit inverter and battery settings as required (the template has growatt, yours might/will have different entity ids on Home Assistant)

## Sunsynk

- Copy the Sunsynk apps.yaml template and edit for your system.
Expand Down
Loading
Loading