A Home Assistant integration to track your Sunsynk solar system.
- Supports real-time monitoring of your Sunsynk solar system's parameters.
- Allows you to adjust the settings of your system remotely through Home Assistant.
- New: Now supports adjusting solar settings remotely through the
set_solar_settings
service.
- Access HACS: Open Home Assistant and click on HACS in the sidebar.
- Go to Integrations: Navigate to the Integrations tab.
- Add Custom Repository: Click on the menu in the top right corner (three vertical dots), then select Custom Repositories.
- Enter Details: In the new window, you need to input the necessary information about the custom integration you want to add.
- Add custom repository URL: Paste the URL of the repository you want to add.
- Select category: Choose 'Integration' from the category dropdown menu.
- Add: Click the Add button to confirm. This action should add the custom integration to HACS.
- Select "+ Explore & Download Repositories" and search for "Solar Sunsynk".
- Select "Solar Sunsynk" and "Download this repository with HACS".
- Once downloaded, go to settings, then devices and services.
- Click on add integration and search for 'Solar Sunsynk'.
- Follow the prompt with user name and then password, wait for 2 minutes and your data should be loaded.
- Setup cards and automations.
- To monitor your system, use the provided sensors in your Home Assistant dashboard.
- Please guide for mapping service to sunsynk front end https://github.com/MorneSaunders360/Solar-Sunsynk/blob/main/ServiceGuide.md
- To adjust system settings, call the
solar_sunsynk.set_solar_settings
service with the desired parameters. For example:
service: solar_sunsynk.set_solar_settings
data:
sn: 2107269334
safetyType: 2
battMode: -1
solarSell: 0
pvMaxLimit: 8000
energyMode: 0
peakAndVallery: 1
sysWorkMode: 2
sellTime1: 01:00
sellTime2: 05:00
...
Go to developer tool, then select the states tab. Filter the entities by searching for solar and you will be able to see all the sensors available.
I created these cards with the help the following