Skip to content

Commit 01fa5c5

Browse files
authored
Update SolarEdge.md
1 parent 64dd1df commit 01fa5c5

File tree

1 file changed

+130
-1
lines changed

1 file changed

+130
-1
lines changed

docs/ Inverters_and_batteries/SolarEdge/SolarEdge.md

Lines changed: 130 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,133 @@ parent: Inverters and Batteries
44
layout: minimal
55
---
66

7-
# SolarEdge
7+
# SolarEdge
8+
9+
## User Guide: Integrating SolarEdge with EMHASS for Home Assistant
10+
11+
This guide explains how to integrate your SolarEdge solar PV and battery system with Home Assistant and optimize it using the EMHASS add-on. It covers both solar PV and battery integration, ensuring you can maximize self-consumption, reduce costs, and automate your energy usage.
12+
13+
---
14+
15+
### **1. SolarEdge Integration with Home Assistant**
16+
17+
**A. Obtain SolarEdge API Key and Site ID**
18+
19+
- Log in to your SolarEdge monitoring portal.
20+
- Go to **Admin > API Access**.
21+
- Generate and save your API key and note your Site ID[2][8].
22+
23+
**B. Add SolarEdge Integration in Home Assistant**
24+
25+
- Open Home Assistant and go to **Settings > Devices & Services**.
26+
- Click **+ Add Integration** and search for "SolarEdge".
27+
- Select the SolarEdge integration and enter your Site ID and API key.
28+
- Complete the setup as prompted. Home Assistant will now fetch data from your SolarEdge system every 15 minutes due to API rate limits[2][8].
29+
30+
---
31+
32+
## **2. Solar PV Integration with EMHASS**
33+
34+
**A. Configure Solar PV Sensor in EMHASS**
35+
36+
- In the EMHASS configuration (via the add-on web interface or `config.json`), set the parameter for your PV production sensor.
37+
- Typically, this is the entity created by the SolarEdge integration, such as `sensor.solaredge_power` or similar.
38+
39+
Example configuration:
40+
```json
41+
{
42+
"sensor_power_photovoltaics": "sensor.solaredge_power"
43+
}
44+
```
45+
46+
- Also, define your main household load sensor, excluding deferrable loads:
47+
```json
48+
{
49+
"sensor_power_load_no_var_loads": "sensor.power_load_no_var_loads"
50+
}
51+
```
52+
53+
- If needed, create a template sensor in Home Assistant to calculate `sensor.power_load_no_var_loads` by subtracting the power of deferrable loads from your total load sensor[3][4].
54+
55+
**B. Launch and Test Optimization**
56+
57+
- Start the EMHASS optimization from the web UI or via the API.
58+
- Review the suggested schedules and outputs for your loads and PV usage.
59+
60+
---
61+
62+
## **3. Battery Integration with EMHASS**
63+
64+
**A. Ensure Battery Data is Available**
65+
66+
- The SolarEdge integration exposes battery-related sensors (e.g., battery state-of-charge, power, etc.) if your system includes a compatible SolarEdge battery[7][8].
67+
- Identify the relevant battery sensors in Home Assistant (e.g., `sensor.solaredge_battery_soc`, `sensor.solaredge_battery_power`).
68+
69+
**B. Configure Battery Parameters in EMHASS**
70+
71+
- In the EMHASS configuration, add the battery sensor entities:
72+
```json
73+
{
74+
"sensor_battery_power": "sensor.solaredge_battery_power",
75+
"sensor_battery_soc": "sensor.solaredge_battery_soc"
76+
}
77+
```
78+
- Set battery capacity and other relevant parameters according to your system specs.
79+
80+
**C. Enable Battery Optimization**
81+
82+
- EMHASS will now consider your battery’s charge/discharge capabilities in its optimization, allowing it to schedule when to store excess PV or use stored energy to minimize grid usage[1][3][4][6].
83+
84+
---
85+
86+
## **4. Automating and Monitoring**
87+
88+
- Link EMHASS’s optimized schedules to real Home Assistant automations for devices like water heaters, EV chargers, or pool pumps.
89+
- Example: Use the output from EMHASS to turn devices on/off based on the optimal schedule[1][3][4].
90+
91+
---
92+
93+
## **Summary Table: Key Configuration Entities**
94+
95+
| Function | Home Assistant Entity Example | EMHASS Config Parameter |
96+
|------------------|----------------------------------------|-------------------------------------|
97+
| Solar PV Power | `sensor.solaredge_power` | `sensor_power_photovoltaics` |
98+
| Main Load | `sensor.power_load_no_var_loads` | `sensor_power_load_no_var_loads` |
99+
| Battery Power | `sensor.solaredge_battery_power` | `sensor_battery_power` |
100+
| Battery SOC | `sensor.solaredge_battery_soc` | `sensor_battery_soc` |
101+
102+
---
103+
104+
## **Best Practices**
105+
106+
- Always verify the correct mapping of your SolarEdge sensors in Home Assistant before configuring EMHASS.
107+
- Test the optimization results before automating device control.
108+
- Regularly update both Home Assistant and EMHASS for new features and compatibility improvements.
109+
110+
---
111+
112+
By following these steps, you can fully leverage your SolarEdge system’s data within Home Assistant and optimize your solar and battery usage with EMHASS for maximum savings and efficiency[1][3][4][8].
113+
114+
- [1] https://emhass.readthedocs.io/en/stable/intro.html
115+
- [2] https://www.home-assistant.io/integrations/solaredge/
116+
- [3] https://emhass.readthedocs.io/en/latest/intro.html
117+
- [4] https://github.com/siku2/hass-emhass
118+
- [5] https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126?page=3
119+
- [6] https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126
120+
- [7] https://www.solarbatteriesonline.com.au/solaredge-battery/
121+
- [8] https://markus-haack.com/our-own-electricity-3/
122+
- [9] https://sites.google.com/site/davidusb/projects/emhass
123+
- [10] https://knowledge-center.solaredge.com/sites/kc/files/solaredge-monitoring-portal-user-guide.pdf
124+
- [11] https://community.home-assistant.io/t/solaredge-modbus-configuration-for-single-inverter-and-battery/464084?page=26
125+
- [12] https://www.solarquotes.com.au/blog/solaredge-home-assistant-hack/
126+
- [13] https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126?page=143
127+
- [14] https://knowledge-center.solaredge.com/sites/kc/files/se-solaredge-one-for-residential-third-party-integrations-guide-application-note-eu.pdf
128+
- [15] https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126/61
129+
- [16] https://github.com/davidusb-geek/emhass/discussions/389
130+
- [17] https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126?page=4
131+
- [18] https://emhass.readthedocs.io
132+
- [19] https://github.com/davidusb-geek/emhass/discussions/277
133+
- [20] https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126/136
134+
- [21] https://github.com/amberelectric/public-api/discussions/123
135+
- [22] https://www.aph.gov.au/DocumentStore.ashx?id=a161b5af-7ae6-4f69-9ee9-a90347401a01&subId=748526
136+
- [23] https://pypi.org/project/emhass/0.3.6/

0 commit comments

Comments
 (0)