iobroker.sigenergy 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ssbingo <s.sternitzke@online.de>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,141 @@
1
+ # ioBroker Sigenergy Adapter
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/iobroker.sigenergy.svg)](https://www.npmjs.com/package/iobroker.sigenergy)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+
6
+ **Adapter for Sigenergy solar energy systems via Modbus TCP/RTU**
7
+
8
+ Supports the Sigenergy Modbus Protocol V2.5 (released 2025-02-19).
9
+
10
+ ---
11
+
12
+ ## Features
13
+
14
+ - 📡 **Modbus TCP** (Ethernet / WLAN / Optical fiber / 4G) — Port 502
15
+ - 🔗 **Modbus RTU** (RS485 Serial)
16
+ - ⚡ **Full register support** — All plant and inverter registers per V2.5 spec
17
+ - 🔋 **Battery statistics** — Time to full, time remaining, daily coverage
18
+ - ☀️ **PV statistics** — Self-consumption rate, autarky rate
19
+ - 🔌 **AC Charger** (Sigen EVAC) — Optional
20
+ - ⚡ **DC Charger** — Optional
21
+ - 📊 **Calculated values** — Derived statistics updated each poll cycle
22
+
23
+ ---
24
+
25
+ ## Supported Hardware
26
+
27
+ | Category | Models |
28
+ |-----------------|--------|
29
+ | **Hybrid Inv.** | SigenStor EC SP/TP, Sigen Hybrid SP/TP/TPLV, Sigen PV M1-HYA, PG Controller |
30
+ | **PV Inv.** | Sigen PV Max SP/TP, Sigen PV M1 |
31
+ | **EVAC (AC)** | Sigen EVAC 7/11/22 kW, PG EVAC |
32
+
33
+ ---
34
+
35
+ ## Default Modbus Addresses
36
+
37
+ | Device | Address |
38
+ |--------|---------|
39
+ | Plant (read/write) | **247** |
40
+ | Plant broadcast (write, no reply) | **0** |
41
+ | Inverter | **1** |
42
+ | AC Charger (EVAC) | **2** |
43
+
44
+ ---
45
+
46
+ ## Installation
47
+
48
+ ### Via ioBroker Admin (recommended)
49
+ 1. Open ioBroker Admin → Adapter
50
+ 2. Search for "sigenergy"
51
+ 3. Install
52
+
53
+ ---
54
+
55
+ ## Configuration
56
+
57
+ ### Connection Tab
58
+ - **Connection Type**: TCP (Ethernet) or Serial (RS485)
59
+ - **TCP Host**: IP address of your inverter
60
+ - **TCP Port**: 502 (default)
61
+ - **Plant Modbus ID**: 247 (default)
62
+ - **Inverter Modbus ID**: 1 (default)
63
+
64
+ ### Components Tab
65
+ Select which devices are installed:
66
+ - Battery / ESS
67
+ - PV Panels
68
+ - AC Charger (EVAC)
69
+ - DC Charger
70
+
71
+ ### Statistics Tab
72
+ Choose which statistical values to calculate:
73
+ - Battery time to full
74
+ - Battery time remaining
75
+ - Daily charge time
76
+ - Battery coverage time
77
+ - Self-consumption rate
78
+ - Autarky rate
79
+
80
+ ---
81
+
82
+ ## Data Objects
83
+
84
+ ### Plant (`plant.*`)
85
+ | State | Description | Unit |
86
+ |-------|-------------|------|
87
+ | `plant.gridActivePower` | Grid power (>0 import, <0 export) | kW |
88
+ | `plant.pvPower` | PV generation | kW |
89
+ | `plant.essPower` | Battery power (<0 discharge) | kW |
90
+ | `plant.essSoc` | Battery state of charge | % |
91
+ | `plant.activePower` | Total plant active power | kW |
92
+ | `plant.runningState` | Plant state (0=Standby, 1=Running...) | - |
93
+
94
+ ### Inverter (`inverter.*`)
95
+ | State | Description | Unit |
96
+ |-------|-------------|------|
97
+ | `inverter.pvPower` | PV power at inverter | kW |
98
+ | `inverter.essBatterySoc` | Battery SOC | % |
99
+ | `inverter.essBatterySoh` | Battery SOH | % |
100
+ | `inverter.essBatteryTemperature` | Battery temperature | °C |
101
+ | `inverter.phaseAVoltage` | Phase A voltage | V |
102
+ | `inverter.gridFrequency` | Grid frequency | Hz |
103
+
104
+ ### Statistics (`statistics.*`)
105
+ | State | Description | Unit |
106
+ |-------|-------------|------|
107
+ | `statistics.batteryTimeToFull` | Minutes until battery full | min |
108
+ | `statistics.batteryTimeRemaining` | Minutes of battery left | min |
109
+ | `statistics.selfConsumptionRate` | Self-consumption rate | % |
110
+ | `statistics.autarkyRate` | Autarky rate | % |
111
+ | `statistics.housePower` | Calculated house consumption | kW |
112
+
113
+ ---
114
+
115
+ ## Communication Protocol
116
+
117
+ - Modbus TCP: TCP mode, full duplex, port 502 (slave)
118
+ - Modbus RTU: Half duplex, 9600 bps, 8N1
119
+ - Min poll interval: 1000 ms (1 second) per Sigenergy spec
120
+ - Timeout: 1000 ms per Sigenergy spec
121
+
122
+ ---
123
+
124
+ ## License
125
+
126
+ MIT License — Copyright (c) 2025 ioBroker Community
127
+
128
+ ---
129
+
130
+ ## Changelog
131
+ ### 1.0.1 (2026-03-08)
132
+ * (ioBroker Community) Stable release — reiner Modbus-Datenadapter ohne VIS-Widgets
133
+
134
+ ### 0.2.18 (2026-03-07)
135
+ * (ssbingo) Fix Repository-URL auf https://github.com/ssbingo/ioBroker.sigenergy.git
136
+ * (ssbingo) Doppeltes common.license entfernt (licenseInformation bereits vorhanden)
137
+ * (ssbingo) io-package.json Schema korrigiert: connectionType, dataSource, js-controller/admin Abhängigkeiten
138
+ * (ssbingo) @iobroker/adapter-core auf ^3.3.2, @iobroker/testing auf ^5.2.2 aktualisiert
139
+
140
+ ### 0.1.0 (2026-03-01)
141
+ * (ioBroker Community) Erste Veröffentlichung — Modbus TCP/RTU Support für Sigenergy Anlagen