Replies: 2 comments 1 reply
-
|
A couple of bits of housekeeping before I answer your question ... Firstly if you are copying your apps.yaml file into github (and thank you for doing so, it is essential to understand your configuration, so many people don't bother 😠), but when you do, please put ``` before and after your YAML as otherwise github tries to format the yaml and its impossible to read Second, you ought not to share your octopus and solcast API keys. You can use the secrets file in HA (see documentation) to avoid this. I have edited your github question to fix both of the above but do recommend you revoke and create new API keys. Onto your question, where did you get this apps.yaml file from? There are example configurations for different inverters in the predbat documentation https://springfall2008.github.io/batpred/inverter-setup/ Either start from one of the existing inverter examples, there are two for Growatt, or define a custom inverter type https://springfall2008.github.io/batpred/inverter-setup/#i-want-to-add-an-unsupported-inverter-to-predbat |
Beta Was this translation helpful? Give feedback.
-
|
Apologies, Thank you for your speedy response, I've tried to answer the question best as possible. Where: Unfortunately as I'm not a coder, I was using Gemini AI to assist. the code |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm extremely new to all this, I've been trying to set my system but keep receiving log faults: 9389 2026-01-11 09:42:15.304880: Completed run status Freeze charging with Errors reported (check log)
9380 2026-01-11 09:42:14.682817: Warn: record_status Warn: Inverter 0 write to inverter_mode failed
9379 2026-01-11 09:42:14.570009: Warn: Inverter 0 Trying to write inverter_mode to Eco didn't complete got Load First
9378 2026-01-11 09:42:04.565924: Warn: Service call select/select_option data {'option': 'Eco', 'entity_id': 'select.growatt_pv_inverter_priority'} failed
9377 2026-01-11 09:42:04.563413: Warn: Web Socket result failed {'id': 123, 'type': 'result', 'success': False, 'error': {'code': 'service_validation_error', 'message': 'Validation error: Option Eco is not valid for entity select.growatt_pv_inverter_priority, valid options are: Load First, Battery First, Grid First', 'translation_key': 'not_valid_option', 'translation_placeholders': {'entity_id': 'select.growatt_pv_inverter_priority', 'option': 'Eco', 'options': 'Load First, Battery First, Grid First'}, 'translation_domain': 'select'}}
I've recently had a solar panel system installed:
12 465w Aiko Panels
5kw SPH Growatt inverter
5kw Growatt battery
I have a solax modbus integration pointed to my shinewifi lan X2 datalogger.
I'm trying to code my predbat add-on to control my inverter but predbat asks to change to eco, timed_charge, time_discharge. However growatt modes are battery first, load first, grid first.
Here is my current code for the predbat apps yaml:
I've had many a sleepless night, so any help would be welcome.
Many thanks,
Will
Beta Was this translation helpful? Give feedback.
All reactions