iobroker.sun2000 2.3.4 → 2.3.5
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 +6 -0
- package/io-package.json +16 -16
- package/lib/controls/inverter_service_queue.js +2 -0
- package/lib/drivers/driver_emma.js +17 -2
- package/lib/drivers/driver_inverter.js +1 -1
- package/lib/modbus/modbus_connect.js +18 -10
- package/main.js +26 -20
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -65,6 +65,12 @@ browse in the [wiki](https://github.com/bolliy/ioBroker.sun2000/wiki)
|
|
|
65
65
|
Placeholder for the next version (at the beginning of the line):
|
|
66
66
|
### **WORK IN PROGRESS**
|
|
67
67
|
-->
|
|
68
|
+
### 2.3.5 (2025-11-17)
|
|
69
|
+
* dependency and configuration updates
|
|
70
|
+
* Battery status check was suspended in inverter control [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)
|
|
71
|
+
* Emma: dynamic detection of sun2000 inverters and integration of devices such as sun2000
|
|
72
|
+
* allow Modbus ID 0 when using the sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)
|
|
73
|
+
|
|
68
74
|
### 2.3.4 (2025-11-01)
|
|
69
75
|
* dependency and configuration updates
|
|
70
76
|
* new state `collected.dailyExternalYield` Riemann sum of `collected.externalPower`
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sun2000",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.5",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.3.5": {
|
|
7
|
+
"en": "dependency and configuration updates\nBattery status check was suspended in inverter control [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)\nEmma: dynamic detection of sun2000 inverters and integration of devices such as sun2000\nallow Modbus ID 0 when using the sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
8
|
+
"de": "abhängigkeits- und konfigurationsupdates\nDie Batteriestatusprüfung wurde in der Wechselrichtersteuerung [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220) ausgesetzt\nEmma: dynamische Erkennung von Wechselrichtern von Sun2000 und Integration von Geräten wie sun2000\nerlauben Sie Modbus ID 0 bei Verwendung des sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
9
|
+
"ru": "обновления зависимостей и конфигурации\nПроверка состояния батареи была приостановлена в инверторном управлении [#220] (https://github.com/bolliy/ioBroker.sun2000/issues/220)\nЭмма: динамическое обнаружение инверторов Sun2000 и интеграция таких устройств, как Sun2000\nразрешить Modbus ID 0 при использовании sDongle [#218] (https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
10
|
+
"pt": "atualizações de dependência e configuração\nA verificação do estado da bateria foi suspensa no controle do inversor [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)\nEmma: detecção dinâmica de inversores sun2000 e integração de dispositivos como sun2000\npermitir Modbus ID 0 ao usar o sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
11
|
+
"nl": "afhankelijkheid en configuratie-updates\nDe controle van de status van de batterij werd opgeschort bij controle van de inverter [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)\nEmma: dynamische detectie van zonne2000 omvormers en integratie van apparaten zoals sun2000\nmodbus ID 0 toestaan bij gebruik van sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
12
|
+
"fr": "mises à jour de la dépendance et de la configuration\nLe contrôle de l'état de la batterie a été suspendu dans le contrôle de l'onduleur [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)\nEmma : détection dynamique des onduleurs Sun2000 et intégration de dispositifs tels que Sun2000\npermettre Modbus ID 0 lors de l'utilisation de sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
13
|
+
"it": "aggiornamenti di dipendenza e configurazione\nIl controllo dello stato della batteria è stato sospeso nel controllo dell'inverter [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)\nEmma: rilevazione dinamica degli inverter Sun2000 e integrazione di dispositivi come sun2000\nconsentire Modbus ID 0 quando si utilizza lo sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
14
|
+
"es": "actualizaciones de dependencia y configuración\nSe suspendió el control del estado de la batería [#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)\nEmma: detección dinámica de inversores de sol2000 e integración de dispositivos como el sol2000\npermitir Modbus ID 0 al utilizar el sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
15
|
+
"pl": "aktualizacje zależności i konfiguracji\nKontrola stanu baterii została zawieszona w kontrolach inwertera [# 220] (https: / / github.com / bolliy / ioBroker.sun2000 / issues / 220)\nEmma: dynamiczna detekcja inwerterów sun2000 i integracja urządzeń takich jak sun2000\nw przypadku stosowania sDongle [# 218] (https: / / github.com / bolliy / ioBroker.sun2000 / issues / 118)",
|
|
16
|
+
"uk": "оновлення залежності та конфігурації\nПеревірка стану акумулятора була припинена в інверторному режимі [#220] (https://github.com/bolliy/ioBroker.sun2000/issues/220)\nЕмма: динамічне виявлення інверторів сонця2000 та інтеграції пристроїв, таких як сонце2000\nдозволити Modbus ID 0 при використанні sDongle [#218](https://github.com/bolliy/ioBroker.sun2000/issues/118)",
|
|
17
|
+
"zh-cn": "依赖和配置更新\n在反转控制中暂停了电池状态检查[#220](https://github.com/bolliy/ioBroker.sun2000/issues/220)\n艾玛:对太阳2000反转器的动态检测和太阳2000等设备的集成\n允许在使用 sDongle [# 218] 时使用 Modbus ID (https:// github.com/ bolliy/ioBroker.sun2000/issues/118) "
|
|
18
|
+
},
|
|
6
19
|
"2.3.4": {
|
|
7
20
|
"en": "dependency and configuration updates\nnew state `collected.dailyExternalYield` Riemann sum of `collected.externalPower`",
|
|
8
21
|
"de": "abhängigkeits- und konfigurationsupdates\nneuer Zustand `collect.dailyExternalYield` Riemann Summe von `collected.externalPower `",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "inverter control: add same state for startup and shutdown an inverter [# 199] (https: / / github.com / bolliy / ioBroker.sun2000 / issues / 199)\nfix: Nazwa statusu urządzenia została poprawiona [# 202] (https: / / github.com / bolliy / ioBroker.sun2000 / pull / 202)\ndodać nieudokumentowany status urządzenia \"Wyłączenie: koniec procesu rozładowania ESS\"\nemma control: New state 'emma.control.battery.ESSControlMode'. Można teraz skonfigurować EMMA z TOU- mode (Time of Use), aby naładować baterię z siatki. [# 200] (https: / / github.com / bolliy / ioBroker.sun2000 / discussions / 200)\njeśli zainstalowana jest Emma, niektóre stany sterujące inwertera są wyłączone (tylko do odczytu). Głównie dla ustawień siatki.\nusunięto zdepregatowane stany kontrolne.\na workaround for issue [# 582] (https: / / github.com / yaacov / node- modbus- serial / issues / 582) of node- modbus- serial został wdrożony.",
|
|
81
94
|
"uk": "контроль інвертора: додати однаковий стан для запуску та відключення інвертора [#199](https://github.com/bolliy/ioBroker.sun2000/issues/199)\nвиправлено: Назва стану пристрою було виправлено [#202] (https://github.com/bolliy/ioBroker.sun2000/pull/202)\nдодати недокументований статус пристрою `Пошук: кінець процесу розряду ESS\nемма управління: новий стан ` emma.control.battery.ESSControlMode`. Ви можете налаштувати EMMA з TOU-mode (Time of Use) для зарядки акумулятора з сітки. [#200](https://github.com/bolliy/ioBroker.sun2000/discussions/200)\nякщо встановлений Емма, деактивуються деякі стани управління інвертором (прочитати тільки). В основному для налаштування сітки.\nвилучені стани керування.\n[#582](https://github.com/yaacov/node-modbus-serial/issues/582) вузла-modbus-serial.",
|
|
82
95
|
"zh-cn": "反转器控制:为启动和关闭添加相同状态的反转器[199](https://github.com/bolliy/ioBroker.sun2000/issues/199)\n固定: 设备状态名称已更正 [# 202] (https://github.com/bolliy/ioBroker.sun2000/pul/202)\n添加无文件设备状态“关闭:ESS放电过程结束”\nemma控制:新状态`emma.control.battery.ESS Control Mode'. 您现在可以用 TOU- mode( 使用时间) 配置 EMMA 从电网中充电 。 [# 200] (https://github.com/bolliy/ioBroker.sun2000/discussions/200)\n如果安装了Emma,反转器的某些控制状态就会失效(只读). 主要用于网格设置.\n贬值的控制状态已被取消.\n已落实了节点-modbus-serial[#582](https://github.com/yaacov/node-modbus-serial/issues/582)的工作."
|
|
83
|
-
},
|
|
84
|
-
"2.2.0": {
|
|
85
|
-
"en": "dependency and configuration updates\nnew state `meter.derived.signConventionForPowerFeed-in` sign of meter.activePower that is currently being fed into the power grid\nnew state `meter.derived.feed-inPower` electric power that is supplied to a grid (\"fed in\")",
|
|
86
|
-
"de": "abhängigkeits- und konfigurationsupdates\nneuer Zustand `meter.derived.signConventionForPowerFeed-in` Zeichen von meter.active Strom, der derzeit in das Stromnetz eingespeist wird\nneue Zustand `meter.derived.feed-inPower` elektrische Leistung, die einem Netz zugeführt wird (\"fed in\")",
|
|
87
|
-
"ru": "обновления зависимостей и конфигурации\nновый государственный знак «meter.derived.signConventionForPowerFeed-in» Мощность, которая в настоящее время подается в электросеть\nэлектрическая мощность нового состояния «meter.derived.feed-inPower», которая подается в сеть («питается в»)",
|
|
88
|
-
"pt": "atualizações de dependência e configuração\nnovo estado `meter.derived.signConventionForPowerFeed-in` sinal do medidor.active Energia que está sendo alimentada na rede de energia\nnovo estado `meter.derived.feed-inPower` energia elétrica que é fornecida a uma grade (\"feed in\")",
|
|
89
|
-
"nl": "afhankelijkheid en configuratie-updates\nnieuwe staat Energie die momenteel wordt gevoed in het elektriciteitsnet\nnieuwe toestand ",
|
|
90
|
-
"fr": "mises à jour de la dépendance et de la configuration\nnouvel état `meter.derived.signConventionForPowerFeed-in` signe de meter.active Puissance qui est actuellement introduite dans le réseau électrique\nnouvel état `meter.derived.feed-inPower` électricité qui est fourni à un réseau (\"feed in\")",
|
|
91
|
-
"it": "aggiornamenti di dipendenza e configurazione\nnuovo stato `meter.derived.signConventionForPowerFeed-in` segno di metro.active Potenza che sta attualmente alimentando nella rete elettrica\nnuovo stato `meter.derived.feed-inPower` potere elettrico che viene fornito a una griglia (\"fed in\")",
|
|
92
|
-
"es": "actualizaciones de dependencia y configuración\nnuevo estado `meter.derived.signConventionForPowerFeed-in` signo de medidor.active Potencia que actualmente está siendo alimentada en la red eléctrica\nnuevo estado `meter.derived.feed-inPower` energía eléctrica que se suministra a una red (\"fed in\")",
|
|
93
|
-
"pl": "aktualizacje zależności i konfiguracji\nnowy stan 'meter.derived.signConventionForPowerFeed- in' znak meter.active Energia zasilana obecnie do sieci energetycznej\nnowy stan 'meter.derived.feed-inPower' energia elektryczna, która jest dostarczana do sieci (\"karmiona w\")",
|
|
94
|
-
"uk": "оновлення залежності та конфігурації\nновий стан `meter.derived.signConventionForPowerFeed-in` знак лічильника.active Потужність, яка в даний час вдається в електромережу\nновий стан `meter.derived.feed-inPower` електрична потужність, яка подається в сітку (\"fed in\")",
|
|
95
|
-
"zh-cn": "依赖和配置更新\n新的状态“ 公尺” 。 生成。 签署 Convention ForPowerFeed- in' sign of meter. 活动 目前输入电网的电力\n新状态“ met. entered. feed-inpower” 供电给电网(“ feeded in”)"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -233,14 +233,14 @@
|
|
|
233
233
|
"native": {
|
|
234
234
|
"address": "",
|
|
235
235
|
"port": 502,
|
|
236
|
-
"modbusIds": "
|
|
236
|
+
"modbusIds": "",
|
|
237
237
|
"updateInterval": 20,
|
|
238
238
|
"sd_active": false,
|
|
239
239
|
"sDongleId": "100",
|
|
240
240
|
"timeout": 10000,
|
|
241
241
|
"delay": 0,
|
|
242
242
|
"connectDelay": 5000,
|
|
243
|
-
"autoAdjust":
|
|
243
|
+
"autoAdjust": false,
|
|
244
244
|
"ms_active": false,
|
|
245
245
|
"ms_address": "0.0.0.0",
|
|
246
246
|
"ms_port": 502,
|
|
@@ -750,6 +750,7 @@ class ServiceQueueMap {
|
|
|
750
750
|
this._eventMap.delete(event.id); //forget the event
|
|
751
751
|
continue;
|
|
752
752
|
}
|
|
753
|
+
/*
|
|
753
754
|
const BatStatus = this.inverterInfo.instance.stateCache.get(`${this.inverterInfo.path}.battery.runningStatus`)?.value ?? -1;
|
|
754
755
|
if (BatStatus !== 2 && BatStatus !== 1 && BatStatus !== -1) {
|
|
755
756
|
this.log.warn(
|
|
@@ -758,6 +759,7 @@ class ServiceQueueMap {
|
|
|
758
759
|
this._eventMap.delete(event.id); //forget the event
|
|
759
760
|
continue;
|
|
760
761
|
}
|
|
762
|
+
*/
|
|
761
763
|
}
|
|
762
764
|
if (service.state.type === 'number') {
|
|
763
765
|
if (!this.isNumber(event)) {
|
|
@@ -570,7 +570,7 @@ class Emma extends DriverBase {
|
|
|
570
570
|
this.log.debug('### PostHook for Emma - identify Subdevices charger');
|
|
571
571
|
this.identifySubdevices('charger', this.modbusId)
|
|
572
572
|
.then(ret => {
|
|
573
|
-
this.log.debug(`### PostHook identification for
|
|
573
|
+
this.log.debug(`### PostHook identification for Emma chargers - ret: ${JSON.stringify(ret)}`);
|
|
574
574
|
for (const [i, charger] of ret.entries()) {
|
|
575
575
|
const device = {
|
|
576
576
|
index: i,
|
|
@@ -588,8 +588,23 @@ class Emma extends DriverBase {
|
|
|
588
588
|
this.identifySubdevices('sun2000', this.modbusId)
|
|
589
589
|
.then(ret => {
|
|
590
590
|
this.log.debug(`### PostHook indentification for Inverter Sun2000 - ret: ${JSON.stringify(ret)}`);
|
|
591
|
-
|
|
591
|
+
//check if inverter sun2000 already exists
|
|
592
|
+
const inverterExist = this.adapter.devices.findIndex(x => x.driverClass === driverClasses.inverter);
|
|
593
|
+
for (const [i, inverter] of ret.entries()) {
|
|
592
594
|
this.log.info(`${this._name} identify subdevice an inverter sun2000: OID=${inverter.obj_id}, modbus id: ${inverter.slave_id}`);
|
|
595
|
+
//unless inverters are configured, add them
|
|
596
|
+
if (inverterExist === -1) {
|
|
597
|
+
const device = {
|
|
598
|
+
index: i,
|
|
599
|
+
duration: 5000,
|
|
600
|
+
modbusId: inverter.slave_id,
|
|
601
|
+
driverClass: driverClasses.inverter,
|
|
602
|
+
meter: false,
|
|
603
|
+
};
|
|
604
|
+
this.adapter.devices.push(device);
|
|
605
|
+
this.adapter.initDevicePath(device);
|
|
606
|
+
this.log.info(`Inverter sun2000 with modbus id ${inverter.slave_id} added.`);
|
|
607
|
+
}
|
|
593
608
|
}
|
|
594
609
|
})
|
|
595
610
|
.catch(err => {
|
|
@@ -1520,7 +1520,7 @@ class InverterSun2000 extends DriverBase {
|
|
|
1520
1520
|
//let inputYield = this.stateCache.get(`${path}dailyEnergyYield`)?.value ?? 0 * 0.97 + charge - disCharge;
|
|
1521
1521
|
const activeEnergy = this.stateCache.get(`${path}derived.dailyActiveEnergy`)?.value ?? 0;
|
|
1522
1522
|
//let inYield = activeEnergy + (charge - disCharge) * 0.97; //efficiency loss of battery 3%
|
|
1523
|
-
let inYield = activeEnergy +
|
|
1523
|
+
let inYield = activeEnergy + charge * 0.97 - disCharge * 1.03; //efficiency loss of battery 3%
|
|
1524
1524
|
if (inYield < 0) {
|
|
1525
1525
|
inYield = 0;
|
|
1526
1526
|
}
|
|
@@ -97,11 +97,17 @@ class ModbusConnect extends DeviceInterface {
|
|
|
97
97
|
close() {
|
|
98
98
|
return new Promise(resolve => {
|
|
99
99
|
if (this.client) {
|
|
100
|
-
|
|
100
|
+
try {
|
|
101
|
+
this.client.close(() => {
|
|
102
|
+
resolve({});
|
|
103
|
+
});
|
|
104
|
+
//workaround for issue https://github.com/yaacov/node-modbus-serial/issues/582 with node-modbus-serial
|
|
101
105
|
resolve({});
|
|
102
|
-
})
|
|
103
|
-
|
|
104
|
-
|
|
106
|
+
} catch (err) {
|
|
107
|
+
this.log.warn(`Could not close Modbus connection: ${err.message}`);
|
|
108
|
+
resolve({});
|
|
109
|
+
//reject();
|
|
110
|
+
}
|
|
105
111
|
} else {
|
|
106
112
|
resolve({});
|
|
107
113
|
}
|
|
@@ -112,9 +118,15 @@ class ModbusConnect extends DeviceInterface {
|
|
|
112
118
|
_destroy() {
|
|
113
119
|
return new Promise(resolve => {
|
|
114
120
|
if (this.client) {
|
|
115
|
-
|
|
121
|
+
try {
|
|
122
|
+
this.client.destroy(() => {
|
|
123
|
+
resolve({});
|
|
124
|
+
});
|
|
125
|
+
} catch (err) {
|
|
126
|
+
this.log.warn(`Could not destroy Modbus connection: ${err.message}`);
|
|
116
127
|
resolve({});
|
|
117
|
-
|
|
128
|
+
//reject();
|
|
129
|
+
}
|
|
118
130
|
} else {
|
|
119
131
|
resolve({});
|
|
120
132
|
}
|
|
@@ -140,8 +152,6 @@ class ModbusConnect extends DeviceInterface {
|
|
|
140
152
|
if (err.modbusCode === undefined) {
|
|
141
153
|
this._adjustDelay(err, false);
|
|
142
154
|
await this.close();
|
|
143
|
-
//await this._destroy();
|
|
144
|
-
//await this.closing();
|
|
145
155
|
await this._create();
|
|
146
156
|
if (err.errno === 'ECONNREFUSED') {
|
|
147
157
|
this.log.warn('Has another device interrupted the modbus connection?');
|
|
@@ -150,8 +160,6 @@ class ModbusConnect extends DeviceInterface {
|
|
|
150
160
|
} else {
|
|
151
161
|
if (err.modbusCode === 0) {
|
|
152
162
|
await this.close();
|
|
153
|
-
//await this._destroy();
|
|
154
|
-
//await this.closing();
|
|
155
163
|
this._adjustDelay(err, false);
|
|
156
164
|
await this._create();
|
|
157
165
|
}
|
package/main.js
CHANGED
|
@@ -386,14 +386,13 @@ class Sun2000 extends utils.Adapter {
|
|
|
386
386
|
this.settings.modbusDelay = this.config.delay; //ms
|
|
387
387
|
this.settings.modbusConnectDelay = this.config.connectDelay; //ms
|
|
388
388
|
this.settings.modbusAdjust = this.config.autoAdjust;
|
|
389
|
-
this.
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
*/
|
|
389
|
+
if (this.config.modbusIds !== '') {
|
|
390
|
+
this.settings.modbusIds = this.config.modbusIds.split(',').map(n => {
|
|
391
|
+
return Number(n);
|
|
392
|
+
});
|
|
393
|
+
} else {
|
|
394
|
+
this.settings.modbusIds = [];
|
|
395
|
+
}
|
|
397
396
|
//SmartDongle
|
|
398
397
|
this.settings.sd.active = this.config.sd_active;
|
|
399
398
|
// eslint-disable-next-line no-constant-binary-expression
|
|
@@ -419,27 +418,34 @@ class Sun2000 extends utils.Adapter {
|
|
|
419
418
|
if (this.settings.modbusAdjust) {
|
|
420
419
|
await this.setState('info.JSONhealth', { val: '{message: "Adjust modbus settings"}', ack: true });
|
|
421
420
|
} else {
|
|
422
|
-
await this.setState('info.JSONhealth', { val: '{message : "Information is collected"}', ack: true });
|
|
421
|
+
await this.setState('info.JSONhealth', { val: '{message : "Information is collected..."}', ack: true });
|
|
423
422
|
}
|
|
424
|
-
//
|
|
425
|
-
if (this.settings.modbusIds.length
|
|
426
|
-
this.adapterDisable(`*** Adapter deactivated,
|
|
423
|
+
//validate modbus Ids
|
|
424
|
+
if (this.settings.modbusIds.length > 5) {
|
|
425
|
+
this.adapterDisable(`*** Adapter deactivated, Only a maximum of 5 inverters are allowed! ***`);
|
|
426
|
+
return;
|
|
427
|
+
}
|
|
428
|
+
if (this.settings.integration !== 2 && this.settings.modbusIds.length === 0) {
|
|
429
|
+
this.adapterDisable(`*** Adapter deactivated, inverter Modbus IDs must be entered! ***`);
|
|
427
430
|
return;
|
|
428
431
|
}
|
|
429
432
|
//ES6 use a for (const [index, item] of array.entries()) of loop
|
|
430
433
|
for (const [i, id] of this.settings.modbusIds.entries()) {
|
|
431
434
|
//Inverter
|
|
432
|
-
if (id
|
|
435
|
+
if (id >= 250) {
|
|
433
436
|
this.adapterDisable(`*** Adapter deactivated, inverter modbus Id ${id} is not permitted! ***`);
|
|
434
437
|
return;
|
|
435
438
|
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
439
|
+
//inverter modbus id 0 does not exist with emma
|
|
440
|
+
if (this.settings.integration !== 2 || id > 0) {
|
|
441
|
+
this.devices.push({
|
|
442
|
+
index: i,
|
|
443
|
+
duration: 5000,
|
|
444
|
+
modbusId: id,
|
|
445
|
+
driverClass: driverClasses.inverter,
|
|
446
|
+
meter: i == 0 && this.settings.integration === 0,
|
|
447
|
+
});
|
|
448
|
+
}
|
|
443
449
|
}
|
|
444
450
|
|
|
445
451
|
//SDongle
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.sun2000",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"description": "sun2000",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bolliy",
|
|
@@ -37,13 +37,11 @@
|
|
|
37
37
|
"@alcalzone/release-script-plugin-iobroker": "^4.0.0",
|
|
38
38
|
"@alcalzone/release-script-plugin-license": "^4.0.0",
|
|
39
39
|
"@alcalzone/release-script-plugin-manual-review": "^4.0.0",
|
|
40
|
-
"@eslint/eslintrc": "^3.3.1",
|
|
41
|
-
"@eslint/js": "^9.39.0",
|
|
42
40
|
"@iobroker/adapter-dev": "^1.5.0",
|
|
43
41
|
"@iobroker/eslint-config": "^2.2.0",
|
|
44
|
-
"@iobroker/testing": "^5.
|
|
42
|
+
"@iobroker/testing": "^5.2.2",
|
|
45
43
|
"@tsconfig/node20": "^20.1.6",
|
|
46
|
-
"@types/node": "^24.
|
|
44
|
+
"@types/node": "^24.10.1",
|
|
47
45
|
"globals": "^16.5.0",
|
|
48
46
|
"typescript": "~5.9.3"
|
|
49
47
|
},
|