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

Update main from dev #15

Open
wants to merge 177 commits into
base: main
Choose a base branch
from
Open

Update main from dev #15

wants to merge 177 commits into from

Conversation

stevebuk1
Copy link
Owner

No description provided.

Add an entry to point to the Solarman sensor for "id_grid_import_today".

Note, same change made to Solarman default in another commit.
1) Align the definition of "online" for Solarman to that within Solax/Core Modbus

2) Solarman, read maximum_dod_percent from the inverter rather than a fixed number from config.yaml
Add debug logging to verify all info before final write.
The Solarman integration appears to be no longer maintained. Update README to replace with https://github.com/davidrapan/ha-solarman
Add "SOLIS_SOLARMAN_V2" to INVERTER_DEFS to support Solarman from https://github.com/davidrapan/ha-solarman
Reason: The entity names from this repo diffefr different from the previous Solarman repo at https://github.com/StephanJoubert/home_assistant_solarman
Add SOLIS_SOLARMAN_V2 defaults to config.yaml.

Also tidy up config.yaml by moving solar entities under each integration and adding comment text on how to select each integration.
id_solar_power is only used for compare tariffs, so its not a default within Pv_opt. However, its different for each integration so replicate within each integration and add comment text to explain.
The Solarman_V2 integration (see config.yaml for github location) provides a single entity for start and end times rather than hours and minutes seperately. Update config.yaml and solis.py for SOLARMAN_V2 to take account of this.
Change "sensor" to "time" and "number" to match entitiy types provided by integration described by Solarman_V2
Change "sensor" to "time" and "number" to match entity types provided by integration described by Solarman_V2
Add debug logging

Fix setting of  "status[direction][limit]"
1) Reinstantiate seperate hours and minutes entities
2) Add commenting
1) Add "codes" to Solarman_V2 inverter_defs.
2) Modify Solarman_v2 to use codes for storage control selection (as it is a string entity, similar to Solax, rather than a number or enum)
3) Add a  "changed" check to the code to allow suppression of the check at the point of write.
Updates for control of storage_control_register - "codes" removed from inverter_defs (added a few commits ago) as not needed.
config.yaml: Reinstantiate charge start/end ids in hours and minutes

solis.py: fix typos introduced on last edits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants