Dyness Battery – Custom Integration (Cloud API, HACS)

Dyness Battery – Custom Integration for Home Assistant

Hi everyone,

I’d like to share a custom Home Assistant integration I built for Dyness battery storage systems using the official Dyness Open API.

GitHub: GitHub - shopf/dyness_battery: Home Assistant Community Integration for Dyness Battery Storage · GitHub


What it does

The integration connects to the Dyness Cloud API and provides the following sensors:

  • State of Charge (%)
  • Power (W) — positive = charging, negative = discharging
  • Current (A)
  • Battery Capacity (kWh)
  • Installed PV Power (kW)
  • Communication Status (Online/Offline)
  • Work Status (e.g. RunMode, StandBy)
  • Firmware Version
  • Last Update / Data Timestamp


Installation via HACS

  1. HACS → Integrations → ⋮ → Custom repositories
  2. URL: https://github.com/shopf/dyness_battery — Category: Integration
  3. Search for Dyness Battery and install
  4. Restart Home Assistant
  5. Settings → Devices & Services → Add Integration → Dyness Battery

API credentials can be created for free in the Dyness portal at ems.dyness.com under Developer Center → API Management.


Tested with

Device Status
Dyness Junior Box :white_check_mark: Tested
Other Dyness models with WiFi dongle :warning: Not tested yet

If you have a different Dyness model, please run the included test script (tools/dyness_test.py) and open an issue on GitHub with the output — I’d love to expand support to other models!


Feedback and contributions are very welcome. Hope this is useful for fellow Dyness users! :battery:

Best regards

A lot has happened in the meantime. New products are now supported:

Device Status
Dyness Junior Box :white_check_mark: Tested
Dyness Tower (non-pro) :white_check_mark: Tested
Dyness Tower T14 :white_check_mark: Tested
Dyness DL5.0C :white_check_mark: Tested
Dyness PowerHaus :white_check_mark: Tested
Dyness PowerBox Pro-Low :white_check_mark: This should work (community-tested). Implementation coming soon.

A large number of new sensors have been added, depending on the model.

Installation via HACS (custom repository): :point_right: https://github.com/shopf/dyness_battery