Integrate FusionSolar into you Home Assistant.
FusionSolar has a kiosk mode. When this kiosk mode is enabled we can access data about our plants through a JSON REST api.
At this point the integration is not part of the default HACS repositories, so you will need to add this repository as a custom repository in HACS.
When this is done, just install the repository.
The configuration of this integration happens in a few steps:
- Sign in on the Huawei FusionSolar portal: https://eu5.fusionsolar.huawei.com.
- At the top there is a link: Kiosk View, click it.
- An overlay will open, and you need to enable the kioks view by enabling the toggle.
- Note down the url that is shown.
We only need the unique id, which is located just after the kk=
. So if your
url is https://eu5.fusionsolar.huawei.com/singleKiosk.html?kk=XXXXX
the id is:
XXXXX
.
Open your configuration.yaml
, add the code below:
sensor:
- platform: fusion_solar_kiosk
kiosks:
- id: "XXXXX"
name: "A readable name for the plant"
Make sure you replace the XXXXX
, with the unique id.
I would advice to store the unique id as a secret. With this uniaue token anybody can access your kiosk url, so be carefull to share this.
More information on secrets: Storing secrets.
You can configure multiple plants:
sensor:
- platform: fusion_solar_kiosk
kiosks:
- id: "XXXXX"
name: "A readable name for plant XXXXX"
- id: "YYYYY"
name: "A readable name for plant YYYYY"
No of the items below are promises, so don't expect anything to happen soon:
Make a custom view that shows everything in a single card.
Possible inspiration:
- https://home-assistant-cards.bessarabov.com/
- https://github.com/denysdovhan/vacuum-card
- https://community.home-assistant.io/t/lovelace-power-wheel-card/82374
- https://community.home-assistant.io/t/solar-pv-system-card/80218
- https://github.com/gurbyz/power-wheel-card
- https://github.com/reptilex/tesla-style-solar-power-card
Add the power chart
Add the social contributions