A very simple, responsive, and modern alternative to the default FusionSolar kiosk dashboard.
- Fully Responsive: Looks great on any device, from a phone to a giant wall-mounted TV.
- Highly Customizable: Easily change the theme, language, and text size with a simple config.
- Light & Dark Themes: Choose the theme that best suits your environment.
- Zero Dependencies: It's a single HTML file. No complex setups, no servers needed. Just open it in a browser.
Using this dashboard is as simple as it gets:
- Download the
index.htmlfile from this repository. - Open the file with any modern web browser.
- For kiosk mode, set your browser to full-screen (
F11on most systems).
To get the dashboard working, you need to set your public API URL. For a pre-configured setup that requires no user interaction, you can edit the config object directly within the index.html file.
// --- DASHBOARD CONFIGURATION ---
const config = {
apiUrl: "YOUR_API_URL_GOES_HERE",
// ... other settings
};
// --- END OF CONFIGURATION ---- Log in to your Huawei FusionSolar portal.
- Click on the "Kiosk" button on the main dashboard to access the kiosk view.
- Enable Kiosk mode if it's not already active.
- Copy the long URL from your browser's address bar. It will look something like this:
https://uni003eu5.fusionsolar.huawei.com/pvmswebsite/nologin/assets/build/cloud.html#/kiosk?kk=XXXXXXXXXXXXXXXXX - From that URL, extract only the first part (your public URL), for example:
https://uni003eu5.fusionsolar.huawei.com - Now, construct the correct API endpoint by combining your public URL with the API path and your key (
kk=parameter):<your_public_url>/rest/pvms/web/kiosk/v1/station-kiosk-file?kk=XXXXXXXXXXXXXXXXX - To function correctly, the dashboard needs a CORS proxy. We recommend the free
corsproxy.ioservice, but you can use any other. Prepend the proxy URL to your newly constructed API endpoint. The final URL will be:https://corsproxy.io/?url=<your_public_url>/rest/pvms/web/kiosk/v1/station-kiosk-file?kk=XXXXXXXXXXXXXXXXX
This final URL is what you need to paste into the apiUrl field in the configuration.
Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, feel free to open an issue or submit a pull request.
This project is open-source and available under the MIT License.