Skip to content

Commit

Permalink
Document a workaround to alter the Kiosk url
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsverkoyen committed Jan 5, 2024
1 parent f9273a0 commit fedf3e4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,34 @@ You will need to create an environment in Postman with the following variables:
* `SYSTEMCODE`, your Northbound API / OpenAPI password
* `URL`, the url you will query

### I need to change the Kiosk URL

The Kiosk URL is valid for 1 year. After that you will need to update the URL. At this point there is no way to update
the URL without re-adding the integration. This can result in data los.

You can work around this, **but this is not recommended and is at your own risk**:

Open the file `.storage/core.config_entries` in the Home Assistant directory.

There will be an entry like below"

```json
{
"entry_id": "8cd2320a2969e84XXX",
"version": 1,
"domain": "fusion_solar",
"title": "Fusion Solar",
"data": {
"kiosks": [
{
"name": "Foo",
"url": "https://eu5.fusionsolar.huawei.com/pvmswebsite/nologin/assets/build/index.html#/kiosk?kk=XXX"
}
],
"credentials": {}
},
...
}
```

Update the `url`. And restart Home Assistant.

0 comments on commit fedf3e4

Please sign in to comment.