iobroker.sonoff 4.2.0 → 5.0.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/README.md CHANGED
@@ -162,11 +162,39 @@ States:
162
162
  * `modeLedExor` - exor for white LEDs and color LEDs => if the white LEDs are switched on, color LEDs are switched off and vice versa (default true)
163
163
  * `modeReadColors` - allow for color read from MQTT (default false)
164
164
 
165
+ ## Roles of the objects since 5.0
166
+ Since version 5.0 the objects get roles which the type-detector recognizes correctly, so that adapters like Alexa (iot), Matter, Material or devices find the right devices: a relay as light or socket, a light with its color, dimmer and effect, a temperature sensor and so on. Before, e.g. `Wifi_Channel` or `MqttPort` were detected as dimmer and `POWER` of an RGB light was replaced by `WW_POWER`.
167
+
168
+ **The behavior of the existing objects can change:**
169
+
170
+ * The roles of the existing objects are updated as soon as the device sends the value again. Only the roles which the older versions set are changed, a role changed by you (e.g. `switch.light` on `POWER`) is kept. The ID, the name, the history settings and the value stay as they are.
171
+ * Visualizations, scripts or aliases which select the states by their role can find other states now.
172
+ * `Switch1`...`Switch28` are the inputs of the device and so read-only now.
173
+ * The most important changes:
174
+ * network and firmware information: `info.ip`, `info.name`, `info.firmware`, `info.hardware`, ...
175
+ * diagnostic values (`Heap`, `LoadAvg`, `Wifi_Channel`, `HTTP_API`, ...): `info.status`, `UptimeSec`: `value.interval`, `Wifi_Signal`: `value.rssi`
176
+ * `POWER`, `POWER1`... with `switch.power`: `switch`
177
+ * `RGB_POWER`, `WW_POWER`, `CW_POWER`: `switch.mode.color`, `switch.mode.white`, `switch.mode.coldwhite`, `Fade`, `modeLedExor`, `modeReadColors`: `switch.setting`, `Scheme`: `level.effect`, `CT`: `level.color.temperature`
178
+ * `Today`, `Yesterday`: `value.energy.consumed`, `Vcc`: `value.voltage.vcc`, `DewPoint`: `value.temperature.dewpoint`
179
+ * automatically created states: texts `text`, writable numbers `state` (before `level`)
180
+
181
+ A device with several relays (`POWER1`, `POWER2`, ...) in one channel is still detected only as one device, as the type-detector finds every device type only once per channel.
182
+
165
183
  <!--
166
184
  Placeholder for the next version (at the beginning of the line):
167
185
  ### **WORK IN PROGRESS**
168
186
  -->
169
187
  ## Changelog
188
+ ### 5.0.0 (2026-10-13)
189
+ * (@GermanBluefox) Breaking change: the roles of the objects change, see [Roles of the objects since 5.0](#roles-of-the-objects-since-50)
190
+ * (@GermanBluefox) Better roles for the type-detector: diagnostic values (e.g. `Wifi_Channel`, `Heap`, `MqttPort`) are not detected as dimmer, blind or window anymore, `POWER` is the switch of RGB lights and `switch.power` of the relays is migrated to `switch`, `Scheme` is the light effect. The roles of the existing objects are updated, roles changed by the user are kept
191
+ * (@GermanBluefox) `Switch1`...`Switch28` (inputs of the device) are read-only sensors now
192
+
193
+ ### 4.2.1 (2026-09-14)
194
+ * (@patricknitsch) Fixed Device Manager showing no devices at all if a data point exists twice, e.g. `POWER` and `STATE.POWER` (#604)
195
+ * (@patricknitsch) Fixed writing to nested data points, e.g. `STATE.POWER1` with "Create object tree" enabled
196
+ * (@GermanBluefox) Fixed writing to devices whose MQTT client ID contains a dot
197
+
170
198
  ### 4.2.0 (2026-09-07)
171
199
  * (@patricknitsch) Added Device Manager for existing devices
172
200
 
@@ -210,15 +238,6 @@ States:
210
238
  * (@Apollon77/@copilot) Added Switch5-Switch28 datapoint definitions for consistent boolean mapping
211
239
  * (@Apollon77/@copilot) Fixed a write flag for all Switch datapoints to enable proper control from ioBroker
212
240
 
213
- ### 3.2.1 (2024-10-07)
214
-
215
- * (bluefox) Sanitize the IDs of the clients
216
-
217
- ### 3.2.0 (2024-08-28)
218
- * (bluefox) Added information about connected clients in the server mode
219
-
220
- [Older changelogs can be found there](CHANGELOG_OLD.md)
221
-
222
241
  ## License
223
242
 
224
243
  The MIT License (MIT)
@@ -87,5 +87,5 @@
87
87
  "connected": "verbunden",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "z.B. mqtt://192.168.1.100:1883 oder mqtts://broker:8883",
89
89
  "ms": "ms",
90
- "sec": "Sek."
90
+ "sec": "Sekunde"
91
91
  }
@@ -86,6 +86,6 @@
86
86
  "chars": "caracteres",
87
87
  "connected": "conectado",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "ej. mqtt://192.168.1.100:1883 o mqtts://broker:8883",
89
- "ms": "Sra",
90
- "sec": "s"
89
+ "ms": "EM",
90
+ "sec": "segundo"
91
91
  }
@@ -86,6 +86,6 @@
86
86
  "chars": "chars",
87
87
  "connected": "connecté",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "ex. mqtt://192.168.1.100:1883 ou mqtts://broker:8883",
89
- "ms": "Mme",
90
- "sec": "s"
89
+ "ms": "MS",
90
+ "sec": "seconde"
91
91
  }
