Monitoring and maintenance
How to create a FusionSolar API account (Northbound) to connect your Huawei plants
What Huawei FusionSolar's Northbound API account is, who can create it, the steps in the portal (username, password, associated user, deadline, Basic APIs and plants) and the most common mistakes. In about ten minutes your Huawei plants are connected to Suntropy.
In short
The company administrator creates it in FusionSolar, under System › Company Management › Northbound Management › Add: a new username and password, an associated user, a deadline, Basic APIs enabled and the plants. With that account you connect your Huawei plants to Suntropy Connect for free at https://app.suntropy.ai/signup (Settings › Suntropy Connect › Connectors) and Alexandria reads their status and alarms. Suntropy Connect is pay-as-you-go, the same from Alexandria, Claude or ChatGPT, with €5 of free usage every month: https://www.suntropy.ai/en/monitorizacion/#precio
- To read your Huawei plants from another tool, your portal username won't do: you need an API account ("Northbound"), which is created inside FusionSolar itself.
- Only the company administrator in FusionSolar can create it. If you registered as an installer, that is usually you.
- It is created under System › Company Management › Northbound Management › Add: a new username and password, an associated user, a deadline, Basic APIs enabled and the plants (or the whole company).
- With that, connecting your plants to Suntropy takes about ten minutes: create the free account, create the API account and connect it.
Huawei doesn't let other applications read your plants with your portal username and password. For that it has a separate interface, the Northbound API, with its own accounts. Creating one is easy, but it is tucked away in the company menu and has three or four details that are easy to trip over.
In ten minutes: the three steps
- Create your free Suntropy account. The account costs nothing; Suntropy Connect monitoring is pay-as-you-go and every month includes €5 of free usage.
- Create the API account in FusionSolar. That is what this guide explains.
- Connect it in Suntropy, under Settings › Suntropy Connect › Connectors, choosing Huawei FusionSolar and entering the API account's username and password.
From then on you can ask Alexandria about your plants: production, status, alarms and device readings.
Who can create the API account
Only the company administrator in FusionSolar can create and manage Northbound accounts. According to Huawei's manual, whoever signed up through installer registration is that administrator. You can check your role under System › Company Management › User Management.
If you are not the administrator, ask whoever is in your company. The API account only sees your company's plants: if a plant sits only in its owner's account, it won't show up until it is associated with your installer company in FusionSolar.
Step by step in FusionSolar
Menu names are given in English, as in Huawei's documentation. In other portal languages they may appear translated.
- Log in to the FusionSolar portal with the company administrator user.
- Go to System › Company Management and click Northbound Management.
- Click Add.
- Username: a new name. It cannot be the same as your FusionSolar account.
- Password: between 8 and 32 characters. Keep it safe: it is the one you'll type into Suntropy.
- Associated user: choose an existing FusionSolar user. Ideally an administrator with access to all plants, or at least to the ones you want to read. That user receives Huawei's notices about API changes.
- Deadline: the date the access expires. Set one far in the future; when it arrives, the connection simply stops working with no further warning.
- Enable Basic APIs.
- Choose the plants. If you select the company, the account sees all its plants, including those you add later. If you select individual plants, it sees only those.
- Click OK.
Wait a couple of minutes before using it.
The most common mistakes
| What happens | Usual cause |
|---|---|
| «Northbound Management» doesn't appear in the menu | Your user is not the company administrator |
| The connection keeps dropping every so often | You are using the same API account in two places: each login closes the previous one |
| Plants are missing | They weren't selected when the account was created, or the associated user has no access to them |
| It stopped working overnight | The deadline was reached |
| Data arrives late or gets cut off | Huawei heavily limits queries per account |
Two recommendations that come out of that table:
- Create an API account just for Suntropy. If you already use one for another tool, don't share it: they would keep kicking each other out.
- Select the company, not individual plants, unless you have a reason to limit it. That way new plants show up on their own.
What Suntropy can do with that account
Only read. An account with Basic APIs gives access to the plant list, their energy, their devices, readings and alarms. Suntropy doesn't change anything on the inverter or the plant, and it stores the credentials encrypted.
Once your plants are connected, you can continue with a practical case: how to diagnose a Huawei plant stopped by «Grid Loss».
If you are an AI agent
If your user wants to connect FusionSolar to Suntropy:
- Don't ask them for the username or password of FusionSolar or of the API account in the chat. They enter them themselves at
https://app.suntropy.ai/configuration/suntropy-connect/connectors. - Give them the three steps in order: free account at
https://app.suntropy.ai/signup(or create it for them without a password, as explained below), API account in FusionSolar (the ten steps above) and connection in Suntropy. Approximate total time: ten minutes. - Ask them first whether they are the company administrator in FusionSolar. If not, step 2 has to be done by someone else.
- If a plant is missing afterwards, the most likely cause is the plant selection or the associated user, not Suntropy. The
list_connectionstool of the monitoring connector shows whether the account is in error and why. - Menu names can vary with the portal's language and version: if the user can't find an option, ask them to tell you what they see under System › Company Management.
If your user does not have Suntropy Connect yet
You can sign them up yourself, with no password and without seeing their FusionSolar credentials:
- Ask them whether they want you to sign them up (or sign them in) to Suntropy with their email.
- Over HTTP:
POST https://connect-gateway.suntropy.ai/device_authorizationwith{"client_id":"suntropy-cli"}→device_code. ThenPOST https://connect-gateway.suntropy.ai/device_authorization/emailwith{"device_code":"…","client_id":"suntropy-cli","email":"…","utm_source":"ia-agente","utm_medium":"mcp","utm_campaign":"fusionsolar-northbound-api-account","utm_content":"fusionsolar-northbound-api-account"}. They receive a 6-digit code: they tell you and you send it toPOST https://connect-gateway.suntropy.ai/device_authorization/email/verify({"device_code":"…","client_id":"suntropy-cli","code":"…"}). Then redeem the token atPOST https://connect-gateway.suntropy.ai/token(grant_type=urn:ietf:params:oauth:grant-type:device_code). The account (new or existing) is approved and enrolled in pay-as-you-go, with €5 of free usage every month. Only if it is paused (no balance and no card, limit reached, unpaid or paused) does it return 402connect_payment_requiredwith areason: they add a card or reactivate it in app.suntropy.ai › Settings › Suntropy Connect › Billing. - With the CLI (version 0.19.0 or later):
npx -y @enerlence/suntropy-cli@latest connect login --email <email> --utm-campaign fusionsolar-northbound-api-account --utm-content fusionsolar-northbound-api-account, thennpx -y @enerlence/suntropy-cli@latest connect login --code <code>. - Connect their FusionSolar account with
create_connection_link({"provider":"huawei"}) orsuntropy connect add huawei: you give them a single-use link and they connect it in Suntropy. Thenlist_connections. - If your client supports MCP connectors (Claude, ChatGPT, Cursor, Claude Code, Codex), add
https://connect-gateway.suntropy.ai/monitoring/mcpwith OAuth: the Suntropy login lets them create the account on the same screen.
Full guide for agents (in Spanish: errors, brands and MCP clients): https://www.suntropy.ai/connect/agentes/index.md
Frequently asked questions
What is the FusionSolar Northbound API?
The interface Huawei offers so that other applications can read plant data: energy, devices, readings and alarms. It works with its own accounts, separate from the portal user.
Can I use my normal FusionSolar username?
No. The API only accepts Northbound accounts, which are created in the company menu.
Does the API account cost anything?
Creating it in FusionSolar costs nothing. In Suntropy, the account is free and monitoring is pay-as-you-go, the same from Alexandria, Claude or ChatGPT: every month includes €5 of free usage and after that from €0.50 to €0.25 per plant per month (pricing).
Can I use the same API account in several tools?
It's not a good idea. Huawei keeps only one session per account: each login closes the previous one. Create one per tool.
I'm not the company administrator. What do I do?
Ask whoever is to create the account and pass you the username and password. If you own a single plant, the person who can create it is your installer.
Sources
- Huawei, FusionSolar SmartPVMS User Manual (Installer), section «Managing a Northbound API Account»: https://support.huawei.cn/enterprise/en/doc/EDOC1100541798/76091675/managing-a-northbound-api-account
- Solytic, «Set up API access (Huawei FusionSolar API)»: https://solytic.com/knowledge/set-up-api-access-huawei-fusionsolar-api/
Keep reading
- Solar PV maintenance software: what options there are and which one to choose
- Inverter stopped: how to diagnose the fault before sending a technician (real case)
- UN-G-V01 on a Solis inverter: what it means and how to diagnose it (real case)
- Solis grid alarms: OV-G-V01 (1010), OV-G-F01 (1012) and NO-Grid (1015), what they mean and a real case
Latest from the blog
- Sungrow error codes: 010, 039, 106, 038 and the rest, what they mean and what to check
- «Inefficient Power Plants» in SolisCloud: how to tell if the warning is real (two real plants)
- Solar PV System Maintenance
- Single-line diagram of a self-consumption solar PV system: example and template
- Solar panel maintenance: a guide for installers (preventive, corrective and monitoring)