Skip to content

Commit

Permalink
iSolarCloud (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvorgers authored Oct 24, 2024
1 parent e651312 commit 35ac916
Show file tree
Hide file tree
Showing 8 changed files with 518 additions and 1 deletion.
7 changes: 6 additions & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ Please share scripts or how-to guides if you have built an integration with a ne
* Slyoldfox (https://github.com/slyoldfox)
* Implementation: Fluvius
* TylonHH (https://github.com/TylonHH)
* Implementation: EnergyControl (app)
* Implementation: EnergyControl (app)
* Nikolaj Hendel (https://github.com/nikolajhendel)
* How to for: iSolarCloud (Sungrow)
* Sample files for: iSolarCloud (Sungrow)


24 changes: 24 additions & 0 deletions Datasources/iSolarCloud/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Energy provider: iSolarCloud

iSolarCloud offers the option to export data from the [iSolarCloud](https://www.isolarcloud.com/) site. This data can be transformed and used to import into Home Assistant.

**Data provided**
- Solar production - High resolution (day interval) - kWh

**Tooling needed**
- Python 3
- Pandas python library ```pip install pandas```


**How-to**
- Export data from the [iSolarCloud](https://www.isolarcloud.com/) site
- Go to the [iSolarCloud](https://www.isolarcloud.com/) site
- Login with your account
- Select plant
- Scroll down to statistics section (default is day) and select month
- Click export and select csv
- Repear this for each month you want to export
- The data for each selected month is downloaded to your PC as a separate file
- Download the ```iSolarCloudaPrepare.py``` file and put it in the same directory as the iSolarCloud data
- Execute the python script with as parameter the name of the directory which contains the files with the exported data ```python iSolarCloudDataPrepare.py *.csv```. The python script creates the needed file for the generic import script.
- Follow the steps in the overall how-to
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Time,PV(kWh),Purchased Energy(kWh),Feed-in(kWh),Load(kWh)
2024-09-01,56.2,7,44.7,18.5
2024-09-02,56.7,6.2,47.7,15.2
2024-09-03,57.5,7.3,48.3,16.5
2024-09-04,57.1,6.7,44.6,19.2
2024-09-05,50.3,5.9,41.2,15
2024-09-06,57.3,6.7,44.2,19.8
2024-09-07,45.4,5.7,32.6,18.5
2024-09-08,16.7,8.7,7.1,18.3
2024-09-09,54.2,5.4,42.9,16.7
2024-09-10,46.6,7.8,29.9,24.5
2024-09-11,52.7,5.5,39.7,18.5
2024-09-12,24,7.6,12.1,19.5
2024-09-13,59.2,6,46.7,18.5
2024-09-14,57.6,5.4,47,16
2024-09-15,49.2,6.3,36.3,19.2
2024-09-16,62.4,5.3,46.5,21.2
2024-09-17,61.3,5.7,50.6,16.4
2024-09-18,64.3,6.1,51.2,19.2
2024-09-19,62.7,5.3,51.5,16.5
2024-09-20,63.5,4.7,49.3,18.9
2024-09-21,64.1,5.4,51.4,18.1
2024-09-22,59.9,5.7,41.2,24.4
2024-09-23,62,5.7,46.9,20.8
2024-09-24,43.6,6.1,31,18.7
2024-09-25,28.7,7,17.1,18.6
2024-09-26,5.4,9.4,1.9,12.9
2024-09-27,41.5,5.8,28.7,18.6
2024-09-28,51.2,5,35.8,20.4
2024-09-29,24.6,10.4,14.2,20.8
2024-09-30,34.4,5.6,22.8,17.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
1725148800,44.7
1725235200,92.4
1725321600,140.7
1725408000,185.3
1725494400,226.5
1725580800,270.7
1725667200,303.3
1725753600,310.4
1725840000,353.3
1725926400,383.2
1726012800,422.9
1726099200,435.0
1726185600,481.7
1726272000,528.7
1726358400,565.0
1726444800,611.5
1726531200,662.1
1726617600,713.3
1726704000,764.8
1726790400,814.1
1726876800,865.5
1726963200,906.7
1727049600,953.6
1727136000,984.6
1727222400,1001.7
1727308800,1003.6
1727395200,1032.3
1727481600,1068.1
1727568000,1082.3
1727654400,1105.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
1725148800,7.0
1725235200,13.2
1725321600,20.5
1725408000,27.2
1725494400,33.1
1725580800,39.8
1725667200,45.5
1725753600,54.2
1725840000,59.6
1725926400,67.4
1726012800,72.9
1726099200,80.5
1726185600,86.5
1726272000,91.9
1726358400,98.2
1726444800,103.5
1726531200,109.2
1726617600,115.3
1726704000,120.6
1726790400,125.3
1726876800,130.7
1726963200,136.4
1727049600,142.1
1727136000,148.2
1727222400,155.2
1727308800,164.6
1727395200,170.4
1727481600,175.4
1727568000,185.8
1727654400,191.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
1725148800,56.2
1725235200,112.9
1725321600,170.4
1725408000,227.5
1725494400,277.8
1725580800,335.1
1725667200,380.5
1725753600,397.2
1725840000,451.4
1725926400,498.0
1726012800,550.7
1726099200,574.7
1726185600,633.9
1726272000,691.5
1726358400,740.7
1726444800,803.1
1726531200,864.4
1726617600,928.7
1726704000,991.4
1726790400,1054.9
1726876800,1119.0
1726963200,1178.9
1727049600,1240.9
1727136000,1284.5
1727222400,1313.2
1727308800,1318.6
1727395200,1360.1
1727481600,1411.3
1727568000,1435.9
1727654400,1470.3
Loading

0 comments on commit 35ac916

Please sign in to comment.