iobroker.sigenergy 1.3.4 → 1.3.7
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/README.md +9 -0
- package/io-package.json +149 -151
- package/lib/modbus.js +242 -236
- package/lib/registers.js +185 -185
- package/lib/statistics.js +206 -237
- package/main.js +595 -592
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -156,6 +156,15 @@ MIT License — Copyright (c) 2025 ioBroker Community
|
|
|
156
156
|
---
|
|
157
157
|
|
|
158
158
|
## Changelog
|
|
159
|
+
### 1.3.7 (2026-03-13)
|
|
160
|
+
* Remove redundant mocha devDependency (included in @iobroker/testing)
|
|
161
|
+
|
|
162
|
+
### 1.3.6 (2026-03-13)
|
|
163
|
+
* Fix Prettier/ESLint formatting: use tabs, single quotes, curly braces
|
|
164
|
+
|
|
165
|
+
### 1.3.5 (2026-03-13)
|
|
166
|
+
* (ssbingo) Fix CI: use explicit mocha binary path to avoid PATH resolution issues with npm ci
|
|
167
|
+
|
|
159
168
|
### 1.3.4 (2026-03-13)
|
|
160
169
|
* (ssbingo) Fix CI: add mocha to devDependencies so test:package script can run
|
|
161
170
|
|
package/io-package.json
CHANGED
|
@@ -1,154 +1,152 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"common": {
|
|
3
|
+
"name": "sigenergy",
|
|
4
|
+
"version": "1.3.7",
|
|
5
|
+
"news": {
|
|
6
|
+
"1.3.7": {
|
|
7
|
+
"en": "Remove redundant mocha devDependency (included in @iobroker/testing)",
|
|
8
|
+
"de": "Redundante mocha devDependency entfernt (in @iobroker/testing enthalten)",
|
|
9
|
+
"ru": "\u0423\u0434\u0430\u043b\u0435\u043d\u0430 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u0430\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c mocha (\u0432\u0445\u043e\u0434\u0438\u0442 \u0432 @iobroker/testing)",
|
|
10
|
+
"pt": "Removida depend\u00eancia mocha redundante (inclu\u00edda em @iobroker/testing)",
|
|
11
|
+
"nl": "Overbodige mocha devDependency verwijderd (inbegrepen in @iobroker/testing)",
|
|
12
|
+
"fr": "Suppression de la d\u00e9pendance mocha redondante (incluse dans @iobroker/testing)",
|
|
13
|
+
"it": "Rimossa dipendenza mocha ridondante (inclusa in @iobroker/testing)",
|
|
14
|
+
"es": "Eliminada dependencia mocha redundante (incluida en @iobroker/testing)",
|
|
15
|
+
"pl": "Usuni\u0119to redundantn\u0105 zale\u017cno\u015b\u0107 mocha (zawart\u0105 w @iobroker/testing)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"titleLang": {
|
|
19
|
+
"en": "Sigenergy Solar System",
|
|
20
|
+
"de": "Sigenergy Solaranlage",
|
|
21
|
+
"ru": "\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 Sigenergy",
|
|
22
|
+
"pt": "Sistema Solar Sigenergy",
|
|
23
|
+
"nl": "Sigenergy Zonne-energiesysteem",
|
|
24
|
+
"fr": "Syst\u00e8me Solaire Sigenergy",
|
|
25
|
+
"it": "Sistema Solare Sigenergy",
|
|
26
|
+
"es": "Sistema Solar Sigenergy",
|
|
27
|
+
"pl": "System S\u0142oneczny Sigenergy",
|
|
28
|
+
"uk": "\u0421\u043e\u043d\u044f\u0447\u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 Sigenergy",
|
|
29
|
+
"zh-cn": "Sigenergy \u592a\u9633\u80fd\u7cfb\u7edf"
|
|
30
|
+
},
|
|
31
|
+
"desc": {
|
|
32
|
+
"en": "Adapter for Sigenergy solar energy systems (Hybrid Inverter, Battery, AC/DC Charger) via Modbus TCP/RTU",
|
|
33
|
+
"de": "Adapter f\u00fcr Sigenergy Solarenergieanlagen (Hybrid Wechselrichter, Batterie, AC/DC Ladeger\u00e4t) via Modbus TCP/RTU",
|
|
34
|
+
"ru": "\u0410\u0434\u0430\u043f\u0442\u0435\u0440 \u0434\u043b\u044f \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c Sigenergy (\u0433\u0438\u0431\u0440\u0438\u0434\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u0440\u0442\u043e\u0440, \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440, \u0437\u0430\u0440\u044f\u0434\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e AC/DC) \u0447\u0435\u0440\u0435\u0437 Modbus TCP/RTU",
|
|
35
|
+
"pt": "Adaptador para sistemas de energia solar Sigenergy (Inversor H\u00edbrido, Bateria, Carregador AC/DC) via Modbus TCP/RTU",
|
|
36
|
+
"nl": "Adapter voor Sigenergy zonne-energiesystemen (hybride omvormer, batterij, AC/DC-lader) via Modbus TCP/RTU",
|
|
37
|
+
"fr": "Adaptateur pour les syst\u00e8mes d'\u00e9nergie solaire Sigenergy (onduleur hybride, batterie, chargeur AC/DC) via Modbus TCP/RTU",
|
|
38
|
+
"it": "Adattatore per sistemi di energia solare Sigenergy (inverter ibrido, batteria, caricatore AC/DC) tramite Modbus TCP/RTU",
|
|
39
|
+
"es": "Adaptador para sistemas de energ\u00eda solar Sigenergy (inversor h\u00edbrido, bater\u00eda, cargador AC/DC) a trav\u00e9s de Modbus TCP/RTU",
|
|
40
|
+
"pl": "Adapter dla system\u00f3w energii s\u0142onecznej Sigenergy (falownik hybrydowy, akumulator, \u0142adowarka AC/DC) przez Modbus TCP/RTU",
|
|
41
|
+
"uk": "\u0410\u0434\u0430\u043f\u0442\u0435\u0440 \u0434\u043b\u044f \u0441\u043e\u043d\u044f\u0447\u043d\u0438\u0445 \u0435\u043d\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c Sigenergy (\u0433\u0456\u0431\u0440\u0438\u0434\u043d\u0438\u0439 \u0456\u043d\u0432\u0435\u0440\u0442\u043e\u0440, \u0430\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440, \u0437\u0430\u0440\u044f\u0434\u043d\u0438\u0439 \u043f\u0440\u0438\u0441\u0442\u0440\u0456\u0439 AC/DC) \u0447\u0435\u0440\u0435\u0437 Modbus TCP/RTU",
|
|
42
|
+
"zh-cn": "\u901a\u8fc7Modbus TCP/RTU\u8fde\u63a5Sigenergy\u592a\u9633\u80fd\u7cfb\u7edf\uff08\u6df7\u5408\u9006\u53d8\u5668\u3001\u7535\u6c60\u3001AC/DC\u5145\u7535\u5668\uff09\u7684\u9002\u914d\u5668"
|
|
43
|
+
},
|
|
44
|
+
"authors": [
|
|
45
|
+
"ioBroker Community"
|
|
46
|
+
],
|
|
47
|
+
"keywords": [
|
|
48
|
+
"sigenergy",
|
|
49
|
+
"solar",
|
|
50
|
+
"modbus",
|
|
51
|
+
"energy",
|
|
52
|
+
"inverter",
|
|
53
|
+
"battery",
|
|
54
|
+
"pv"
|
|
55
|
+
],
|
|
56
|
+
"platform": "Javascript/Node.js",
|
|
57
|
+
"icon": "sigenergy.png",
|
|
58
|
+
"extIcon": "https://raw.githubusercontent.com/ssbingo/ioBroker.sigenergy/main/admin/sigenergy.png",
|
|
59
|
+
"enabled": true,
|
|
60
|
+
"readme": "https://github.com/ssbingo/ioBroker.sigenergy/blob/main/README.md",
|
|
61
|
+
"loglevel": "info",
|
|
62
|
+
"mode": "daemon",
|
|
63
|
+
"type": "energy",
|
|
64
|
+
"compact": true,
|
|
65
|
+
"adminUI": {
|
|
66
|
+
"config": "json"
|
|
67
|
+
},
|
|
68
|
+
"adminTab": {
|
|
69
|
+
"singleton": true,
|
|
70
|
+
"name": {
|
|
71
|
+
"en": "Sigenergy",
|
|
72
|
+
"de": "Sigenergy"
|
|
73
|
+
},
|
|
74
|
+
"link": "%web_protocol%://%ip%:%web_port%/adapter/sigenergy/index.html"
|
|
75
|
+
},
|
|
76
|
+
"supportCustoms": false,
|
|
77
|
+
"schedule": "",
|
|
78
|
+
"subscribable": false,
|
|
79
|
+
"supportedMessages": {
|
|
80
|
+
"custom": true
|
|
81
|
+
},
|
|
82
|
+
"tier": 2,
|
|
83
|
+
"connectionType": "local",
|
|
84
|
+
"dataSource": "poll",
|
|
85
|
+
"dependencies": [
|
|
86
|
+
{
|
|
87
|
+
"js-controller": ">=6.0.11"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"globalDependencies": [
|
|
91
|
+
{
|
|
92
|
+
"admin": ">=7.6.20"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"licenseInformation": {
|
|
96
|
+
"license": "MIT",
|
|
97
|
+
"type": "free"
|
|
98
|
+
}
|
|
19
99
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
100
|
+
"native": {
|
|
101
|
+
"connectionType": "tcp",
|
|
102
|
+
"tcpHost": "192.168.1.100",
|
|
103
|
+
"tcpPort": 502,
|
|
104
|
+
"serialPort": "/dev/ttyUSB0",
|
|
105
|
+
"serialBaudRate": 9600,
|
|
106
|
+
"serialDataBits": 8,
|
|
107
|
+
"serialParity": "none",
|
|
108
|
+
"serialStopBits": 1,
|
|
109
|
+
"plantId": 247,
|
|
110
|
+
"inverterId": 1,
|
|
111
|
+
"acChargerId": 2,
|
|
112
|
+
"dcChargerId": 3,
|
|
113
|
+
"pollInterval": 10000,
|
|
114
|
+
"timeout": 5000,
|
|
115
|
+
"hasAcCharger": false,
|
|
116
|
+
"hasDcCharger": false,
|
|
117
|
+
"hasBattery": true,
|
|
118
|
+
"hasPv": true,
|
|
119
|
+
"calcBatteryTimeToFull": true,
|
|
120
|
+
"calcBatteryTimeRemaining": true,
|
|
121
|
+
"calcBatteryDailyFull": true,
|
|
122
|
+
"calcBatteryCoverageTime": true,
|
|
123
|
+
"calcSelfConsumptionRate": true,
|
|
124
|
+
"calcAutarkyRate": true,
|
|
125
|
+
"calcPvYield": true,
|
|
126
|
+
"calcGridFeedIn": true
|
|
32
127
|
},
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"platform": "Javascript/Node.js",
|
|
59
|
-
"icon": "sigenergy.png",
|
|
60
|
-
"extIcon": "https://raw.githubusercontent.com/ssbingo/ioBroker.sigenergy/main/admin/sigenergy.png",
|
|
61
|
-
"enabled": true,
|
|
62
|
-
"readme": "https://github.com/ssbingo/ioBroker.sigenergy/blob/main/README.md",
|
|
63
|
-
"loglevel": "info",
|
|
64
|
-
"mode": "daemon",
|
|
65
|
-
"type": "energy",
|
|
66
|
-
"compact": true,
|
|
67
|
-
"adminUI": {
|
|
68
|
-
"config": "json"
|
|
69
|
-
},
|
|
70
|
-
"adminTab": {
|
|
71
|
-
"singleton": true,
|
|
72
|
-
"name": {
|
|
73
|
-
"en": "Sigenergy",
|
|
74
|
-
"de": "Sigenergy"
|
|
75
|
-
},
|
|
76
|
-
"link": "%web_protocol%://%ip%:%web_port%/adapter/sigenergy/index.html"
|
|
77
|
-
},
|
|
78
|
-
"supportCustoms": false,
|
|
79
|
-
"schedule": "",
|
|
80
|
-
"subscribable": false,
|
|
81
|
-
"supportedMessages": {
|
|
82
|
-
"custom": true
|
|
83
|
-
},
|
|
84
|
-
"tier": 2,
|
|
85
|
-
"connectionType": "local",
|
|
86
|
-
"dataSource": "poll",
|
|
87
|
-
"dependencies": [
|
|
88
|
-
{
|
|
89
|
-
"js-controller": ">=6.0.11"
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"globalDependencies": [
|
|
93
|
-
{
|
|
94
|
-
"admin": ">=7.6.20"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"licenseInformation": {
|
|
98
|
-
"license": "MIT",
|
|
99
|
-
"type": "free"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"native": {
|
|
103
|
-
"connectionType": "tcp",
|
|
104
|
-
"tcpHost": "192.168.1.100",
|
|
105
|
-
"tcpPort": 502,
|
|
106
|
-
"serialPort": "/dev/ttyUSB0",
|
|
107
|
-
"serialBaudRate": 9600,
|
|
108
|
-
"serialDataBits": 8,
|
|
109
|
-
"serialParity": "none",
|
|
110
|
-
"serialStopBits": 1,
|
|
111
|
-
"plantId": 247,
|
|
112
|
-
"inverterId": 1,
|
|
113
|
-
"acChargerId": 2,
|
|
114
|
-
"dcChargerId": 3,
|
|
115
|
-
"pollInterval": 10000,
|
|
116
|
-
"timeout": 5000,
|
|
117
|
-
"hasAcCharger": false,
|
|
118
|
-
"hasDcCharger": false,
|
|
119
|
-
"hasBattery": true,
|
|
120
|
-
"hasPv": true,
|
|
121
|
-
"calcBatteryTimeToFull": true,
|
|
122
|
-
"calcBatteryTimeRemaining": true,
|
|
123
|
-
"calcBatteryDailyFull": true,
|
|
124
|
-
"calcBatteryCoverageTime": true,
|
|
125
|
-
"calcSelfConsumptionRate": true,
|
|
126
|
-
"calcAutarkyRate": true,
|
|
127
|
-
"calcPvYield": true,
|
|
128
|
-
"calcGridFeedIn": true
|
|
129
|
-
},
|
|
130
|
-
"objects": [],
|
|
131
|
-
"instanceObjects": [
|
|
132
|
-
{
|
|
133
|
-
"_id": "info",
|
|
134
|
-
"type": "channel",
|
|
135
|
-
"common": {
|
|
136
|
-
"name": "Information"
|
|
137
|
-
},
|
|
138
|
-
"native": {}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"_id": "info.connection",
|
|
142
|
-
"type": "state",
|
|
143
|
-
"common": {
|
|
144
|
-
"name": "Connection status",
|
|
145
|
-
"type": "boolean",
|
|
146
|
-
"role": "indicator.connected",
|
|
147
|
-
"read": true,
|
|
148
|
-
"write": false,
|
|
149
|
-
"def": false
|
|
150
|
-
},
|
|
151
|
-
"native": {}
|
|
152
|
-
}
|
|
153
|
-
]
|
|
154
|
-
}
|
|
128
|
+
"objects": [],
|
|
129
|
+
"instanceObjects": [
|
|
130
|
+
{
|
|
131
|
+
"_id": "info",
|
|
132
|
+
"type": "channel",
|
|
133
|
+
"common": {
|
|
134
|
+
"name": "Information"
|
|
135
|
+
},
|
|
136
|
+
"native": {}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"_id": "info.connection",
|
|
140
|
+
"type": "state",
|
|
141
|
+
"common": {
|
|
142
|
+
"name": "Connection status",
|
|
143
|
+
"type": "boolean",
|
|
144
|
+
"role": "indicator.connected",
|
|
145
|
+
"read": true,
|
|
146
|
+
"write": false,
|
|
147
|
+
"def": false
|
|
148
|
+
},
|
|
149
|
+
"native": {}
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|