iobroker.faikout 0.0.18 → 0.1.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
@@ -39,7 +39,9 @@ noted in the log.
39
39
  Objects are grouped per device:
40
40
 
41
41
  - `<device>.control.*` — writable: power, mode, target temperature, fan, swing, preset, demand,
42
- econo, powerful, comfort, streamer, sensor, LED, quiet, humidify
42
+ econo, powerful, comfort, streamer, sensor, LED, quiet, humidify. `selectedMode` is the operating mode
43
+ without "off": while the unit runs it equals `mode`, while it is off it keeps the mode set last (taken
44
+ from the module's native status). Writing it sends the mode and switches the unit on.
43
45
  - `<device>.status.*` — readings: temperatures, humidity, energy, power, compressor and fan speed
44
46
  - `<device>.info.*` — device diagnostics: IP, WiFi signal, uptime, firmware
45
47
 
@@ -89,6 +91,23 @@ Out of the box a module reports its state every 60 seconds (`reporting` setting)
89
91
  is only confirmed with the next report — expect up to a minute. Enabling `livestatus` in the
90
92
  module's **Extra** settings makes it report immediately.
91
93
 
94
+ ### Settings the air conditioner does not accept
95
+
96
+ A module sends a setting to the air conditioner and reads it back. If the unit still reports its old
97
+ value after several rounds (`s21.tries`, 10 by default), the module drops the change, shows the value
98
+ of the unit again and publishes the rejected fields on `error/<name>/failed-set`. Until then the module
99
+ already shows the requested value, so it looks as if something had reset it.
100
+
101
+ The adapter logs this as a warning (`… the air conditioner did not accept demand=90 …`) and stores the
102
+ last rejection in `<device>.info.failedSet` as JSON with the requested values and the time:
103
+ `{"time":"2026-11-05T14:40:51.085Z","settings":{"demand":90}}`. The adapter itself does not send
104
+ anything in this situation.
105
+
106
+ Known case: **demand control** (`control.demand`). Some units acknowledge the command but keep
107
+ reporting 100 % — seen on units that still have Daikin's own WiFi adapter fitted. The module can only
108
+ pass on the percentage; the modes of Daikin's app (off / automatic / fixed) are not part of what is
109
+ known about the S21 interface. Econo is only taken over while the unit is running.
110
+
92
111
  ## Visualisation (vis templates)
93
112
 
94
113
  The folder [`vis-templates/`](vis-templates/) contains ready-made **vis 1** views for two units: overview,
@@ -102,6 +121,27 @@ one detail page per unit with controls, energy history and a phone view. They us
102
121
  Placeholder for the next version (at the beginning of the line):
103
122
  ### **WORK IN PROGRESS**
104
123
  -->
124
+ ### 0.1.0 (2026-11-12)
125
+ - Device manager support (`@iobroker/dm-utils`): one card per air conditioner in the admin tab "Devices"
126
+ with the running operation (mode, current action, room/target/outside temperature, fan speed, humidity,
127
+ power, energy today), one WiFi symbol for connection and signal (four levels plus dBm, crossed out
128
+ when the module is disconnected), warning when the unit does not respond.
129
+ On/off is a toggle in the status line that follows the state live and asks for confirmation. Mode (without
130
+ "off", shows the last mode while the unit is off), target temperature (slider) and fan speed (Auto, Quiet and
131
+ five level bars) can be changed directly on the card, also while the unit is off; choosing a mode switches the
132
+ unit on. Everything is on the card itself, there is no separate control dialog. All controls write the
133
+ `control.*` states, so commands take the usual path. No configuration actions on the cards.
134
+ - New state `control.selectedMode` (see above). German name of the outside temperature with "ß".
135
+
136
+ ### 0.0.19 (2026-11-10)
137
+ - A setting the air conditioner does not accept (module message `error/<name>/failed-set`, e.g. demand control) is
138
+ logged as a clear warning instead of the bare payload, and the last rejection is stored in the new state
139
+ `info.failedSet` (requested values and time). Other module errors are logged with their topic (`comms`, …).
140
+ - Much lower CPU and database load (issue #5): states are only written when their value changes (unchanged values are
141
+ refreshed every 5 minutes so their timestamp stays current), the hourly JSON series only at the change of hour, the
142
+ daily/monthly series only when their content changes, and the meter readings in the device object at the change of
143
+ hour, after a rebase, every 10 minutes at most and on shutdown – instead of everything on every module message.
144
+
105
145
  ### 0.0.18 (2026-10-25)
106
146
  - VIS widgets: fixed rendering in the vis runtime – the widgets showed nothing and logged `missing ) after argument list`.
107
147
  They now subscribe the data points of their device themselves (vis only subscribed the device object), so values
@@ -128,16 +168,6 @@ one detail page per unit with controls, energy history and a phone view. They us
128
168
  ### 0.0.15
129
169
  - The MQTT broker's shutdown timeout uses the adapter's `setTimeout` (repository checker E5005).
130
170
 
131
- ### 0.0.14
132
- - **Breaking:** the consumption subtree uses English IDs: `consumption.{total|heating|cooling}.{currentHour|lastHour|today|yesterday|thisMonth|lastMonth}`
133
- and `hoursJson`/`daysJson`/`monthsJson` (entries keyed `hour`/`day`/`month`). On start the adapter copies the last values of the
134
- old `verbrauch.*` states to the new IDs and deletes the old objects. Data recorded by the history adapter stays under the old IDs.
135
- - Config keys renamed to `historyRegister` / `historyInstance`; an existing configuration keeps working until it is saved again.
136
- - `status.autoe` is now subscribed - writes were silently dropped before.
137
- - Admin texts translated into all eleven languages; VIS widgets: English names, English select values (`light`/`dark`,
138
- `day`/`month`/`year`, reading keys) and a dictionary for all eleven languages. Values saved by older views are still understood.
139
- - Names of states for unknown fields carry all eleven languages.
140
-
141
171
  [Older changelog entries can be found here](CHANGELOG_OLD.md)
142
172
 
143
173
  ## Trademark and relationship to the hardware project
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "faikout",
4
- "version": "0.0.18",
4
+ "version": "0.1.0",
5
5
  "titleLang": {
6
6
  "en": "Faikout",
7
7
  "de": "Faikout",
@@ -57,6 +57,9 @@
57
57
  "adminUI": {
58
58
  "config": "json"
59
59
  },
60
+ "supportedMessages": {
61
+ "deviceManager": true
62
+ },
60
63
  "dependencies": [
61
64
  {
62
65
  "js-controller": ">=6.0.11"
@@ -68,6 +71,32 @@
68
71
  }
69
72
  ],
70
73
  "news": {
74
+ "0.1.0": {
75
+ "en": "Device cards in the admin (device manager): on/off with confirmation, operating mode, target temperature and fan speed directly on the card, Wi-Fi signal and live values; new state control.selectedMode",
76
+ "de": "Gerätekarten im Admin (Geräteverwaltung): Ein/Aus mit Rückfrage, Betriebsart, Solltemperatur und Lüfterstufe direkt auf der Karte, WLAN-Signal und laufende Werte; neuer Datenpunkt control.selectedMode",
77
+ "ru": "Карточки устройств в админке (менеджер устройств): вкл./выкл. с подтверждением, режим работы, заданная температура и скорость вентилятора прямо на карточке, сигнал Wi-Fi и текущие значения; новая точка данных control.selectedMode",
78
+ "pt": "Cartões de dispositivo no admin (gestor de dispositivos): ligar/desligar com confirmação, modo de funcionamento, temperatura desejada e velocidade do ventilador diretamente no cartão, sinal Wi-Fi e valores atuais; novo estado control.selectedMode",
79
+ "nl": "Apparaatkaarten in de admin (apparaatbeheer): aan/uit met bevestiging, bedrijfsmodus, streeftemperatuur en ventilatorstand direct op de kaart, wifi-signaal en actuele waarden; nieuw datapunt control.selectedMode",
80
+ "fr": "Cartes d’appareil dans l’admin (gestionnaire d’appareils) : marche/arrêt avec confirmation, mode de fonctionnement, température de consigne et vitesse du ventilateur directement sur la carte, signal Wi-Fi et valeurs actuelles ; nouvel état control.selectedMode",
81
+ "it": "Schede dispositivo nell’admin (gestione dispositivi): accensione/spegnimento con conferma, modalità operativa, temperatura desiderata e velocità ventola direttamente sulla scheda, segnale Wi-Fi e valori attuali; nuovo stato control.selectedMode",
82
+ "es": "Tarjetas de dispositivo en el admin (gestor de dispositivos): encendido/apagado con confirmación, modo de funcionamiento, temperatura objetivo y velocidad del ventilador directamente en la tarjeta, señal Wi-Fi y valores actuales; nuevo estado control.selectedMode",
83
+ "pl": "Karty urządzeń w panelu admina (menedżer urządzeń): włączanie/wyłączanie z potwierdzeniem, tryb pracy, temperatura zadana i prędkość wentylatora bezpośrednio na karcie, sygnał Wi-Fi i bieżące wartości; nowy stan control.selectedMode",
84
+ "uk": "Картки пристроїв в адмінці (менеджер пристроїв): увімк./вимк. з підтвердженням, режим роботи, задана температура та швидкість вентилятора прямо на картці, сигнал Wi-Fi і поточні значення; нова точка даних control.selectedMode",
85
+ "zh-cn": "管理界面中的设备卡片(设备管理器):带确认的开关、运行模式、目标温度和风扇转速可直接在卡片上设置,显示 Wi-Fi 信号和实时数值;新增状态 control.selectedMode"
86
+ },
87
+ "0.0.19": {
88
+ "en": "Much lower CPU and database load: states are only written when they change; rejected settings (failed-set) are logged clearly and stored in info.failedSet",
89
+ "de": "Deutlich weniger CPU- und Datenbanklast: Datenpunkte werden nur bei Änderung geschrieben; abgelehnte Einstellungen (failed-set) im Klartext geloggt und in info.failedSet abgelegt",
90
+ "ru": "Значительно меньшая нагрузка на ЦП и базу данных: состояния записываются только при изменении; отклонённые настройки (failed-set) понятно записываются в журнал и сохраняются в info.failedSet",
91
+ "pt": "Carga de CPU e base de dados muito menor: os estados só são escritos quando mudam; definições rejeitadas (failed-set) são registadas de forma clara e guardadas em info.failedSet",
92
+ "nl": "Veel minder CPU- en databasebelasting: states worden alleen bij wijziging geschreven; geweigerde instellingen (failed-set) worden duidelijk gelogd en opgeslagen in info.failedSet",
93
+ "fr": "Charge CPU et base de données nettement réduite : les états ne sont écrits que lorsqu’ils changent ; les réglages refusés (failed-set) sont journalisés clairement et enregistrés dans info.failedSet",
94
+ "it": "Carico di CPU e database molto inferiore: gli stati vengono scritti solo quando cambiano; le impostazioni rifiutate (failed-set) vengono registrate chiaramente e salvate in info.failedSet",
95
+ "es": "Mucha menos carga de CPU y de base de datos: los estados solo se escriben cuando cambian; los ajustes rechazados (failed-set) se registran con claridad y se guardan en info.failedSet",
96
+ "pl": "Znacznie mniejsze obciążenie CPU i bazy danych: stany są zapisywane tylko przy zmianie; odrzucone ustawienia (failed-set) są czytelnie logowane i zapisywane w info.failedSet",
97
+ "uk": "Значно менше навантаження на ЦП і базу даних: стани записуються лише при зміні; відхилені налаштування (failed-set) зрозуміло записуються в журнал і зберігаються в info.failedSet",
98
+ "zh-cn": "大幅降低 CPU 和数据库负载:状态仅在变化时写入;被拒绝的设置(failed-set)以清晰的日志记录并保存在 info.failedSet 中"
99
+ },
71
100
  "0.0.18": {
72
101
  "en": "VIS widgets render again in the vis runtime and show live values; mode colour on all widgets; energy history with fixed ranges; new vis templates",
73
102
  "de": "VIS-Widgets werden in der vis-Laufzeit wieder gezeichnet und zeigen Live-Werte; Farbe der Betriebsart auf allen Widgets; Energieverlauf mit festen Zeiträumen; neue vis-Vorlagen",
@@ -132,32 +161,6 @@
132
161
  "pl": "Stany zużycia przemianowane na angielskie ID (consumption.total.today ...), istniejące wartości są przenoszone; status.autoe można zapisywać; pełne tłumaczenia panelu i widżetów",
133
162
  "uk": "Стани споживання перейменовано на англійські ID (consumption.total.today ...), наявні значення переносяться; status.autoe можна записувати; повні переклади адмінки та віджетів",
134
163
  "zh-cn": "能耗状态改为英文 ID(consumption.total.today 等),现有数值自动迁移;status.autoe 可写入;管理界面和小部件完整翻译"
135
- },
136
- "0.0.13": {
137
- "en": "On start, names and roles of existing states are updated to the current field description (also for rarely reported fields)",
138
- "de": "Beim Start werden Namen und Rollen vorhandener Datenpunkte an die aktuelle Feldbeschreibung angeglichen (auch bei selten gemeldeten Feldern)",
139
- "ru": "При запуске названия и роли существующих состояний приводятся к текущему описанию полей (в том числе для редко передаваемых полей)",
140
- "pt": "Ao iniciar, os nomes e funções dos estados existentes são atualizados para a descrição atual dos campos (também para campos raramente enviados)",
141
- "nl": "Bij het starten worden namen en rollen van bestaande states bijgewerkt naar de huidige veldbeschrijving (ook voor zelden gemelde velden)",
142
- "fr": "Au démarrage, les noms et rôles des états existants sont mis à jour selon la description actuelle des champs (y compris les champs rarement transmis)",
143
- "it": "All'avvio, nomi e ruoli degli stati esistenti vengono allineati alla descrizione attuale dei campi (anche per campi trasmessi raramente)",
144
- "es": "Al iniciar, los nombres y roles de los estados existentes se actualizan a la descripción actual de los campos (también para campos que se envían rara vez)",
145
- "pl": "Przy starcie nazwy i role istniejących stanów są aktualizowane do bieżącego opisu pól (także dla rzadko przesyłanych pól)",
146
- "uk": "Під час запуску назви та ролі наявних станів оновлюються до поточного опису полів (також для полів, що надходять рідко)",
147
- "zh-cn": "启动时,现有状态的名称和角色会更新为当前字段描述(包括很少上报的字段)"
148
- },
149
- "0.0.12": {
150
- "en": "New state status.reason (disconnect reason from the MQTT last will, e.g. \"LWT\") with names in all languages",
151
- "de": "Neuer Datenpunkt status.reason (Grund der Trennung aus dem MQTT-„Last Will“, z. B. „LWT“) mit Namen in allen Sprachen",
152
- "ru": "Новое состояние status.reason (причина отключения из MQTT last will, например «LWT») с названиями на всех языках",
153
- "pt": "Novo estado status.reason (motivo da desconexão do MQTT last will, p. ex. «LWT») com nomes em todos os idiomas",
154
- "nl": "Nieuwe status status.reason (reden van verbreking uit de MQTT last will, bijv. \"LWT\") met namen in alle talen",
155
- "fr": "Nouvel état status.reason (cause de la déconnexion issue du last will MQTT, p. ex. « LWT ») avec des noms dans toutes les langues",
156
- "it": "Nuovo stato status.reason (motivo della disconnessione dal last will MQTT, ad es. \"LWT\") con nomi in tutte le lingue",
157
- "es": "Nuevo estado status.reason (motivo de la desconexión del last will de MQTT, p. ej. «LWT») con nombres en todos los idiomas",
158
- "pl": "Nowy stan status.reason (przyczyna rozłączenia z MQTT last will, np. „LWT”) z nazwami we wszystkich językach",
159
- "uk": "Новий стан status.reason (причина відключення з MQTT last will, напр. «LWT») з назвами всіма мовами",
160
- "zh-cn": "新状态 status.reason(来自 MQTT 遗嘱消息的断开原因,例如“LWT”),名称支持所有语言"
161
164
  }
162
165
  },
163
166
  "restartAdapters": [