Home Assistant,  Sunsynk,  Sunsynk Cloud API

Sunsynk Scraper

Sunsynk Scraper uses MQTT to install MQTT in Home Assistant click HERE

Sunsynk Scraper is not a Home Assistant Community Add-on so you must add the repository manually.
To do this go to Settings –> Add-on –> Add-on Store.
Select the 3 dots at the top and select Repositories

https://github.com/thepheonixguy/sunsynk-scraper-addon

Click Add then Close

Refresh the screen till you can see Sunsynk Scraper at the bottom of the Add-on Store

Click on Sunsynk Scraper and click the install button.

Enable Start on Boot and Watchdog then go to the configuration tab select the 3 dots at the top right and edit in yaml.

Add your details as needed.

mqtt_username: mqtt-user
mqtt_password: SuperSecretPassword
mqtt_host: core-mosquitto
mqtt_port: 1883
sunsynk_email: sunsynk@chriswilmot.co.uk
sunsynk_password: SunsynkSuperSecretPassword
debug_logging: false
update_interval: 60
battery_discharge_rate: 2.5
battery_min_state_of_charge: 15
region: 2

Make sure you set the correct region.
Save the configuration and go back to the info tab.

Click Start then go to the info tab.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting...
2024-04-15 22:49:53,208 | INFO | Startup
2024-04-15 22:49:53,208 | DEBUG | Got Options: 
2024-04-15 22:49:53,208 | DEBUG | {
    "mqtt_username": "mqtt-user",
    "mqtt_password": "SuperSecretPassword",
    "mqtt_host": "core-mosquitto",
    "mqtt_port": 1883,
    "sunsynk_email": "sunsynk@chriswilmot.co.uk",
    "sunsynk_password": "SunsynkSuperSecretPassword",
    "debug_logging": false,
    "update_interval": 60,
    "battery_discharge_rate": 2.5,
    "battery_min_state_of_charge": 15,
    "region": 2
}

Leave a Reply

Your email address will not be published. Required fields are marked *