LuxPower smart home integration, free and open source

Monitor and control your LuxPower hybrid solar inverters and batteries.
Monitor and control your LuxPower hybrid solar inverters (SNA, LXP-LB, LXP-12K, LXP-3600 ACS…) and their batteries from Gladys: solar production, battery level, grid import/export, house consumption, battery mode, scenes and a dashboard widget.
The integration works through the cloud (the LuxPower View account), locally (the WiFi/LAN datalogger plugged into the inverter), or both. It is usable in every country where LuxPower inverters are sold: pick the cloud server of your region.
What you get
One device per inverter, with:
| Feature | Type |
|---|---|
| Solar production, today, production index | Sensors (W, kWh) |
| Battery level, charge / discharge power | Sensors (%, W) |
| Battery charged / discharged energy indexes | Sensors (kWh) |
| Battery voltage and temperature | Sensors (V, °C) |
| Grid import / export power and indexes | Sensors (W, kWh) |
| Grid voltage, grid available | Sensors (V, yes/no) |
| Inverter output, backup (EPS) output | Sensors (W) |
| House consumption, inverter temperature | Sensors (W, °C) |
| AC charge, forced charge, forced discharge | Switches (controllable) |
Configuration
Cloud (LuxPower View)
- Open the Configuration tab of the integration.
- Pick the cloud server shown in the LuxPower View app (Europe for most European installations, United States, Americas, Asia Pacific, Middle East & Africa, China) — or "Other" with the URL of your portal.
- Enter the account and password of the LuxPower View app. Tip: create a dedicated account in the app and share your station with it.
- Save: every inverter of the account appears in the Discovery tab.
Local (WiFi/LAN datalogger)
The local connection talks to the inverter through its datalogger on TCP port 8000, without the cloud: faster, and still working when the internet is down.
- Give the datalogger a fixed IP address in your router.
- Enter its IP address, its serial number (10 characters, on the datalogger label) and the serial number of the inverter (10 characters, in the app or on the inverter label). Keep the port at 8000.
- Save.
With both connections configured, the Prefer the local connection toggle chooses the channel used first. The device card shows the channel actually used: an orange dot means the preferred one failed and the other one took over.
The refresh interval sets how often the inverters are read (one minute minimum). The low battery threshold drives the "Battery low" scene trigger.
Actions
- Test the connection — logs in / reaches the datalogger, reads every inverter and shows its battery level and solar power.
- Change the battery mode — applies a battery mode to an inverter.
Battery modes
- Self-consumption — normal operation: the battery stores the solar surplus and feeds the house.
- AC charge — the battery may also charge from the grid (within the AC charge schedule and limit configured in the inverter).
- Forced charge — the battery charges as a priority.
- Forced discharge — the battery discharges (to the house and the grid).
Scenes
Triggers (scene editor, Integrations category, Gladys 5.1 or later):
- Grid outage / Grid restored — the inverter lost / found the public grid.
- Battery low — the battery level dropped below the threshold.
- Battery full — the battery reached 100 %.
Each trigger can be limited to one inverter and exposes
{{triggerEvent.data.battery_level}}, {{triggerEvent.data.grid_voltage}}
and {{triggerEvent.data.serial}}.
Actions:
- Set the battery mode — returns whether the mode was applied.
- Set the battery limits — AC charge stop level, discharge cut-off, charge and discharge power (only the filled values are changed).
- Read the inverter — fresh values (battery level, solar, house, grid import/export, battery power, grid available, mode) for the next actions.
Example: at 2 am, if the tariff is cheap, set the battery mode to "AC charge" and stop the AC charge at 80 %; at 6 am, back to "Self-consumption".
Dashboard
Add the LuxPower overview widget: battery gauge, live solar, house and grid import, connection, grid status, battery mode, solar production of the day, a 24-hour chart, and two buttons (force charge / back to self-consumption). Choose the inverter in the widget settings when you have several.
Troubleshooting
- Login refused: check the server region and the credentials in the LuxPower View app.
- Datalogger does not answer: check the IP address, that the datalogger is on the same network as Gladys, and both serial numbers. Some datalogger firmwares only accept one local client at a time: close other local tools.
- Logs: Gladys UI → integration logs, with
LOG_LEVEL=debugfor details.
Privacy
The password is stored in Gladys as a secret and only sent to the LuxPower server you chose. The local connection never leaves your network.
Configuration settings
These are the settings LuxPower asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Cloud connection (LuxPower View) | section | No | Use the account and password of the LuxPower View app. Pick the server shown in the app: Europe for most European installations. Leave empty to use the local connection only. |
| Cloud server | select | No | |
| Custom server URL | string | No | Only with the "Other" server. |
| Account | string | No | |
| Password | secret | No | |
| Local connection (WiFi/LAN datalogger) | section | No | Optional: talk to the inverter directly through its datalogger on your network (TCP port 8000), without the cloud. Give the datalogger a fixed IP address in your router. Both serial numbers are printed on the labels and shown in the LuxPower app. |
| Datalogger IP address | string | No | |
| Datalogger port | number | No | |
| Datalogger serial number | string | No | |
| Inverter serial number | string | No | |
| Refresh interval (s) | number | No | How often the inverters are read, in seconds (one minute minimum). |
| Low battery threshold (%) | number | No | The "Battery low" scene trigger fires when the battery level drops below this value. |
How to install LuxPower in Gladys
- In Gladys, open Integrations: LuxPower appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-luxpower:1.0.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/gboulvin/Gladys-LuxPower.
LuxPower requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrations
LuxPower is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by gboulvin, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub — source of this documentation