Skip to main content

DessMonitor smart home integration, free and open source

DessMonitor integration for Gladys Assistant

Solar inverters and batteries monitored on the DessMonitor / SmartESS cloud.

This integration brings the solar inverters of your DessMonitor account into Gladys. It is the account you use in the DessMonitor website or the SmartESS app, with an Eybond Wi-Fi datalogger plugged into the inverter (Easun, PowMr, MPP Solar and many other off-grid or hybrid inverters).

Before you start​

  • Your inverter already shows up in the DessMonitor or SmartESS app.
  • You know the username and password of that account.
  • Gladys 5.3 or newer.

The integration talks to the DessMonitor cloud over the Internet. Nothing to install on your network, no port to open. Its badge on the devices reads cloud.

Configuration​

Open Integrations → DessMonitor → Configuration.

FieldWhat to enter
UsernameThe username of your DessMonitor / SmartESS account.
PasswordIts password. Stored by Gladys, never written in the logs.
Company keyLeave the default value (bnrl_frRFjEz8Mkn) unless your installer gave you another one.
Refresh interval (s)How often each inverter is read: 60 to 3600 seconds, 300 by default.
Allow changing inverter settingsOff by default. Turn it on to change the output and charger priority from scenes or the widget.

Save, then click Test the connection: it logs in again and lists your inverters, their status and how many readings each one reports.

DessMonitor itself refreshes the data every 5 minutes (every minute when "collection acceleration" is on in the app). Reading more often does not give fresher values.

Add the inverters​

Open the Discovery tab of the integration: each inverter of the account is listed under the name it has in DessMonitor. Click Add. The inverter becomes a Gladys device you can put in a room, show on the dashboard and use in scenes.

The readings​

Each inverter only gets the readings its datalogger actually reports. The names below are the Gladys feature names.

FeatureUnitNotes
Solar powerWTotal PV power (or PV1 when the inverter only reports PV1).
Solar power (PV2)WSecond PV input, when there is one.
Solar voltage / currentV, A
Battery level%
Battery voltageV
Battery currentAAlso charging and discharging current when reported.
Battery powerWThe sign follows the inverter.
Load powerWWhat the house draws from the inverter output.
Output voltage / currentV, A
Grid powerW
Grid voltageVAlso used to detect a power cut (see the triggers).
Inverter temperature°C
Solar energy today / totalkWh
Operating modetextAs the inverter says it: "Line Mode", "Battery Mode"…

Only the values that changed are sent to Gladys, plus every value once every 30 minutes.

When DessMonitor reports an inverter offline, its badge turns to unreachable and its values are left as they were: the cloud would only repeat old readings.

A reading you see in the DessMonitor app is missing in Gladys? Its name is not recognized yet: open an issue on the GitHub repository with the result of Test the connection and the integration logs.

Scenes​

Triggers​

TriggerWhenFiltersVariables
Inverter status changedDessMonitor reports another status for an inverter.inverter, new statusstatus, previous_status
Operating mode changedThe inverter switches mode, e.g. from Line to Battery.invertermode, previous_mode
Grid lost or restoredThe grid voltage at the inverter input drops below 90 V, or comes back.inverter, lost / restoredstate

Statuses: online, offline, fault, standby, warning, error, protocol error.

A trigger fires once per change, seen between two reads: a power cut shorter than the refresh interval may go unnoticed.

To act on a value (battery below 20 %, solar power above 3 kW…), use the standard Gladys trigger "A device value changes" on the inverter's feature.

Actions​

ActionWhat it doesOutputs
Read an inverter nowReads the inverter right away and publishes its values.online, solar_power, battery_level, load_power, grid_power (empty when not reported)
Set the output prioritySolar, battery, grid (SBU) · Solar, grid, battery (SUB) · Solar first · Grid firstsent
Set the charger prioritySolar first · Solar and grid · Solar only · Grid firstsent

The two priority actions need Allow changing inverter settings in the configuration. They look for the setting among those DessMonitor offers for your inverter; sent is false when writing is turned off or when the inverter does not offer that option. DessMonitor relays the change to the inverter within a few minutes.

Example: during off-peak hours, set the charger priority to Solar and grid; at the end of off-peak hours, set it back to Solar only.

The "Solar inverter" widget​

Add the Solar inverter widget to a dashboard and pick the inverter (the first one when none is chosen). It shows:

  • live tiles: battery level, solar, load, grid (the ones the inverter reports);
  • the status, the operating mode, the grid and the time of the last read;
  • a Read now button;
  • with Allow changing inverter settings on: Output priority and Charger priority buttons, each opening a short form.

Good to know​

  • The integration only reads DessMonitor, except for the two priority settings, and only when you allow it.
  • Your password is used to sign the login (its SHA-1 hash, never sent in clear) and is never written in the logs. Serial numbers and usernames are masked there.
  • Several plants and several inverters on one account are supported.
  • Changing the refresh interval takes effect at once, without re-adding the devices.

Troubleshooting​

What you seeWhat to do
"DessMonitor refused the username, the password or the company key"Check them in the DessMonitor app. Keep the default company key unless your installer gave you another one.
"Connected, but the account holds no inverter yet"The account sees no device: check that the datalogger is added to a plant in the app.
The badge reads unreachableDessMonitor reports the inverter offline (datalogger without Wi-Fi?), or the cloud did not answer. The next read retries.
A reading is missingSee The readings.
A priority action answers sent: falseTurn on Allow changing inverter settings; otherwise the inverter does not offer this option on DessMonitor.

Configuration settings​

These are the settings DessMonitor asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoThis integration reads your inverters from the DessMonitor cloud (the same account as the DessMonitor or SmartESS app). Enter that account below: the inverters then show up in the Discovery tab. Nothing to install on your network.
UsernamestringYesThe username of your DessMonitor / SmartESS account.
PasswordsecretYesStored by Gladys, never written in the logs.
Company keystringNoLeave the default value unless your installer gave you another one.
Refresh interval (s)numberNoHow often each inverter is read, in seconds (60 to 3600). DessMonitor itself refreshes every 5 minutes.
Allow changing inverter settingsbooleanNoLets scenes and the widget change the output and charger priority through DessMonitor. Off by default.

How to install DessMonitor in Gladys​

  1. In Gladys, open Integrations: DessMonitor appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-dessmonitor:0.0.1), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-dessmonitor.

DessMonitor requires Gladys >=5.3.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​

DessMonitor 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 prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