iobroker.sonoff 2.4.5 → 2.5.0
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/.github/workflows/test-and-release.yml +3 -3
- package/.mocharc.json +5 -0
- package/.releaseconfig.json +3 -0
- package/LICENSE +1 -1
- package/README.md +22 -1
- package/admin/words.js +6 -6
- package/io-package.json +186 -318
- package/lib/datapoints.js +1 -1
- package/lib/server.js +114 -98
- package/package.json +9 -7
package/io-package.json
CHANGED
|
@@ -1,321 +1,189 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"2.3.2": {
|
|
91
|
-
"en": "Fixed the password input in the configuration\nAllowed to set the IP interface for server\nFixed tests for js-controller 2.0\nFixed the monitoring of the client connection\nChanged \"indicator.connected\" to \"indicator.reachable\" for clients\nSupported {POWERn: \"true\"}\nCorrect processing of {temp: nan}",
|
|
92
|
-
"de": "Die Passworteingabe in der Konfiguration wurde korrigiert\nDarf die IP-Schnittstelle für den Server einstellen\nBehobene Tests für js-controller 2.0\nDie Überwachung der Client-Verbindung wurde behoben\n\"Indicator.connected\" wurde für Clients in \"indicator.reachable\" geändert\nUnterstützt {POWERn: \"true\"}\nRichtige Verarbeitung von {temp: nan}",
|
|
93
|
-
"ru": "Исправлен ввод пароля в конфигурации\nРазрешено устанавливать IP интерфейс для сервера\nИсправлены тесты для js-controller 2.0\nИсправлен мониторинг клиентского соединения\nИзменен «индикатор.подключен» на «индикатор.доступен» для клиентов\nПоддерживается {POWERn: \"true\"}\nПравильная обработка {temp: nan}",
|
|
94
|
-
"pt": "Corrigida a entrada da senha na configuração\nPermitido definir a interface IP para o servidor\nTestes corrigidos para o js-controller 2.0\nCorrigido o monitoramento da conexão do cliente\nAlterado \"indicator.connected\" para \"indicator.reachable\" para clientes\nSuportado {POWERn: \"true\"}\nProcessamento correto de {temp: nan}",
|
|
95
|
-
"nl": "De wachtwoordinvoer in de configuratie is opgelost\nMag de IP-interface voor de server instellen\nVaste tests voor js-controller 2.0\nDe bewaking van de clientverbinding is opgelost\n\"Indicator.connected\" gewijzigd in \"indicator.reachable\" voor klanten\nOndersteund {POWERn: \"true\"}\nCorrecte verwerking van {temp: nan}",
|
|
96
|
-
"fr": "Correction du mot de passe saisi dans la configuration\nAutorisé à définir l'interface IP pour le serveur\nTests fixes pour js-controller 2.0\nCorrection de la surveillance de la connexion client\n\"Indicateur.connecté\" remplacé par \"indicateur.accessible\" pour les clients\nPris en charge {POWERn: \"true\"}\nTraitement correct de {temp: nan}",
|
|
97
|
-
"it": "Risolto il problema con l'inserimento della password nella configurazione\nAutorizzato a impostare l'interfaccia IP per il server\nTest fissi per js-controller 2.0\nRisolto il problema con il monitoraggio della connessione client\nModificato \"indicatore.connesso\" in \"indicatore.realizzabile\" per i client\nSupportato {POWERn: \"true\"}\nElaborazione corretta di {temp: nan}",
|
|
98
|
-
"es": "Se corrigió la entrada de contraseña en la configuración\nSe le permite configurar la interfaz IP para el servidor\nPruebas fijas para js-controller 2.0\nSe corrigió el monitoreo de la conexión del cliente.\nSe cambió \"indicator.connected\" a \"indicator.reachable\" para clientes\nCompatible con {POWERn: \"true\"}\nProcesamiento correcto de {temp: nan}",
|
|
99
|
-
"pl": "Naprawiono wprowadzanie hasła w konfiguracji\nDozwolone ustawienie interfejsu IP dla serwera\nNaprawiono testy js-kontrolera 2.0\nNaprawiono monitorowanie połączenia klienta\nZmieniono „wskaźnik.połączony” na „wskaźnik.rozdostępny” dla klientów\nObsługiwane {POWERn: „true”}\nPrawidłowe przetwarzanie {temp: nan}",
|
|
100
|
-
"zh-cn": "修复了配置中输入的密码\n允许设置服务器的IP接口\n固定测试js-controller 2.0\n修复了客户端连接的监控\n将客户端的“ indicator.connected”更改为“ indicator.reachable”\n受支持的{POWERn:“ true”}\n正确处理{temp:nan}"
|
|
101
|
-
},
|
|
102
|
-
"2.2.3": {
|
|
103
|
-
"en": "Support for compact mode",
|
|
104
|
-
"de": "Unterstützung für den Kompaktmodus",
|
|
105
|
-
"ru": "Поддержка компактного режима",
|
|
106
|
-
"pt": "Suporte para o modo compacto",
|
|
107
|
-
"nl": "Ondersteuning voor de compacte modus",
|
|
108
|
-
"fr": "Prise en charge du mode compact",
|
|
109
|
-
"it": "Supporto per la modalità compatta",
|
|
110
|
-
"es": "Soporte para modo compacto",
|
|
111
|
-
"pl": "Obsługa trybu kompaktowego",
|
|
112
|
-
"zh-cn": "支持紧凑模式"
|
|
113
|
-
},
|
|
114
|
-
"2.2.2": {
|
|
115
|
-
"en": "Configuration was fixed",
|
|
116
|
-
"de": "Die Konfiguration wurde repariert",
|
|
117
|
-
"ru": "Конфигурация была исправлена",
|
|
118
|
-
"pt": "Configuração foi corrigida",
|
|
119
|
-
"nl": "Configuratie was opgelost",
|
|
120
|
-
"fr": "La configuration a été corrigée",
|
|
121
|
-
"it": "La configurazione è stata riparata",
|
|
122
|
-
"es": "La configuración fue arreglada",
|
|
123
|
-
"pl": "Konfiguracja została naprawiona",
|
|
124
|
-
"zh-cn": "配置已修复"
|
|
125
|
-
},
|
|
126
|
-
"2.2.1": {
|
|
127
|
-
"en": "- in names was allowed again",
|
|
128
|
-
"de": "- in Namen wurde wieder erlaubt",
|
|
129
|
-
"ru": "- в именах снова было разрешено",
|
|
130
|
-
"pt": "- nos nomes foi permitido novamente",
|
|
131
|
-
"nl": "- in namen was weer toegestaan",
|
|
132
|
-
"fr": "- dans les noms a été autorisé à nouveau",
|
|
133
|
-
"it": "- nei nomi è stato permesso di nuovo",
|
|
134
|
-
"es": "- en los nombres se permitió de nuevo",
|
|
135
|
-
"pl": "- w nazwach było ponownie dozwolone",
|
|
136
|
-
"zh-cn": "- 名字再次被允许"
|
|
137
|
-
},
|
|
138
|
-
"2.2.0": {
|
|
139
|
-
"en": "Auto generate of objects was implemented",
|
|
140
|
-
"de": "Auto-Generierung von Objekten wurde implementiert",
|
|
141
|
-
"ru": "Была реализована автоматическая генерация объектов",
|
|
142
|
-
"pt": "Geração automática de objetos foi implementada",
|
|
143
|
-
"nl": "Automatisch genereren van objecten is geïmplementeerd",
|
|
144
|
-
"fr": "La génération automatique d'objets a été implémentée",
|
|
145
|
-
"it": "È stata implementata la generazione automatica di oggetti",
|
|
146
|
-
"es": "Generación automática de objetos fue implementado",
|
|
147
|
-
"pl": "Automatycznie generowano obiekty",
|
|
148
|
-
"zh-cn": "实现了对象的自动生成"
|
|
149
|
-
},
|
|
150
|
-
"2.1.3": {
|
|
151
|
-
"en": "Added HC-SR04 Ultrasonic Sensor",
|
|
152
|
-
"de": "HC-SR04 Ultraschallsensor hinzugefügt",
|
|
153
|
-
"ru": "Добавлен ультразвуковой датчик HC-SR04",
|
|
154
|
-
"pt": "Adicionado Sensor Ultrassônico HC-SR04",
|
|
155
|
-
"nl": "HC-SR04 ultrasone sensor toegevoegd",
|
|
156
|
-
"fr": "Capteur à ultrasons HC-SR04 ajouté",
|
|
157
|
-
"it": "Aggiunto il sensore a ultrasuoni HC-SR04",
|
|
158
|
-
"es": "Sensor ultrasónico HC-SR04 agregado",
|
|
159
|
-
"pl": "Dodano czujnik ultradźwiękowy HC-SR04",
|
|
160
|
-
"zh-cn": "添加了 HC-SR04 超声波传感器"
|
|
161
|
-
},
|
|
162
|
-
"2.1.2": {
|
|
163
|
-
"en": "Added support of UvLight, Longitude and Latitude",
|
|
164
|
-
"de": "Zusätzliche Unterstützung von UvLight, Longitude und Latitude",
|
|
165
|
-
"ru": "Добавлена поддержка UvLight, долготы и широты",
|
|
166
|
-
"pt": "Adicionado suporte de UvLight, Longitude e Latitude",
|
|
167
|
-
"nl": "Ondersteuning toegevoegd van UvLight, Longitude en Latitude",
|
|
168
|
-
"fr": "Ajout du support de UvLight, Longitude et Latitude",
|
|
169
|
-
"it": "Aggiunto il supporto di UvLight, Longitude e Latitude",
|
|
170
|
-
"es": "Se agregó soporte de UvLight, Longitude y Latitude",
|
|
171
|
-
"pl": "Dodano obsługę UvLight, długości i szerokości geograficznej",
|
|
172
|
-
"zh-cn": "添加了对紫外线、经度和纬度的支持"
|
|
173
|
-
},
|
|
174
|
-
"2.1.1": {
|
|
175
|
-
"en": "Support of the particle concentration sensor",
|
|
176
|
-
"de": "Unterstützung des Partikelkonzentrationssensors",
|
|
177
|
-
"ru": "Поддержка датчика концентрации частиц",
|
|
178
|
-
"pt": "Suporte do sensor de concentração de partículas",
|
|
179
|
-
"nl": "Ondersteuning van de deeltjesconcentratiesensor",
|
|
180
|
-
"fr": "Support du capteur de concentration de particules",
|
|
181
|
-
"it": "Supporto del sensore di concentrazione di particelle",
|
|
182
|
-
"es": "Soporte del sensor de concentración de partículas",
|
|
183
|
-
"pl": "Wsparcie czujnika stężenia cząstek",
|
|
184
|
-
"zh-cn": "支持粒子浓度传感器"
|
|
185
|
-
},
|
|
186
|
-
"2.1.0": {
|
|
187
|
-
"en": "Support of the devices control",
|
|
188
|
-
"de": "Unterstützung der Gerätekontrolle",
|
|
189
|
-
"ru": "Поддержка управления устройствами",
|
|
190
|
-
"pt": "Suporte do controle de dispositivos",
|
|
191
|
-
"nl": "Ondersteuning van de apparatencontrole",
|
|
192
|
-
"fr": "Prise en charge du contrôle des appareils",
|
|
193
|
-
"it": "Supporto del controllo dei dispositivi",
|
|
194
|
-
"es": "Soporte del control de dispositivos",
|
|
195
|
-
"pl": "Obsługa sterowania urządzeniami",
|
|
196
|
-
"zh-cn": "支持设备控制"
|
|
197
|
-
},
|
|
198
|
-
"2.0.2": {
|
|
199
|
-
"en": "Fixing re-connection of clients\nSeaPressure was added",
|
|
200
|
-
"de": "Reparieren der Neuverbindung von Clients\nSeaPressure wurde hinzugefügt",
|
|
201
|
-
"ru": "Фиксация повторного подключения клиентов\nДобавлено SeaPressure",
|
|
202
|
-
"pt": "Reparando conexão de clientes\nA SeaPressure foi adicionada",
|
|
203
|
-
"nl": "Bevestiging van opnieuw verbinden van clients\nSeaPressure is toegevoegd",
|
|
204
|
-
"fr": "Correction de la reconnexion des clients\nSeaPressure a été ajouté",
|
|
205
|
-
"it": "Risolvere la riconnessione dei client\nSeaPressure è stato aggiunto",
|
|
206
|
-
"es": "Reparar la reconexión de los clientes\nSeaPressure fue agregado",
|
|
207
|
-
"pl": "Naprawianie ponownego połączenia klientów\nSeaPressure zostało dodane",
|
|
208
|
-
"zh-cn": "修复客户端的重新连接\n"
|
|
209
|
-
},
|
|
210
|
-
"2.0.1": {
|
|
211
|
-
"en": "Add Light/Noise/AirQuality\nDo not send pingresp for invalid clients",
|
|
212
|
-
"de": "Fügen Sie den Light/Noise/AirQuality hinzu\nSendet keine Pingresp für ungültige Clients",
|
|
213
|
-
"ru": "Добавлены Light/Noise/AirQuality\nНе отправляen pingresp для недействительных клиентов",
|
|
214
|
-
"pt": "Adicionar Light/Noise/AirQuality",
|
|
215
|
-
"nl": "Light/Noise/AirQuality toevoegen",
|
|
216
|
-
"fr": "Ajouter un capteur Light/Noise/AirQuality",
|
|
217
|
-
"it": "Aggiungi il Light/Noise/AirQuality",
|
|
218
|
-
"es": "Agregar Light/Noise/AirQuality",
|
|
219
|
-
"pl": "Dodaj Light/Noise/AirQuality",
|
|
220
|
-
"zh-cn": "添加光/噪音/空气质量\n"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"title": "Sonoff",
|
|
224
|
-
"titleLang": {
|
|
225
|
-
"en": "Sonoff",
|
|
226
|
-
"de": "Sonoff",
|
|
227
|
-
"ru": "Sonoff",
|
|
228
|
-
"pt": "Sonoff",
|
|
229
|
-
"nl": "Sonoff",
|
|
230
|
-
"fr": "Sonoff",
|
|
231
|
-
"it": "Sonoff",
|
|
232
|
-
"es": "Sonoff",
|
|
233
|
-
"pl": "Sonoff",
|
|
234
|
-
"zh-cn": "索诺夫"
|
|
235
|
-
},
|
|
236
|
-
"desc": {
|
|
237
|
-
"en": "This adapter allows to connect sonoff components via MQTT",
|
|
238
|
-
"de": "Dieser Adapter ermöglicht den Anschluss von Sonoff-Komponenten über MQTT",
|
|
239
|
-
"ru": "Этот адаптер позволяет подключать компоненты Sonoff через MQTT",
|
|
240
|
-
"pt": "Este adaptador permite conectar os componentes do sonoff via MQTT",
|
|
241
|
-
"nl": "Met deze adapter kunnen sonoff-componenten via MQTT worden aangesloten",
|
|
242
|
-
"fr": "Cet adaptateur permet de connecter des composants sonoff via MQTT",
|
|
243
|
-
"it": "Questo adattatore consente di collegare i componenti Sonoff via MQTT",
|
|
244
|
-
"es": "Este adaptador permite conectar componentes de sonof a través de MQTT",
|
|
245
|
-
"pl": "Ten adapter umożliwia łączenie komponentów sonoff za pośrednictwem MQTT",
|
|
246
|
-
"zh-cn": "该适配器允许通过MQTT连接Sonoff组件"
|
|
247
|
-
},
|
|
248
|
-
"authors": [
|
|
249
|
-
"bluefox <dogafox@gmail.com>"
|
|
250
|
-
],
|
|
251
|
-
"license": "MIT",
|
|
252
|
-
"platform": "Javascript/Node.js",
|
|
253
|
-
"mode": "daemon",
|
|
254
|
-
"compact": true,
|
|
255
|
-
"enabled": true,
|
|
256
|
-
"readme": "https://github.com/ioBroker/ioBroker.sonoff/blob/master/README.md",
|
|
257
|
-
"loglevel": "info",
|
|
258
|
-
"icon": "sonoff.png",
|
|
259
|
-
"materialize": true,
|
|
260
|
-
"keywords": [
|
|
261
|
-
"ITEAD",
|
|
262
|
-
"MQTT",
|
|
263
|
-
"Sonoff",
|
|
264
|
-
"Tasmota"
|
|
265
|
-
],
|
|
266
|
-
"connectionType": "local",
|
|
267
|
-
"dataSource": "push",
|
|
268
|
-
"tier": 2,
|
|
269
|
-
"extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.sonoff/master/admin/sonoff.png",
|
|
270
|
-
"type": "lighting",
|
|
271
|
-
"dependencies": [
|
|
272
|
-
{
|
|
273
|
-
"js-controller": ">=2.0.0"
|
|
274
|
-
}
|
|
275
|
-
],
|
|
276
|
-
"plugins": {
|
|
277
|
-
"sentry": {
|
|
278
|
-
"dsn": "https://b975bb630271452e96a6bf115ec7946d@sentry.iobroker.net/37"
|
|
279
|
-
}
|
|
280
|
-
}
|
|
2
|
+
"common": {
|
|
3
|
+
"name": "sonoff",
|
|
4
|
+
"version": "2.5.0",
|
|
5
|
+
"news": {
|
|
6
|
+
"2.5.0": {
|
|
7
|
+
"en": "Implement writing of NSPanel Widget changes\nFix crash case reported by Sentry",
|
|
8
|
+
"de": "Implementieren Sie das Schreiben von NSPanel-Widget-Änderungen\nAbsturzfall behoben, der von Sentry gemeldet wurde",
|
|
9
|
+
"ru": "Реализовать запись изменений виджета NSPanel\nИсправить случай сбоя, о котором сообщил Sentry",
|
|
10
|
+
"pt": "Implemente a gravação de alterações do Widget NSPanel\nCorrigir caso de falha relatado pelo Sentinela",
|
|
11
|
+
"nl": "Implementeren van het schrijven van NSPanel Widget-wijzigingen\nHerstel crashgeval gemeld door Sentry",
|
|
12
|
+
"fr": "Mettre en œuvre l'écriture des modifications du Widget NSPanel\nCorrection d'un cas de crash signalé par Sentry",
|
|
13
|
+
"it": "Implementare la scrittura delle modifiche al Widget NSPanel\nRisolto il caso di crash segnalato da Sentry",
|
|
14
|
+
"es": "Implementar la escritura de cambios de NSPanel Widget\nSolucionar caso de bloqueo informado por Sentry",
|
|
15
|
+
"pl": "Zaimplementuj pisanie zmian NSPanel Widget\nNapraw przypadek awarii zgłoszony przez Sentry",
|
|
16
|
+
"zh-cn": "实现编写 NSPanel Widget 更改\n修复 Sentry 报告的崩溃案例"
|
|
17
|
+
},
|
|
18
|
+
"2.4.7": {
|
|
19
|
+
"en": "Fix crash case (Sentry IOBROKER-SONOFF-1S)",
|
|
20
|
+
"de": "Crashfall beheben (Sentry IOBROKER-SONOFF-1S)",
|
|
21
|
+
"ru": "Исправить сбой (Sentry IOBROKER-SONOFF-1S)",
|
|
22
|
+
"pt": "Corrigir caso de falha (Sentry IOBROKER-SONOFF-1S)",
|
|
23
|
+
"nl": "Crashgeval repareren (Sentry IOBROKER-SONOFF-1S)",
|
|
24
|
+
"fr": "Correction du crash (Sentry IOBROKER-SONOFF-1S)",
|
|
25
|
+
"it": "Risolto il crash case (Sentry IOBROKER-SONOFF-1S)",
|
|
26
|
+
"es": "Reparar caso de bloqueo (Sentry IOBROKER-SONOFF-1S)",
|
|
27
|
+
"pl": "Napraw przypadek awarii (Sentry IOBROKER-SONOFF-1S)",
|
|
28
|
+
"zh-cn": "修复崩溃案例(Sentry IOBROKER-SONOFF-1S)"
|
|
29
|
+
},
|
|
30
|
+
"2.4.6": {
|
|
31
|
+
"en": "Fix some crash cases reported by Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nAdjust Uptime to mixed because it seems that it can be number or string",
|
|
32
|
+
"de": "Behebung einiger von Sentry gemeldeter Absturzfälle (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nStellen Sie die Betriebszeit auf gemischt ein, da es sich anscheinend um eine Zahl oder eine Zeichenfolge handeln kann",
|
|
33
|
+
"ru": "Исправьте некоторые случаи сбоев, о которых сообщает Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nОтрегулируйте время работы до смешанного, потому что кажется, что это может быть число или строка",
|
|
34
|
+
"pt": "Corrigir alguns casos de falha relatados pelo Sentinela (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nAjuste o tempo de atividade para misto porque parece que pode ser um número ou uma string",
|
|
35
|
+
"nl": "Enkele crashgevallen gemeld door Sentry repareren (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nStel Uptime in op gemengd omdat het lijkt alsof het een nummer of een tekenreeks kan zijn",
|
|
36
|
+
"fr": "Correction de certains cas de plantage signalés par Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nAjustez le temps de disponibilité sur mixte car il semble qu'il puisse s'agir d'un nombre ou d'une chaîne",
|
|
37
|
+
"it": "Risolti alcuni casi di crash segnalati da Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nRegola Uptime su misto perché sembra che possa essere un numero o una stringa",
|
|
38
|
+
"es": "Solucione algunos casos de bloqueo informados por Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nAjuste el tiempo de actividad a mixto porque parece que puede ser un número o una cadena",
|
|
39
|
+
"pl": "Napraw niektóre przypadki awarii zgłaszane przez Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)\nDostosuj Uptime do mieszanego, ponieważ wydaje się, że może to być liczba lub ciąg",
|
|
40
|
+
"zh-cn": "修复 Sentry 报告的一些崩溃案例(IOBROKER-SONOFF-B、IOBROKER-SONOFF-R、IOBROKER-SONOFF-4、IOBROKER-SONOFF-1、IOBROKER-SONOFF-13、IOBROKER-SONOFF-1J、IOBROKER-SONOFF-16、 IOBROKER-SONOFF-3、IOBROKER-SONOFF-H)\n将 Uptime 调整为混合,因为它似乎可以是数字或字符串"
|
|
41
|
+
},
|
|
42
|
+
"2.4.5": {
|
|
43
|
+
"en": "Fix some crash cases reported by Sentry",
|
|
44
|
+
"de": "Beheben Sie einige von Sentry gemeldete Absturzfälle",
|
|
45
|
+
"ru": "Исправить некоторые случаи сбоев, о которых сообщает Sentry",
|
|
46
|
+
"pt": "Corrija alguns casos de falha relatados pelo Sentry",
|
|
47
|
+
"nl": "Enkele crashgevallen gemeld door Sentry oplossen",
|
|
48
|
+
"fr": "Correction de certains cas de plantage signalés par Sentry",
|
|
49
|
+
"it": "Risolti alcuni casi di crash segnalati da Sentry",
|
|
50
|
+
"es": "Arregle algunos casos de fallas reportados por Sentry",
|
|
51
|
+
"pl": "Napraw niektóre przypadki awarii zgłoszone przez Sentry",
|
|
52
|
+
"zh-cn": "修复 Sentry 报告的一些崩溃案例"
|
|
53
|
+
},
|
|
54
|
+
"2.4.4": {
|
|
55
|
+
"en": "Added UvaIntensity and UvbIntensity",
|
|
56
|
+
"de": "UvaIntensity und UvbIntensity hinzugefügt",
|
|
57
|
+
"ru": "Добавлены UvaIntensity и UvbIntensity.",
|
|
58
|
+
"pt": "Adicionados UvaIntensity e UvbIntensity",
|
|
59
|
+
"nl": "UvaIntensity en UvbIntensity toegevoegd",
|
|
60
|
+
"fr": "Ajout d'UvaIntensity et UvbIntensity",
|
|
61
|
+
"it": "Aggiunti UvaIntensity e UvbIntensity",
|
|
62
|
+
"es": "Se agregaron UvaIntensity y UvbIntensity",
|
|
63
|
+
"pl": "Dodano UvaIntensity i UvbIntensity",
|
|
64
|
+
"zh-cn": "添加了 UvaIntensity 和 UvbIntensity"
|
|
65
|
+
},
|
|
66
|
+
"2.4.3": {
|
|
67
|
+
"en": "Better type detection for non-described states",
|
|
68
|
+
"de": "Bessere Typerkennung für nicht beschriebene Zustände",
|
|
69
|
+
"ru": "Лучшее определение типа для неописанных состояний",
|
|
70
|
+
"pt": "Melhor detecção de tipo para estados não descritos",
|
|
71
|
+
"nl": "Betere typedetectie voor niet-beschreven toestanden",
|
|
72
|
+
"fr": "Meilleure détection de type pour les états non décrits",
|
|
73
|
+
"it": "Migliore rilevamento del tipo per gli stati non descritti",
|
|
74
|
+
"es": "Mejor detección de tipos para estados no descritos",
|
|
75
|
+
"pl": "Lepsze wykrywanie typów dla stanów nieopisanych",
|
|
76
|
+
"zh-cn": "更好的未描述状态的类型检测"
|
|
77
|
+
},
|
|
78
|
+
"2.4.2": {
|
|
79
|
+
"en": "Optimize for js-controller 3.3",
|
|
80
|
+
"de": "Optimieren Sie für js-Controller 3.3",
|
|
81
|
+
"ru": "Оптимизировать под js-controller 3.3",
|
|
82
|
+
"pt": "Otimize para js-controller 3.3",
|
|
83
|
+
"nl": "Optimaliseren voor js-controller 3.3",
|
|
84
|
+
"fr": "Optimiser pour js-controller 3.3",
|
|
85
|
+
"it": "Ottimizza per js-controller 3.3",
|
|
86
|
+
"es": "Optimizar para js-controller 3.3",
|
|
87
|
+
"pl": "Optymalizacja dla kontrolera js 3.3",
|
|
88
|
+
"zh-cn": "针对 js-controller 3.3 优化"
|
|
89
|
+
}
|
|
281
90
|
},
|
|
282
|
-
"
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
"retransmitInterval": 2000,
|
|
295
|
-
"retransmitCount": 10,
|
|
296
|
-
"ignorePings": false
|
|
91
|
+
"title": "Sonoff",
|
|
92
|
+
"titleLang": {
|
|
93
|
+
"en": "Sonoff",
|
|
94
|
+
"de": "Sonoff",
|
|
95
|
+
"ru": "Sonoff",
|
|
96
|
+
"pt": "Sonoff",
|
|
97
|
+
"nl": "Sonoff",
|
|
98
|
+
"fr": "Sonoff",
|
|
99
|
+
"it": "Sonoff",
|
|
100
|
+
"es": "Sonoff",
|
|
101
|
+
"pl": "Sonoff",
|
|
102
|
+
"zh-cn": "索诺夫"
|
|
297
103
|
},
|
|
298
|
-
"
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
104
|
+
"desc": {
|
|
105
|
+
"en": "This adapter allows to connect sonoff components via MQTT",
|
|
106
|
+
"de": "Dieser Adapter ermöglicht den Anschluss von Sonoff-Komponenten über MQTT",
|
|
107
|
+
"ru": "Этот адаптер позволяет подключать компоненты Sonoff через MQTT",
|
|
108
|
+
"pt": "Este adaptador permite conectar os componentes do sonoff via MQTT",
|
|
109
|
+
"nl": "Met deze adapter kunnen sonoff-componenten via MQTT worden aangesloten",
|
|
110
|
+
"fr": "Cet adaptateur permet de connecter des composants sonoff via MQTT",
|
|
111
|
+
"it": "Questo adattatore consente di collegare i componenti Sonoff via MQTT",
|
|
112
|
+
"es": "Este adaptador permite conectar componentes de sonof a través de MQTT",
|
|
113
|
+
"pl": "Ten adapter umożliwia łączenie komponentów sonoff za pośrednictwem MQTT",
|
|
114
|
+
"zh-cn": "该适配器允许通过MQTT连接Sonoff组件"
|
|
115
|
+
},
|
|
116
|
+
"authors": [
|
|
117
|
+
"bluefox <dogafox@gmail.com>"
|
|
118
|
+
],
|
|
119
|
+
"license": "MIT",
|
|
120
|
+
"platform": "Javascript/Node.js",
|
|
121
|
+
"mode": "daemon",
|
|
122
|
+
"compact": true,
|
|
123
|
+
"enabled": true,
|
|
124
|
+
"readme": "https://github.com/ioBroker/ioBroker.sonoff/blob/master/README.md",
|
|
125
|
+
"loglevel": "info",
|
|
126
|
+
"icon": "sonoff.png",
|
|
127
|
+
"materialize": true,
|
|
128
|
+
"keywords": [
|
|
129
|
+
"ITEAD",
|
|
130
|
+
"MQTT",
|
|
131
|
+
"Sonoff",
|
|
132
|
+
"Tasmota"
|
|
133
|
+
],
|
|
134
|
+
"connectionType": "local",
|
|
135
|
+
"dataSource": "push",
|
|
136
|
+
"tier": 2,
|
|
137
|
+
"extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.sonoff/master/admin/sonoff.png",
|
|
138
|
+
"type": "lighting",
|
|
139
|
+
"dependencies": [
|
|
140
|
+
{
|
|
141
|
+
"js-controller": ">=2.0.0"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"plugins": {
|
|
145
|
+
"sentry": {
|
|
146
|
+
"dsn": "https://b975bb630271452e96a6bf115ec7946d@sentry.iobroker.net/37"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"native": {
|
|
151
|
+
"port": 1883,
|
|
152
|
+
"bind": "0.0.0.0",
|
|
153
|
+
"user": "",
|
|
154
|
+
"pass": "",
|
|
155
|
+
"timeout": 300,
|
|
156
|
+
"TELE_SENSOR": true,
|
|
157
|
+
"TELE_STATE": false,
|
|
158
|
+
"STAT_RESULT": false,
|
|
159
|
+
"OBJ_TREE": false,
|
|
160
|
+
"storeClientsTime": 1440,
|
|
161
|
+
"defaultQoS": 0,
|
|
162
|
+
"retransmitInterval": 2000,
|
|
163
|
+
"retransmitCount": 10,
|
|
164
|
+
"ignorePings": false
|
|
165
|
+
},
|
|
166
|
+
"objects": [],
|
|
167
|
+
"instanceObjects": [
|
|
168
|
+
{
|
|
169
|
+
"_id": "info",
|
|
170
|
+
"type": "channel",
|
|
171
|
+
"common": {
|
|
172
|
+
"name": "Information"
|
|
173
|
+
},
|
|
174
|
+
"native": {}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"_id": "info.connection",
|
|
178
|
+
"type": "state",
|
|
179
|
+
"common": {
|
|
180
|
+
"role": "info.clients",
|
|
181
|
+
"name": "List of connected clients",
|
|
182
|
+
"type": "string",
|
|
183
|
+
"read": true,
|
|
184
|
+
"write": false
|
|
185
|
+
},
|
|
186
|
+
"native": {}
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
package/lib/datapoints.js
CHANGED
|
@@ -161,7 +161,7 @@ module.exports = {
|
|
|
161
161
|
Total: {type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh'},
|
|
162
162
|
Total_in: {type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh'},
|
|
163
163
|
Total_out: {type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh'},
|
|
164
|
-
Uptime: {type: '
|
|
164
|
+
Uptime: {type: 'mixed', role: 'state', read: true, write: false},
|
|
165
165
|
UvIndex: {type: 'number', role: 'value.uv', read: true, write: false},
|
|
166
166
|
UvIndexText: {type: 'string', role: 'state', read: true, write: false},
|
|
167
167
|
UvLevel: {type: 'number', role: 'value', read: true, write: false},
|