Skip to content

Commit

Permalink
Merge pull request #256 from Grizzelbee/rewrite
Browse files Browse the repository at this point in the history
v6.3.2
  • Loading branch information
Grizzelbee authored Jun 3, 2022
2 parents f92b509 + ac08ff1 commit db0d70e
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 25 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,29 @@ To get this adapter running you'll need at least:
Since V6.2.0 you have the opportunity to chose between
* Server-Sent Events (Server-Sent Events Checkbox is checked - default)
* Time based Data-Polling (Server-Sent Events Checkbox is unchecked)
* Delayed Processing

#### Server-sent events
Server-Sent Events are a very neat method to get data from the miele servers since the servers will send you data
whenever there are changes. No useless polling every xx seconds ignoring whether there were changes or not. Unfortunately
there are issues using this connection type - it fails pretty often and only restarting the adapter solves this.

#### Time based Data Polling
To improve stability of the adapter I reintroduced data polling as a config option you may use when SSE fails four you.
Nevertheless SSE is the default, and I highly recommend trying and using it since it saves many resources on your and on
Mieles side. Beside of that I focus on SSE since Version 5.x.x.

Time based Data-Polling relies on the two config options:
* poll interval
* poll interval unit (seconds/minutes)

#### Delayed Processing
In case you own some Miele appliances and use them at the same time it may happen that the API gets sending many messages
in a short time period. Depending on your ioBroker hardware this may overload your server and result in unresponsive
visualization or an unresponsive broker at all. To avoid this, this config option reduces the number of messages being
processed to one message every xxx milliseconds.
Related config options:
* delayed processing
* message delay

## Controlling your devices
### Actions
Expand Down Expand Up @@ -220,6 +235,8 @@ Here is a list of what these raw values stand for:

## Changelog
### **WORK IN PROGRESS**

### V6.3.2 (2022-06-02) (Black Wings)
* (grizzelbee) New: Added new config option "delayed processing" to prevent overload on less powerful hardware
* (grizzelbee) Fix: changed actions info message during polling to log level debug
* (grizzelbee) Fix: Fixed german translation bug "minutes" -> "protokoll" (thanks to rekorboi)
Expand Down
8 changes: 4 additions & 4 deletions admin/words.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "mielecloudservice",
"version": "6.3.1",
"version": "6.3.2",
"news": {
"6.3.2": {
"en": "New config option \"delayed processing\" to prevent overload on less powerful hardware\nChanged actions info message during polling to log level debug\nFixed german translation bug \"minutes\" -> \"protokoll\" (thanks to rekorboi)",
"de": "Neue Konfigurationsoption \"verzögerte Verarbeitung\", um eine Überlastung auf weniger leistungsstarker Hardware zu verhindern \nMeldung während des Pollings von Info auf Debug geändert\n Deutscher Übersetzungsfehler \"Minuten\" -> \"Protokoll\" behoben (danke an rekorboi)",
"ru": "Новая опция конфигурации «отложенная обработка» для предотвращения перегрузки на менее мощном оборудовании \n Изменено информационное сообщение о действиях во время опроса для отладки на уровне журнала \n Исправлена ​​​​ошибка перевода на немецкий язык «минуты» -> «протокол» (спасибо rekorboi)",
"pt": "Nova opção de configuração \"processamento atrasado\" para evitar sobrecarga em hardware menos poderoso \nMensagem de informações de ações alteradas durante a pesquisa para depuração no nível de log \nCorrigido bug de tradução alemão \"minutos\" -> \"protokoll\" (graças a rekorboi)",
"nl": "Nieuwe configuratie-optie \"vertraagde verwerking\" om overbelasting van minder krachtige hardware te voorkomen\nGewijzigd actie-infobericht tijdens polling naar debug op logniveau\nFixed Duitse vertaalfout \"minuten\" -> \"protokoll\" (dankzij rekorboi)",
"fr": "Nouvelle option de configuration \"traitement différé\" pour éviter la surcharge sur un matériel moins puissant \n Message d'information sur les actions modifié lors de l'interrogation du débogage au niveau du journal \n Correction du bug de traduction en allemand \"minutes\" -> \"protokoll\" (merci à rekorboi)",
"it": "Nuova opzione di configurazione \"elaborazione ritardata\" per prevenire il sovraccarico su hardware meno potente\nMessaggio informativo sulle azioni modificato durante il polling per il debug a livello di log\nCorretto bug di traduzione tedesco \"minuti\" -> \"protokoll\" (grazie a rekorboi)",
"es": "Nueva opción de configuración \"procesamiento retrasado\" para evitar la sobrecarga en hardware menos potente \n Se modificó el mensaje de información de acciones durante el sondeo para depurar el nivel de registro \n Se corrigió el error de traducción al alemán \"minutos\" -> \"protokoll\" (gracias a rekorboi)",
"pl": "Nowa opcja konfiguracji \"opóźnione przetwarzanie\", aby zapobiec przeciążeniu na mniej wydajnym sprzęcie\n Zmieniono komunikat informacyjny o akcjach podczas odpytywania do debugowania na poziomie dziennika \n Naprawiono błąd w niemieckim tłumaczeniu \"minuty\" -> \"protokoll\" (dzięki rekorboi)",
"zh-cn": "新的配置选项“延迟处理”以防止功能较弱的硬件过载\n在轮询期间将操作信息消息更改为日志级别调试\n修复德语翻译错误“分钟”->“protokoll”(感谢 rekorboi)"
},
"6.3.1": {
"en": "Fixed bad log entry for error delay\nImproved connection error handling\nFixed Sentry error: MIELECLOUDSERVICE-3K",
"de": "Schlechter Protokolleintrag für Fehlerverzögerung behoben \n Verbesserte Behandlung von Verbindungsfehlern \n Sentry-Fehler behoben: MIELECLOUDSERVICE-3K",
Expand Down
Loading

0 comments on commit db0d70e

Please sign in to comment.