iobroker.utility-monitor 1.4.2
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 +21 -0
- package/README.md +384 -0
- package/admin/i18n/de.json +5 -0
- package/admin/i18n/en.json +5 -0
- package/admin/i18n/es.json +5 -0
- package/admin/i18n/fr.json +5 -0
- package/admin/i18n/it.json +5 -0
- package/admin/i18n/nl.json +5 -0
- package/admin/i18n/pl.json +5 -0
- package/admin/i18n/pt.json +5 -0
- package/admin/i18n/ru.json +5 -0
- package/admin/i18n/uk.json +5 -0
- package/admin/i18n/zh-cn.json +5 -0
- package/admin/jsonConfig.json +1542 -0
- package/admin/utility-monitor.png +0 -0
- package/io-package.json +188 -0
- package/lib/adapter-config.d.ts +19 -0
- package/lib/billingManager.js +806 -0
- package/lib/calculator.js +254 -0
- package/lib/configParser.js +92 -0
- package/lib/consumptionManager.js +407 -0
- package/lib/messagingHandler.js +339 -0
- package/lib/multiMeterManager.js +749 -0
- package/lib/stateManager.js +1556 -0
- package/main.js +297 -0
- package/package.json +80 -0
|
Binary file
|
package/io-package.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"name": "utility-monitor",
|
|
4
|
+
"version": "1.4.2",
|
|
5
|
+
"news": {
|
|
6
|
+
"1.4.2": {
|
|
7
|
+
"en": "Fix: Critical multi-meter balance bug (hardcoded 12 months). Fix: TypeScript errors resolved. New: Enhanced input validation. New: Extended constants. New: Error handling wrapper.",
|
|
8
|
+
"de": "Fix: Kritischer Multi-Meter Balance-Bug (hardcodierte 12 Monate). Fix: TypeScript-Fehler behoben. Neu: Erweiterte Eingabevalidierung. Neu: Erweiterte Konstanten. Neu: Fehlerbehandlungs-Wrapper.",
|
|
9
|
+
"ru": "Исправление: Критическая ошибка баланса multi-meter (жестко заданные 12 месяцев). Исправление: Устранены ошибки TypeScript. Новое: Расширенная проверка входных данных. Новое: Расширенные константы. Новое: Обработка ошибок.",
|
|
10
|
+
"pt": "Correção: Bug crítico de saldo multi-medidor (12 meses fixos). Correção: Erros TypeScript resolvidos. Novo: Validação de entrada aprimorada. Novo: Constantes estendidas. Novo: Wrapper de tratamento de erros.",
|
|
11
|
+
"nl": "Fix: Kritieke multi-meter balans bug (hardcoded 12 maanden). Fix: TypeScript-fouten opgelost. Nieuw: Verbeterde invoervalidatie. Nieuw: Uitgebreide constanten. Nieuw: Foutafhandeling wrapper.",
|
|
12
|
+
"fr": "Correction: Bug critique de solde multi-compteurs (12 mois codés en dur). Correction: Erreurs TypeScript résolues. Nouveau: Validation d'entrée améliorée. Nouveau: Constantes étendues. Nouveau: Wrapper de gestion des erreurs.",
|
|
13
|
+
"it": "Correzione: Bug critico bilancio multi-contatore (12 mesi hardcoded). Correzione: Errori TypeScript risolti. Nuovo: Validazione input migliorata. Nuovo: Costanti estese. Nuovo: Wrapper gestione errori.",
|
|
14
|
+
"es": "Corrección: Bug crítico de saldo multi-medidor (12 meses fijos). Corrección: Errores TypeScript resueltos. Nuevo: Validación de entrada mejorada. Nuevo: Constantes extendidas. Nuevo: Wrapper manejo errores.",
|
|
15
|
+
"pl": "Naprawa: Krytyczny błąd salda multi-meter (zakodowane 12 miesięcy). Naprawa: Naprawione błędy TypeScript. Nowe: Ulepszona walidacja danych. Nowe: Rozszerzone stałe. Nowe: Wrapper obsługi błędów.",
|
|
16
|
+
"uk": "Виправлення: Критична помилка балансу multi-meter (жорстко задані 12 місяців). Виправлення: Усунено помилки TypeScript. Нове: Покращена перевірка даних. Нове: Розширені константи. Нове: Обробник помилок.",
|
|
17
|
+
"zh-cn": "修复:关键多表余额错误(硬编码12个月)。修复:解决TypeScript错误。新增:增强输入验证。新增:扩展常量。新增:错误处理包装器。"
|
|
18
|
+
},
|
|
19
|
+
"1.4.1": {
|
|
20
|
+
"en": "Fix: Multi-meter bugs (cost calculation, billing period closure, monthly reports, yearly resets). Fix: Per-meter billing closure support. Fix: State type corrections (lastDayStart). Fix: ioBroker Bot compliance.",
|
|
21
|
+
"de": "Fix: Multi-Meter-Fehler (Kostenberechnung, Periodenabschluss, Monatsberichte, Jahres-Resets). Fix: Zähler-individuelle Periodenabschlüsse. Fix: State-Typ-Korrekturen (lastDayStart). Fix: ioBroker Bot-Compliance.",
|
|
22
|
+
"ru": "Исправление: Ошибки нескольких счетчиков (расчет затрат, закрытие периода, ежемесячные отчеты, годовые сбросы). Исправление: Поддержка закрытия периода для каждого счетчика. Исправление: Исправления типов состояний. Исправление: Соответствие ioBroker Bot.",
|
|
23
|
+
"pt": "Correção: Bugs multi-medidor (cálculo custos, fechamento período, relatórios mensais, resets anuais). Correção: Suporte fechamento período por medidor. Correção: Correções tipo estado. Correção: Conformidade Bot ioBroker.",
|
|
24
|
+
"nl": "Fix: Multi-meter bugs (kostenberekening, periode afsluiting, maandraporten, jaarlijkse resets). Fix: Per-meter periode afsluiting. Fix: State type correcties. Fix: ioBroker Bot compliance.",
|
|
25
|
+
"fr": "Correction: Bugs multi-compteurs (calcul coûts, clôture période, rapports mensuels, réinitialisations annuelles). Correction: Support clôture période par compteur. Correction: Corrections type d'état. Correction: Conformité Bot ioBroker.",
|
|
26
|
+
"it": "Correzione: Bug multi-contatore (calcolo costi, chiusura periodo, report mensili, reset annuali). Correzione: Supporto chiusura periodo per contatore. Correzione: Correzioni tipo stato. Correzione: Conformità Bot ioBroker.",
|
|
27
|
+
"es": "Corrección: Bugs multi-medidor (cálculo costos, cierre período, informes mensuales, reinicios anuales). Corrección: Soporte cierre período por medidor. Corrección: Correcciones tipo estado. Corrección: Cumplimiento Bot ioBroker.",
|
|
28
|
+
"pl": "Naprawa: Błędy wielu liczników (obliczanie kosztów, zamknięcie okresu, raporty miesięczne, resety roczne). Naprawa: Wsparcie zamknięcia okresu dla licznika. Naprawa: Poprawki typu stanu. Naprawa: Zgodność z Bot ioBroker.",
|
|
29
|
+
"uk": "Виправлення: Помилки кількох лічильників (розрахунок витрат, закриття періоду, місячні звіти, річні скидання). Виправлення: Підтримка закриття періоду для лічильника. Виправлення: Виправлення типу стану. Виправлення: Відповідність ioBroker Bot.",
|
|
30
|
+
"zh-cn": "修复:多表错误(成本计算、期间关闭、月度报告、年度重置)。修复:每表期间关闭支持。修复:状态类型更正。修复:ioBroker Bot合规性。"
|
|
31
|
+
},
|
|
32
|
+
"1.4.0": {
|
|
33
|
+
"en": "New: Multi-Meter Support! Add unlimited custom-named meters per utility type (gas, water, electricity). Automatic totals calculation. Fully backward compatible.",
|
|
34
|
+
"de": "Neu: Multi-Meter-Unterstützung! Unbegrenzt viele Zähler pro Medium (Gas, Wasser, Strom) mit benutzerdefinierten Namen. Automatische Gesamt-Summen. Vollständig rückwärtskompatibel.",
|
|
35
|
+
"ru": "Новое: Поддержка нескольких счетчиков! Добавьте неограниченное количество пользовательских счетчиков для каждого типа коммунальных услуг (газ, вода, электричество). Автоматический расчет итогов. Полная обратная совместимость.",
|
|
36
|
+
"pt": "Novo: Suporte Multi-Medidor! Adicione medidores personalizados ilimitados por tipo de utilidade (gás, água, eletricidade). Cálculo automático de totais. Totalmente compatível com versões anteriores.",
|
|
37
|
+
"nl": "Nieuw: Multi-Meter Ondersteuning! Voeg onbeperkt aangepaste meters toe per type (gas, water, elektriciteit). Automatische totaalberekening. Volledig achterwaarts compatibel.",
|
|
38
|
+
"fr": "Nouveau: Support Multi-Compteur! Ajoutez des compteurs personnalisés illimités par type de service (gaz, eau, électricité). Calcul automatique des totaux. Entièrement rétrocompatible.",
|
|
39
|
+
"it": "Nuovo: Supporto Multi-Contatore! Aggiungi contatori personalizzati illimitati per tipo di servizio (gas, acqua, elettricità). Calcolo automatico dei totali. Completamente retrocompatibile.",
|
|
40
|
+
"es": "Nuevo: Soporte Multi-Medidor! Agregue medidores personalizados ilimitados por tipo de servicio (gas, agua, electricidad). Cálculo automático de totales. Totalmente compatible con versiones anteriores.",
|
|
41
|
+
"pl": "Nowe: Obsługa Wielu Liczników! Dodaj nieograniczoną liczbę niestandardowych liczników dla każdego typu mediów (gaz, woda, prąd). Automatyczne obliczanie sum. Pełna kompatybilność wsteczna.",
|
|
42
|
+
"uk": "Нове: Підтримка кількох лічильників! Додайте необмежену кількість власних лічильників для кожного типу комунальних послуг (газ, вода, електрика). Автоматичний розрахунок підсумків. Повна зворотна сумісність.",
|
|
43
|
+
"zh-cn": "新增:多表支持!为每种公用事业类型(燃气、水、电)添加无限的自定义计量表。自动总计计算。完全向后兼容。"
|
|
44
|
+
},
|
|
45
|
+
"1.3.5": {
|
|
46
|
+
"en": "New: Monthly Status Report. New: Added lastDay statistics. Fix: PV period reset bug. Fix: Schema validation for prices. Improved: Admin UI Info-Tab optimized. Improved: Consistent rounding (2 decimals). Improved: Bot compliance grid attributes.",
|
|
47
|
+
"de": "Neu: Monatlicher Status-Bericht. Neu: lastDay-Statistiken hinzugefügt. Fix: PV Perioden-Reset Fehler behoben. Fix: Schema-Validierung für Preisfelder. Verbessert: Admin-UI Info-Tab optimiert. Verbessert: Einheitliche Rundung (2 Stellen). Verbessert: Bot-Compliance Grid-Attribute.",
|
|
48
|
+
"ru": "Новое: Ежемесячный отчет о состоянии. Новое: Добавлена статистика lastDay. Исправление: Ошибка сброса периода PV. Исправление: Проверка схемы для цен. Улучшено: Оптимизирована вкладка информации Admin UI. Улучшено: Последовательное округление (2 знака). Улучшено: Атрибуты сетки соответствия ботов.",
|
|
49
|
+
"pt": "Novo: Relatório de Status Mensal. Novo: Adicionadas estatísticas lastDay. Correção: Bug de redefinição de período PV. Correção: Validação de esquema para preços. Melhorado: Guia de informações da Admin UI otimizada. Melhorado: Arredondamento consistente (2 decimais). Melhorado: Atributos de grade de conformidade do bot.",
|
|
50
|
+
"nl": "Nieuw: Maandelijks statusrapport. Nieuw: lastDay statistieken toegevoegd. Fix: PV periode reset bug. Fix: Schema validatie voor prijzen. Verbeterd: Admin UI Info-Tab geoptimaliseerd. Verbeterd: Consistente afronding (2 decimalen). Verbeterd: Bot compliance grid attributen.",
|
|
51
|
+
"fr": "Nouveau: Rapport d'état mensuel. Nouveau: Ajout de statistiques lastDay. Correction: Bug de réinitialisation de période PV. Correction: Validation de schéma pour les prix. Amélioré: Onglet d'informations Admin UI optimisé. Amélioré: Arrondi cohérent (2 décimales). Amélioré: Attributs de grille de conformité des bots.",
|
|
52
|
+
"it": "Nuovo: Rapporto di stato mensile. Nuovo: Aggiunte statistiche lastDay. Correzione: Bug di reset periodo PV. Correzione: Convalida dello schema per i prezzi. Migliorato: Scheda informazioni Admin UI ottimizzata. Migliorato: Arrotondamento coerente (2 decimali). Migliorato: Attributi griglia conformità bot.",
|
|
53
|
+
"es": "Nuevo: Informe de Estado Mensual. Nuevo: Agregadas estadísticas lastDay. Corrección: Error de reinicio de período PV. Corrección: Validación de esquema para precios. Mejorado: Pestaña de información de Admin UI optimizada. Mejorado: Redondeo consistente (2 decimales). Mejorado: Atributos de cuadrícula de cumplimiento de bots.",
|
|
54
|
+
"pl": "Nowe: Miesięczny raport statusu. Nowe: Dodano statystyki lastDay. Naprawa: Błąd resetowania okresu PV. Naprawa: Walidacja schematu dla cen. Ulepszone: Zoptymalizowana zakładka informacji Admin UI. Ulepszone: Spójne zaokrąglanie (2 miejsca dziesiętne). Ulepszone: Atrybuty siatki zgodności botów.",
|
|
55
|
+
"uk": "Нове: Щомісячний звіт про стан. Нове: Додано статистику lastDay. Виправлення: Помилка скидання періоду PV. Виправлення: Перевірка схеми для цін. Покращено: Оптимізовано вкладку інформації Admin UI. Покращено: Послідовне округлення (2 знаки). Покращено: Атрибути сітки відповідності ботів.",
|
|
56
|
+
"zh-cn": "新增:每月状态报告。新增:添加了lastDay统计信息。修复:PV周期重置错误。修复:价格架构验证。改进:优化了Admin UI信息选项卡。改进:一致的四舍五入(2位小数)。改进:机器人合规网格属性。"
|
|
57
|
+
},
|
|
58
|
+
"1.3.3": {
|
|
59
|
+
"en": "New: PV/Feed-in integration! Monitor your solar feed-in and earnings. New: Notifications for PV. Improved: Reorganized config UI.",
|
|
60
|
+
"de": "Neu: PV/Einspeise-Integration! Überwache deine Solareinspeisung und Vergütung. Neu: Benachrichtigungen für PV. Verbessert: Aufgeräumte Konfigurations-Oberfläche.",
|
|
61
|
+
"ru": "Новое: Интеграция PV/Feed-in! Отслеживайте свою солнечную подачу и доходы. Новое: Уведомления для PV. Улучшено: Реорганизован интерфейс конфигурации.",
|
|
62
|
+
"pt": "Novo: Integração PV/Feed-in! Monitore sua alimentação solar e ganhos. Novo: Notificações para PV. Melhorado: IU de configuração reorganizada.",
|
|
63
|
+
"nl": "Nieuw: PV/Feed-in integratie! Monitor je zonne-invoeding en inkomsten. Nieuw: Meldingen voor PV. Verbeterd: Gereorganiseerde configuratie-UI.",
|
|
64
|
+
"fr": "Nouveau: Intégration PV/Feed-in! Surveillez votre injection solaire et vos revenus. Nouveau: Notifications pour PV. Amélioré: Interface de configuration réorganisée.",
|
|
65
|
+
"it": "Nuovo: Integrazione PV/Feed-in! Monitora il tuo immissione solare e i guadagni. Nuovo: Notifiche per PV. Migliorato: IU di configurazione riorganizzata.",
|
|
66
|
+
"es": "Nuevo: Integración PV/Feed-in! Monitorea tu alimentación solar y ganancias. Nuevo: Notificaciones para PV. Mejorado: IU de configuración reorganizada.",
|
|
67
|
+
"pl": "Nowe: Integracja PV/Feed-in! Monitoruj swoje zasilanie słoneczne i zarobki. Nowe: Powiadomienia dla PV. Ulepszone: Zreorganizowany interfejs konfiguracji.",
|
|
68
|
+
"uk": "Нове: Інтеграція PV/Feed-in! Відстежуйте своє сонячне живлення та доходи. Нове: Сповіщення для PV. Покращено: Реорганізований інтерфейс конфігурації.",
|
|
69
|
+
"zh-cn": "新增:PV/Feed-in集成!监控您的太阳能馈入和收益。新增:PV通知。改进:重新组织的配置界面。"
|
|
70
|
+
},
|
|
71
|
+
"1.3.2": {
|
|
72
|
+
"en": "New: Initial support for PV integration.",
|
|
73
|
+
"de": "Neu: Erste Unterstützung für PV-Integration.",
|
|
74
|
+
"ru": "Новое: Начальная поддержка интеграции PV.",
|
|
75
|
+
"pt": "Novo: Suporte inicial para integração PV.",
|
|
76
|
+
"nl": "Nieuw: Initiële ondersteuning voor PV-integratie.",
|
|
77
|
+
"fr": "Nouveau: Support initial pour l'intégration PV.",
|
|
78
|
+
"it": "Nuovo: Supporto iniziale per l'integrazione PV.",
|
|
79
|
+
"es": "Nuevo: Soporte inicial para integración PV.",
|
|
80
|
+
"pl": "Nowe: Wstępne wsparcie dla integracji PV.",
|
|
81
|
+
"uk": "Нове: Початкова підтримка інтеграції PV.",
|
|
82
|
+
"zh-cn": "新增:PV集成的初始支持。"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"titleLang": {
|
|
86
|
+
"en": "Utility Costs Monitor",
|
|
87
|
+
"de": "Nebenkosten-Monitor",
|
|
88
|
+
"ru": "Монитор коммунальных расходов",
|
|
89
|
+
"pt": "Monitor de Custos de Utilidades",
|
|
90
|
+
"nl": "Nutskosten Monitor",
|
|
91
|
+
"fr": "Moniteur des Coûts des Services Publics",
|
|
92
|
+
"it": "Monitor dei Costi delle Utenze",
|
|
93
|
+
"es": "Monitor de Costos de Servicios",
|
|
94
|
+
"pl": "Monitor Kosztów Mediów",
|
|
95
|
+
"uk": "Монітор комунальних витрат",
|
|
96
|
+
"zh-cn": "公用事业费用监控器"
|
|
97
|
+
},
|
|
98
|
+
"desc": {
|
|
99
|
+
"en": "Monitor gas, water, and electricity consumption with cost calculation",
|
|
100
|
+
"de": "Überwachung von Gas, Wasser und Strom mit Kostenrechnung",
|
|
101
|
+
"ru": "Мониторинг потребления газа, воды и электроэнергии с расчетом затрат",
|
|
102
|
+
"pt": "Monitorar consumo de gás, água e eletricidade com cálculo de custos",
|
|
103
|
+
"nl": "Monitor gas-, water- en elektriciteitsverbruik met kostenberekning",
|
|
104
|
+
"fr": "Surveiller la consommation de gaz, d'eau et d'électricité avec calcul des coûts",
|
|
105
|
+
"it": "Monitorare il consumo di gas, acqua ed elettricità con calcolo dei costi",
|
|
106
|
+
"es": "Monitorear el consumo de gas, agua y electricidad con cálculo de costos",
|
|
107
|
+
"pl": "Monitoruj zużycie gazu, wody i energii elektrycznej z obliczaniem kosztów",
|
|
108
|
+
"uk": "Моніторинг споживання газу, води та електроенергії з розрахунком витрат",
|
|
109
|
+
"zh-cn": "监控燃气、水和电力消耗并计算成本"
|
|
110
|
+
},
|
|
111
|
+
"authors": ["fischi87 <axel.fischer@hotmail.com>"],
|
|
112
|
+
"keywords": ["utility", "electricity", "gas", "water", "metering"],
|
|
113
|
+
"licenseInformation": {
|
|
114
|
+
"license": "MIT",
|
|
115
|
+
"type": "free"
|
|
116
|
+
},
|
|
117
|
+
"platform": "Javascript/Node.js",
|
|
118
|
+
"icon": "utility-monitor.png",
|
|
119
|
+
"enabled": true,
|
|
120
|
+
"extIcon": "https://raw.githubusercontent.com/fischi87/ioBroker.utility-monitor/main/admin/utility-monitor.png",
|
|
121
|
+
"readme": "https://github.com/fischi87/ioBroker.utility-monitor",
|
|
122
|
+
"loglevel": "info",
|
|
123
|
+
"tier": 3,
|
|
124
|
+
"mode": "daemon",
|
|
125
|
+
"type": "metering",
|
|
126
|
+
"compact": true,
|
|
127
|
+
"messagebox": true,
|
|
128
|
+
"connectionType": "local",
|
|
129
|
+
"dataSource": "push",
|
|
130
|
+
"adminUI": {
|
|
131
|
+
"config": "json"
|
|
132
|
+
},
|
|
133
|
+
"dependencies": [
|
|
134
|
+
{
|
|
135
|
+
"js-controller": ">=6.0.11"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"globalDependencies": [
|
|
139
|
+
{
|
|
140
|
+
"admin": ">=7.6.17"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"native": {
|
|
145
|
+
"gasAktiv": false,
|
|
146
|
+
"gasSensorDP": "",
|
|
147
|
+
"gasOffset": 0,
|
|
148
|
+
"gasInitialReading": 0,
|
|
149
|
+
"gasBrennwert": 11.5,
|
|
150
|
+
"gasZahl": 0.95,
|
|
151
|
+
"gasPreis": 0,
|
|
152
|
+
"gasGrundgebuehr": 0,
|
|
153
|
+
"gasAbschlag": 0,
|
|
154
|
+
"wasserAktiv": false,
|
|
155
|
+
"wasserSensorDP": "",
|
|
156
|
+
"wasserOffset": 0,
|
|
157
|
+
"wasserInitialReading": 0,
|
|
158
|
+
"wasserPreis": 0,
|
|
159
|
+
"wasserGrundgebuehr": 0,
|
|
160
|
+
"wasserAbschlag": 0,
|
|
161
|
+
"stromAktiv": false,
|
|
162
|
+
"stromSensorDP": "",
|
|
163
|
+
"stromOffset": 0,
|
|
164
|
+
"stromInitialReading": 0,
|
|
165
|
+
"stromPreis": 0,
|
|
166
|
+
"stromGrundgebuehr": 0,
|
|
167
|
+
"stromAbschlag": 0,
|
|
168
|
+
"pvAktiv": false,
|
|
169
|
+
"pvSensorDP": "",
|
|
170
|
+
"pvOffset": 0,
|
|
171
|
+
"pvInitialReading": 0,
|
|
172
|
+
"pvContractStart": "",
|
|
173
|
+
"pvPreis": 0,
|
|
174
|
+
"pvGrundgebuehr": 0,
|
|
175
|
+
"pvJahresgebuehr": 0,
|
|
176
|
+
"notificationEnabled": false,
|
|
177
|
+
"notificationInstance": "",
|
|
178
|
+
"notificationDaysBefore": 30,
|
|
179
|
+
"notificationGasEnabled": false,
|
|
180
|
+
"notificationWasserEnabled": false,
|
|
181
|
+
"notificationStromEnabled": false,
|
|
182
|
+
"notificationBillingEnabled": true,
|
|
183
|
+
"notificationBillingDays": 7,
|
|
184
|
+
"notificationChangeDays": 60
|
|
185
|
+
},
|
|
186
|
+
"objects": [],
|
|
187
|
+
"instanceObjects": []
|
|
188
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// This file extends the AdapterConfig type from "@iobroker/types"
|
|
2
|
+
// using the actual properties present in io-package.json
|
|
3
|
+
// in order to provide typings for adapter.config properties
|
|
4
|
+
|
|
5
|
+
import { native } from '../io-package.json';
|
|
6
|
+
|
|
7
|
+
type _AdapterConfig = typeof native;
|
|
8
|
+
|
|
9
|
+
// Augment the globally declared type ioBroker.AdapterConfig
|
|
10
|
+
declare global {
|
|
11
|
+
namespace ioBroker {
|
|
12
|
+
interface AdapterConfig extends _AdapterConfig {
|
|
13
|
+
// Do not enter anything here!
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// this is required so the above AdapterConfig is found by TypeScript / type checking
|
|
19
|
+
export {};
|