@@ -7,7 +7,7 @@
7
7
  "Check the certificate of the broker": "Verificare il certificato del broker",
8
8
  "Clean session": "Sessione pulita",
9
9
  "Client": "Client/abbonato",
10
- "Client ID": "ID client",
10
+ "Client ID": "ID cliente",
11
11
  "Client ID:": "Identificativo cliente",
12
12
  "Client timeout": "Timeout del cliente",
13
13
  "Comma separated list. Standard full topic: tele/#, stat/# - device first: +/tele/+, +/stat/+": "Elenco separato da virgole. FullTopic standard: tele/#, stat/# - dispositivo per primo: +/tele/+, +/stat/+",
@@ -86,6 +86,6 @@
86
86
  "chars": "caratteri",
87
87
  "connected": "collegato",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "es. mqtt://192.168.1.100:1883 o mqtts://broker:8883",
89
- "ms": "Signorina",
90
- "sec": "s"
89
+ "ms": "SM",
90
+ "sec": "sicurezza"
91
91
  }
@@ -11,7 +11,7 @@
11
11
  "Client ID:": "ID do Cliente",
12
12
  "Client timeout": "Client time-out",
13
13
  "Comma separated list. Standard full topic: tele/#, stat/# - device first: +/tele/+, +/stat/+": "Door komma's gescheiden lijst. Standaard FullTopic: tele/#, stat/# - apparaat eerst: +/tele/+, +/stat/+",
14
- "Connection": "Conexão",
14
+ "Connection": "Verbinding",
15
15
  "Connection settings": "Configurações de conexão",
16
16
  "Create object tree": "Maak een objectboom",
17
17
  "Deactivate it for self-signed certificates": "Deactiveer dit voor zelfondertekende certificaten",
@@ -86,6 +86,6 @@
86
86
  "chars": "caracteres",
87
87
  "connected": "conectado",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "bijv. mqtt://192.168.1.100:1883 of mqtts://broker:8883",
89
- "ms": "Senhora",
89
+ "ms": "mevrouw",
90
90
  "sec": "sec"
91
91
  }
@@ -86,6 +86,6 @@
86
86
  "chars": "znaki",
87
87
  "connected": "połączony",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "np. mqtt://192.168.1.100:1883 lub mqtts://broker:8883",
89
- "ms": "ms",
90
- "sec": "s"
89
+ "ms": "SM",
90
+ "sec": "sek"
91
91
  }
@@ -86,6 +86,6 @@
86
86
  "chars": "caracteres",
87
87
  "connected": "conectado",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "ex. mqtt://192.168.1.100:1883 ou mqtts://broker:8883",
89
- "ms": "Senhora",
90
- "sec": "s"
89
+ "ms": "EM",
90
+ "sec": "seg"
91
91
  }
@@ -7,11 +7,11 @@
7
7
  "Check the certificate of the broker": "Проверять сертификат брокера",
8
8
  "Clean session": "Чистая сессия",
9
9
  "Client": "Клиент/подписчик",
10
- "Client ID": "Идентификатор клиента",
10
+ "Client ID": "ID клиента",
11
11
  "Client ID:": "ID Клиента",
12
12
  "Client timeout": "Время ожидания клиента",
13
13
  "Comma separated list. Standard full topic: tele/#, stat/# - device first: +/tele/+, +/stat/+": "Список через запятую. Стандартный FullTopic: tele/#, stat/# - сначала устройство: +/tele/+, +/stat/+",
14
- "Connection": "Соединение",
14
+ "Connection": "Подключение",
15
15
  "Connection settings": "Настройки соединения",
16
16
  "Create object tree": "Создать дерево объектов",
17
17
  "Deactivate it for self-signed certificates": "Отключите для самоподписанных сертификатов",
@@ -86,6 +86,6 @@
86
86
  "chars": "символов",
87
87
  "connected": "успешно",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "например mqtt://192.168.1.100:1883 или mqtts://broker:8883",
89
- "ms": "мс",
89
+ "ms": "РС",
90
90
  "sec": "сек"
91
91
  }
@@ -7,11 +7,11 @@
7
7
  "Check the certificate of the broker": "Перевіряти сертифікат брокера",
8
8
  "Clean session": "Чиста сесія",
9
9
  "Client": "Клієнт/абонент",
10
- "Client ID": "Ідентифікатор клієнта",
10
+ "Client ID": "ID клієнта",
11
11
  "Client ID:": "ID клієнта",
12
12
  "Client timeout": "Час очікування клієнта",
13
13
  "Comma separated list. Standard full topic: tele/#, stat/# - device first: +/tele/+, +/stat/+": "Список через кому. Стандартний FullTopic: tele/#, stat/# - спочатку пристрій: +/tele/+, +/stat/+",
14
- "Connection": "Підключення",
14
+ "Connection": "З'єднання",
15
15
  "Connection settings": "Налаштування підключення",
16
16
  "Create object tree": "Створення дерева об'єктів",
17
17
  "Deactivate it for self-signed certificates": "Вимкніть для самопідписаних сертифікатів",
@@ -87,5 +87,5 @@
87
87
  "connected": "підключений",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "наприклад mqtt://192.168.1.100:1883 або mqtts://broker:8883",
89
89
  "ms": "РС",
90
- "sec": "с"
90
+ "sec": "сек"
91
91
  }
@@ -86,6 +86,6 @@
86
86
  "chars": "字符",
87
87
  "connected": "连接的",
88
88
  "e.g. mqtt://192.168.1.100:1883 or mqtts://broker:8883": "例如 mqtt://192.168.1.100:1883 或 mqtts://broker:8883",
89
- "ms": "毫秒",
89
+ "ms": "多发性硬化症",
90
90
  "sec": "秒"
91
91
  }