Releases: djansen1987/SAJeSolar
Fix peakPower for non H1/SEC devices owners
Enhancements:
PeakPower Sensor Compatibility: The PeakPower sensor has been optimized to function seamlessly with Sec modules and H1 devices, addressing compatibility issues that affected standard users. Special thanks to @jaesbit and @cmgestevao for their diligent work on this improvement.
Community Contributions:
We extend our gratitude to @gusmori for identifying and reporting the compatibility issue. Your valuable feedback has played a crucial role in ensuring the reliability of our project.
Getting Involved:
We encourage community members to contribute to the project's ongoing development. If you have ideas for enhancements, bug fixes, or feature requests, please feel free to submit a pull request. Your contributions are highly valued and will help us make the project even better.
Sensor Name Updates and Corrections
@santiagozky has identified and corrected inaccuracies in the following sensor data:
- totalGridPower
- totalLoadPower
- totalPvgenPower
To provide more clarity and consistency, the sensor names have been updated as follows:
- gridLoadPower
- solarLoadPower
- homeLoadPower
- exportPower
Important Note: While both the old and new sensor names are currently supported in your configuration.yaml under resources, it is recommended to update your configuration to use the new names.
Contributing to the Project:
We encourage community contributions to enhance this project. If you would like to help with further improvements, such as renaming additional sensors or addressing other issues, please create a pull request. Your contributions will be reviewed and appreciated.
Sensor Device Classes 👨🏫
We're pleased to announce an update to the SAJ eSolar custom integration available through HACS for Home Assistant users. This update, made possible by the valuable contributions of @flauteps, ensures continued compatibility with the latest versions of Home Assistant.
What's New?
This update primarily focuses on internal code improvements to align with the latest Home Assistant standards. You won't see any changes in functionality on the user interface. However, under the hood, we've updated the sensor device class to device_class=SensorDeviceClass.ENERGY
instead of the previously used device_class=SensorDeviceClass.POWER
. This change ensures compatibility with future Home Assistant versions, as device_class=SensorDeviceClass.POWER
will be deprecated.
Get Involved!
We appreciate your continued use of the SAJ eSolar custom integration. If you encounter any issues after this update, please feel free to report them via GitHub. Additionally, we encourage contributions from the community! You can help other users by answering questions or even contribute code improvements by creating a pull request. Your unique perspective can make this integration even better.
Thank You!
We sincerely appreciate your support and the contributions of the development community.
Fix battery 🔋 info
Some of the user who had a battery setup were not able to retrieve data from saj anymore for the battery systems.
This had to do with an api/website change on SAJ's side. Thanks again to @jaesbit and @walkjivefly for troubleshooting this and creating an update for the custom integration.
Thank you! Hope this solves all the current issues with the battery system. If you still have an issue use the existing issue on github to post your findings and logs. Also if you know how to get more information from their api you can create a pull request to make this custom integration even more cool 😎
Improve battery 🔋 data
Thanks to @jaesbit battery data is pulled in the correct way.
Want to help the project out te get more sensor data in homeassistant?
Please submit your code improvements and we will add them to this custom integration. You're help is more then welcome!
Thanks! 🌞🏡
Fix legacy units warning
Thanks to @LAdegeest who made a fix for the legacy warnings. Home assistant has updated the unit notations libraries where thing are stored like Kwh Watt etc.
This has now been updated and makes the custom integration again future proof.
Also want to help make this integration better or maybe take the complete maintenance over, let me know as I will be having less to no time to work on it.
I will accept pull requests after carefully checking the code.
Solarprofit / Greenheiss and code cleanup
Thank you @krahabb for making updates to the code and cleaning it!
What also should be addressed is that SAJ is working on a new portal, this is also probably the reason they let go of the Greenheiss and Solarprofit users on their portal. Those users should use the portals of the retailers. Below more info on that. But this new portal also means new data endpoint (API's). New API mean a total remodeling of this integration and finding out (again) which API belongs where. I am happy to see so many users using this custom integration and hope this can stay like this, but i also have to be honest to myself and emit I do not have the time to do the whole remodeling myself. So if you are reading this and would like to jump onboard and help other (and your self) making this custom integration modern proof (maybe even configurable via UI) lets get in contact.
For those who want to look at another integration have a look at https://github.com/faanskit/ha-esolar/ this integration was created with inspiration from this one. But do note when you switch all entities and energy history is migrated and therefor lost.
Update for Solarprofit / Greenheiss Users
Due to some changes on the Esolar portal side these devices where not working anymore. thanks to @santiagozky @santiagoGPNC to create the new code this is now working again. But to get it working you have to make some updates to your configuration.yaml
note that there is an certification issue for the greenheiss portal which is currently not accepted by Home Assistant to fix this use the provider_ssl: False
Add below code to you
provider_domain: inverters.resellerdomain.ext
provider_path: cloud
for example for greenheissen:
- platform: saj_esolar #greenheissen
username: USERNAME
password: Password123
provider_domain: inversores-style.greenheiss.com
provider_path: cloud
provider_ssl: False
resources:
- nowPower
- runningState
- todayElectricity
- monthElectricity
- yearElectricity
- totalElectricity # Energy -> Solar production
- todayGridIncome
- income
- lastUploadTime
- totalPlantTreeNum
- totalReduceCo2
- isAlarm # Yes / No
- status
- plantuid
- currency
- address
- isOnline
- peakPower
- systemPower # Installed capacity
Revert runningstate
previous update caused issues. This release revert previous changes.
🆕 State in runningState
The Entity runningState can also report if there is an error, before we only reported Yes/No. Now also Error
🔋 Add unit of measurement to batCurr sensor
Sensor: batCurr
add: native_unit_of_measurement="A⋅h"