-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Document sensor.predbat_xx_N_idle/scheduled_discharge sensors and rationalise their use? #1801
Comments
Interesting the double change is a mistake for sure, I should look at that. These are essentially dummy inverter registers for the functions your inverter is marked as not supporting. |
I think yours probably is changing Trefor, the last update time is shown as 36 seconds ago But if you look at state history or the logbook, there is no history of changes on mine either, but in the HA database there is definitely a load of history being recorded ! In the Predbat log I can see the control being turned on and off:
|
Looks like you are right, this is a recent bug related to the reduction in register writes change I made, will fix it |
OK I'll update to main again and see what it does thanks |
With some inverters the values are used for automations to trigger charge/export via the service API. In this case they aren't really needed by Predbat so you can exclude them from the history if you like. BTW: Idle === Eco mode in this context |
thanks I'll add something to the documentation |
Is your feature request related to a problem? Please describe.
I have noticed three sensors for each of my inverters that are not documented in the 'Output Data' predbat documentation so I do not know what they do.
Moreover (and what led me to this) is that Predbat is writing a lot of state change records to the database for these sensors, so the database is filling up with unnecessary data:
predbat_ge_N_scheduled_discharge_enable (repeated for both of my inverters) appears to be writing two state change records every time that predbat runs, an 'on' and then an 'off', so taking up 200,000+ bytes of database storage that isn't useful.
Describe the solution you'd like
Either add to the documentation to explain what these sensors do, or let me know and I am happy to add it.
Consider whether _schedule_discharge_enable needs to be set for every Predbat run or not? Maybe only write a state change when its actually needed. Should it actually be a binary sensor?
Are these actually needed as Predbat output sensors?
Describe alternatives you've considered
In the meantime I am going to exclude these sensors from the recorder in configuration.yaml, but would be useful to improve for other Predbat users
The text was updated successfully, but these errors were encountered: