项目 / kellerza/sunsynk

kellerza/sunsynk

行业推荐
语言 Python标签 home-automationmqtthome-assistanthomeassistantmodbussunsynkenergydeyehacktoberfest数据更新 2026-11-23 06:44:28 · 仓库 2026-11-22

一段话介绍

面向德业(Deye)混合逆变器及其贴牌机型(如 Sunsynk)的 Python 库,并提供可安装到 Home Assistant OS 的附加组件,用来读取逆变器数据。文档见 [kellerza.github.io/sunsynk](https://kellerza.github.io/sunsynk/)。源文说明代码在一台 Sunsynk 5.5 kWh 逆变器上开发,并提醒写入设置时请自行评估风险。库可用 `pip install sunsynk` 安装。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
Deye/Sunsynk Inverter Python library and Home Assistant OS Addon
343累计星
164Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

设备物联接入与边缘采集

适配系统:物联网平台、边缘计算网关 · 得分 2.8

实现工业协议解析与设备接入管理,可作为物联网平台的设备接入层与数据采集前置。

能耗监测与能效优化

适配系统:能源管理系统、能耗监测平台 · 得分 1.4

面向能耗采集与负荷分析建模,可用于园区/楼宇能效诊断与用能优化建议。

工作流编排与流程自动化

适配系统:工作流引擎、流程自动化平台 · 得分 1.2

提供任务编排、重试与状态管理能力,可作为跨系统业务流程的调度中枢。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
通过在 Home Assistant 的加载项商店添加 kellerza/hass-addons 仓库来安装 Sunsynk 加载项,并可在界面中配置,其传感器可用于 HA 能源管理面板。
特点或设计要点
在 Home Assistant OS 中,需把 [kellerza/hass-addons](https://github.com/kellerza/hass-addons) 仓库加到 Supervisor,再从附加组件商店安装 Sunsynk 并在界面中配置。附加组件通过 RS-485 适配器以 Modbus 读取传感器,并把数据发到 MQTT;已验证的硬件组合见[部署选项](https://kellerza.github.io/sunsynk/guide/deployment-options)。若要在 Home Assistant OS 之外运行,可按 [Docker Compose 独立部署说明](https://kellerza.github.io/sunsynk/guide/standalone-deployment)操作。
局限和适用边界
该项目的局限在于使用需自担风险,尤其是在写入任何设置时。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-24 · 语言 Python · 贡献者 —
sdk

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 2,131 字节。

# Deye/Sunsynk Inverters

This repo enables access to Deye Hybrid Inverters & Deye branded inverters like Sunsynk through a
Python 3 library. It also provides an Add-On that can be installed in the Home Assistant OS.

This code was developed on a [Sunsynk](https://www.sunsynk.org/) 5.5 kWh inverter.

> DISCLAIMER: Use at your own risk! Especially when writing any settings.

## Documentation

Refer to [https://kellerza.github.io/sunsynk/](https://kellerza.github.io/sunsynk/)

## Home Assistant Sunsynk Add-On

For the Add-On you require Home Assistant OS and a RS-485 adaptor to connect to your Sunsynk
inverter. Sensors are read using the Modbus protocol and sent to a MQTT server. See
[deployment options](https://kellerza.github.io/sunsynk/guide/deployment-options) for examples of
tested hardware.

### Installation

1. Add the <https://github.com/kellerza/hass-addons> repository to your HA Supervisor

   [![Open your Home Assistant instance and add the kellerza/hass-addons URL](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fkellerza%2Fhass-addons)
   <br/><br/>

2. Install the Sunsynk Add-On from the **Add-On Store** and configure through the UI

   ![Install Sunsynk Addon](https://github.com/kellerza/sunsynk/raw/main/www/docs/images/addon-install.png)

Below an example of the HomeAssistant Energy management dashboard using sensors from the Sunsynk.

![HASS Energy management](https://github.com/kellerza/sunsynk/raw/main/www/docs/images/energy.png)

## Running outside Home Assistant OS

See the [standalone-deploment](https://kellerza.github.io/sunsynk/guide/standalone-deployment)
documentation for detail on how to deploy with Docker Compose.

## Sunsynk Python Library

[![PyPI version](https://badge.fury.io/py/sunsynk.svg)](https://pypi.org/project/sunsynk/)
[![codecov](https://codecov.io/gh/kellerza/sunsynk/branch/main/graph/badge.svg?token=ILKRC5UTXI)](https://codecov.io/gh/kellerza/sunsynk)

The Python library is available through pip: `pip install sunsynk`
↑