Skip to content

Releases: djansen1987/SAJeSolar

Replace Alarm Sensor for H1 Storage Devices

22 Aug 22:06
Compare
Choose a tag to compare

The eSolar platform has changed the their API for storage devices.

Only for these user they should replace:

- todayAlarmNum

With:

- isAlarm

9d0dcc8

🚀 New Sensors for H1

15 Jan 17:09
Compare
Choose a tag to compare

Added 2 new sensors for H1 Battery Storage Devices.

These 2 new sensors will tell you the charge and discharge of the unit, which can also be used in the Energy Dashboard

      - chargeElec # Energy -> Home Battery Storage -> Energy going in to the battery (kWh)
      - dischargeElec # Energy -> Home Battery Storage -> Energy coming out of the battery (kWh)

🧰 H1 breaking change 🛠

10 Jan 22:26
Compare
Choose a tag to compare

For the users of H1:

  • Added "totalLoadPower" resource. This will display the current power consumption in the house (add to configuration yaml)

  • Updated "batteryDirection" (Might break automation if sensor is used)
    changed number -1,0,1 to names:
    -1 = Charging, 1 = Discharging, 0 = Standby

  • updated some backend code to use python3

🧰Fix: Unit of measurement (warning) on sensor

07 Dec 15:36
Compare
Choose a tag to compare

Fixed sensor with incorrect Unit of measurement.

More details in:
#19"

Thanks to for reporting:
@BeardyBrah
@8OND007

🔋🧰 Add support for AS1-3KS-5.1 and update sensors unit

29 Nov 23:58
Compare
Choose a tag to compare

🔋🧰 Add support for AS1-3KS-5.1 and update sensors unit

  • Added support for AS1-3KS-5.1 thanks to @BeardyBrah

  • Update unit of measurement for following sensors:
    batteryPower show as 123 W
    totalConsumpElec show as 123 kWh
    batCapcity show as 100 A⋅h
    batEnergyPercent show as 95 %
    gridPower show as 650 W
    outPower show as 354 W

  • Fix code, batteryPower was not displayed

#16 AS1-3KS-5.1 (Untested)
#17 Unrelated, renaming sensors to better understand what they are.

🌞 Add support for H1 inverters

24 Oct 19:32
Compare
Choose a tag to compare
  • Added support for H1 (store Device Power) inverters.

  • Cleaned up the code.

If you have any issues let me know https://github.com/djansen1987/SAJeSolar/issues

✅🌞 Energy Dashboard Compatibility - New SEC Module Sensors

08 Sep 21:43
Compare
Choose a tag to compare

1. 🧰 unsupported unit_of_measurement

Updating sensors was changed and old methode was being deprecated. Updated code to native_unit_of_measurement

https://github.com/djansen1987/SAJeSolar/issues/8
Thanks to megapeer for reporting

2. 💹 total_increasing

Fixed in v1.2.3, but stil some sensors had the old attributes . Removed attributes from sensors which do not need it.

https://github.com/djansen1987/SAJeSolar/issues/7

3. 🐛 eSolar SEC Module Issue

New sensors are being added:

- totalPvEnergy
- totalLoadEnergy
- totalBuyEnergy
- totalSellEnergy

The Energy Dashboard requires sensors that have a value that is increasing (total_increasing). Meaning it needs sensors with the total value since start measurement. Below explanation what is needed to make the Energy Dashboard work properly with SAJ_eSolar + SEC_module

https://github.com/djansen1987/SAJeSolar/issues/6
Thanks to LowKey88 for reporting and giving access to develop the SEC module.

4. ⚡ Energie Dashboard

How to properly configure Energy Dashboard using SAJ_eSolar with SEC Module.

Grid consumption = esolar totalBuyEnergy
Return to grid = esolar totalSellEnergy
Solar production = esolar totalElectricity

Dashboard Configuration

After up to 2 hours the result should look similar as below per 08-09-2021

Dashboard Preview

🎉 Fix - Total_increasing + pvgen

06 Sep 13:31
cb6ce98
Compare
Choose a tag to compare

Add support for Total_increasing energy dashboard
Switched pvgen and totalgrid for SEC Module

📅 Clientdate fix in api

28 Aug 13:13
Compare
Choose a tag to compare

Latest fix v1.2.1 did not solve the issue where after 24 hours now new data was received. In the code i found that i was sending the wrong Clientdate variable which was static and did not change on a new day. ⌚📅 This is now fixed and hope it will finally fix the issue

Please give me feedback if this solves the issue or if you are stil experiencing issues after this update.

🧰 aioHttp Session Fix. (Beta)

26 Aug 23:48
Compare
Choose a tag to compare

Latest fix v1.1.8 did not solve the issue where after 24 hours now new data was received. It is a hard issue to resolve as there is not documented information for the API as it was never intended to be used as this module uses the API.

With this fix I use the async_create_clientsession instead of async_get_clientsession the different is that the last one uses an shared session with home assistant and the first created an new session dedicated for the saj_esolar component. Because it is dedicated we are allowed to close the session after an GET of new data. I also added the logout API and point to the chain, and execute an clear cookies to be sure alles sessions to the API endpoint should be closed.

Please let me know if this solves the issue on:
https://github.com/djansen1987/SAJeSolar/issues/5