iobroker.faikout 0.0.19 → 0.2.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,15 @@ 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.
45
+ - `mode`, `fan`, `swing` and `preset` are text, as the module speaks them. Each has a numeric twin
46
+ (`modeNum`, `fanNum`, `swingNum`, `presetNum`) with `common.states` such as
47
+ `{0: "off", 1: "heat_cool", 2: "cool", 3: "heat", 4: "dry", 5: "fan_only"}` for Lovelace and other
48
+ tools that expect numbers. Both are writable and mean the same: a command on either sends exactly one
49
+ command to the module (as text); both are set with `ack=true` when the module confirms. The numbers
50
+ are fixed; new values of a future firmware are appended.
43
51
  - `<device>.status.*` — readings: temperatures, humidity, energy, power, compressor and fan speed
44
52
  - `<device>.info.*` — device diagnostics: IP, WiFi signal, uptime, firmware
45
53
 
@@ -106,6 +114,25 @@ reporting 100 % — seen on units that still have Daikin's own WiFi adapter fitt
106
114
  pass on the percentage; the modes of Daikin's app (off / automatic / fixed) are not part of what is
107
115
  known about the S21 interface. Econo is only taken over while the unit is running.
108
116
 
117
+ ### Lovelace, type detector and other tools that expect numbers
118
+
119
+ The module speaks text (`mode` = `"cool"`), and the text states stay the main form for scripts, vis and
120
+ the device cards. Lovelace, however, converts the keys of `common.states` to numbers when it writes a
121
+ climate entity; with text keys this gives `NaN` and the command is lost. Use the numeric twins in
122
+ `<device>.control.*` for such tools:
123
+
124
+ | State | Role | Values |
125
+ | ----------- | --------------------------- | ------------------------------------------------------------------- |
126
+ | `modeNum` | `level.mode.airconditioner` | 0 off, 1 heat_cool, 2 cool, 3 heat, 4 dry, 5 fan_only |
127
+ | `fanNum` | `level.mode.fan` | 0 auto, 1 night, 2 low, 3 lowMedium, 4 medium, 5 mediumHigh, 6 high |
128
+ | `swingNum` | `level.mode.swing` | 0 off, 1 on, 2 vertical, 3 horizontal, 4 both, 5 comfort |
129
+ | `presetNum` | `level.mode` | 0 home, 1 eco, 2 boost |
130
+
131
+ The roles let the type detector find them as part of an air conditioner. Writing `2`, `"2"` or the label
132
+ `"cool"` to `modeNum` sends one command `cool` to the module; `modeNum` and `mode` are both set with
133
+ `ack=true` when the module confirms. A value outside the list is discarded with a warning in the log.
134
+ The twins are created with the first report of a module after the update.
135
+
109
136
  ## Visualisation (vis templates)
110
137
 
111
138
  The folder [`vis-templates/`](vis-templates/) contains ready-made **vis 1** views for two units: overview,
@@ -119,6 +146,25 @@ one detail page per unit with controls, energy history and a phone view. They us
119
146
  Placeholder for the next version (at the beginning of the line):
120
147
  ### **WORK IN PROGRESS**
121
148
  -->
149
+ ### 0.2.0 (2026-11-13)
150
+ - Numeric twins of the text control states: `control.modeNum`, `fanNum`, `swingNum` and `presetNum` with
151
+ `common.states` (`{0: "off", 1: "heat_cool", ...}`) and the roles `level.mode.airconditioner`,
152
+ `level.mode.fan`, `level.mode.swing` and `level.mode`, for Lovelace and the type detector (forum thread
153
+ 85668). Both forms are writable; a command on either sends exactly one command to the module, both are set
154
+ with `ack=true` when the module confirms. Text states, vis widgets and device cards are unchanged.
155
+
156
+ ### 0.1.0 (2026-11-12)
157
+ - Device manager support (`@iobroker/dm-utils`): one card per air conditioner in the admin tab "Devices"
158
+ with the running operation (mode, current action, room/target/outside temperature, fan speed, humidity,
159
+ power, energy today), one WiFi symbol for connection and signal (four levels plus dBm, crossed out
160
+ when the module is disconnected), warning when the unit does not respond.
161
+ On/off is a toggle in the status line that follows the state live and asks for confirmation. Mode (without
162
+ "off", shows the last mode while the unit is off), target temperature (slider) and fan speed (Auto, Quiet and
163
+ five level bars) can be changed directly on the card, also while the unit is off; choosing a mode switches the
164
+ unit on. Everything is on the card itself, there is no separate control dialog. All controls write the
165
+ `control.*` states, so commands take the usual path. No configuration actions on the cards.
166
+ - New state `control.selectedMode` (see above). German name of the outside temperature with "ß".
167
+
122
168
  ### 0.0.19 (2026-11-10)
123
169
  - A setting the air conditioner does not accept (module message `error/<name>/failed-set`, e.g. demand control) is
124
170
  logged as a clear warning instead of the bare payload, and the last rejection is stored in the new state
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "faikout",
4
- "version": "0.0.19",
4
+ "version": "0.2.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.2.0": {
75
+ "en": "Numeric twins of the text control states (modeNum, fanNum, swingNum, presetNum) with level.mode roles for Lovelace and the type detector; one command per write, ack only with the module confirmation",
76
+ "de": "Zahl-Datenpunkte neben den Text-Steuerfeldern (modeNum, fanNum, swingNum, presetNum) mit level.mode-Rollen für Lovelace und den Type-Detector; ein Befehl pro Schreibvorgang, ack erst mit der Bestätigung des Moduls",
77
+ "ru": "Числовые аналоги текстовых управляющих состояний (modeNum, fanNum, swingNum, presetNum) с ролями level.mode для Lovelace и детектора типов; одна команда на каждую запись, ack только после подтверждения модуля",
78
+ "pt": "Estados numéricos ao lado dos estados de controlo em texto (modeNum, fanNum, swingNum, presetNum) com funções level.mode para o Lovelace e o detetor de tipos; um comando por escrita, ack apenas com a confirmação do módulo",
79
+ "nl": "Numerieke tegenhangers van de tekstuele besturingsdatapunten (modeNum, fanNum, swingNum, presetNum) met level.mode-rollen voor Lovelace en de typedetector; één commando per schrijfactie, ack pas na bevestiging door de module",
80
+ "fr": "Équivalents numériques des états de commande textuels (modeNum, fanNum, swingNum, presetNum) avec les rôles level.mode pour Lovelace et le détecteur de type ; une seule commande par écriture, ack uniquement après confirmation du module",
81
+ "it": "Stati numerici accanto agli stati di controllo testuali (modeNum, fanNum, swingNum, presetNum) con ruoli level.mode per Lovelace e il rilevatore di tipo; un solo comando per scrittura, ack solo con la conferma del modulo",
82
+ "es": "Estados numéricos junto a los estados de control de texto (modeNum, fanNum, swingNum, presetNum) con roles level.mode para Lovelace y el detector de tipos; un solo comando por escritura, ack solo con la confirmación del módulo",
83
+ "pl": "Liczbowe odpowiedniki tekstowych stanów sterujących (modeNum, fanNum, swingNum, presetNum) z rolami level.mode dla Lovelace i detektora typów; jedno polecenie na zapis, ack dopiero po potwierdzeniu przez moduł",
84
+ "uk": "Числові відповідники текстових керувальних станів (modeNum, fanNum, swingNum, presetNum) з ролями level.mode для Lovelace і детектора типів; одна команда на кожен запис, ack лише після підтвердження модуля",
85
+ "zh-cn": "为文本控制状态新增数值对应项(modeNum、fanNum、swingNum、presetNum),带 level.mode 角色,适用于 Lovelace 和类型检测器;每次写入只发送一条命令,模块确认后才设置 ack"
86
+ },
87
+ "0.1.0": {
88
+ "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",
89
+ "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",
90
+ "ru": "Карточки устройств в админке (менеджер устройств): вкл./выкл. с подтверждением, режим работы, заданная температура и скорость вентилятора прямо на карточке, сигнал Wi-Fi и текущие значения; новая точка данных control.selectedMode",
91
+ "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",
92
+ "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",
93
+ "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",
94
+ "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",
95
+ "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",
96
+ "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",
97
+ "uk": "Картки пристроїв в адмінці (менеджер пристроїв): увімк./вимк. з підтвердженням, режим роботи, задана температура та швидкість вентилятора прямо на картці, сигнал Wi-Fi і поточні значення; нова точка даних control.selectedMode",
98
+ "zh-cn": "管理界面中的设备卡片(设备管理器):带确认的开关、运行模式、目标温度和风扇转速可直接在卡片上设置,显示 Wi-Fi 信号和实时数值;新增状态 control.selectedMode"
99
+ },
71
100
  "0.0.19": {
72
101
  "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",
73
102
  "de": "Deutlich weniger CPU- und Datenbanklast: Datenpunkte werden nur bei Änderung geschrieben; abgelehnte Einstellungen (failed-set) im Klartext geloggt und in info.failedSet abgelegt",
@@ -132,32 +161,6 @@
132
161
  "pl": "Limit czasu zamykania brokera MQTT korzysta z timera adaptera (kontrola E5005)",
133
162
  "uk": "Тайм-аут зупинки MQTT-брокера використовує таймер адаптера (перевірка E5005)",
134
163
  "zh-cn": "MQTT 代理的关闭超时使用适配器计时器(检查 E5005)"
135
- },
136
- "0.0.14": {
137
- "en": "Consumption states renamed to English IDs (consumption.total.today ...), existing values are migrated; status.autoe can be written; complete translations of admin and widgets",
138
- "de": "Verbrauchsdatenpunkte auf englische IDs umbenannt (consumption.total.today ...), vorhandene Werte werden übernommen; status.autoe ist beschreibbar; vollständige Übersetzungen von Admin und Widgets",
139
- "ru": "Состояния потребления переименованы в английские ID (consumption.total.today ...), существующие значения переносятся; status.autoe можно записывать; полные переводы админки и виджетов",
140
- "pt": "Estados de consumo renomeados para IDs em inglês (consumption.total.today ...), os valores existentes são migrados; status.autoe pode ser escrito; traduções completas do admin e dos widgets",
141
- "nl": "Verbruiksstatussen hernoemd naar Engelse ID’s (consumption.total.today ...), bestaande waarden worden overgenomen; status.autoe is schrijfbaar; volledige vertalingen van admin en widgets",
142
- "fr": "États de consommation renommés en ID anglais (consumption.total.today ...), les valeurs existantes sont migrées ; status.autoe est modifiable ; traductions complètes de l’admin et des widgets",
143
- "it": "Stati di consumo rinominati con ID inglesi (consumption.total.today ...), i valori esistenti vengono migrati; status.autoe è scrivibile; traduzioni complete di admin e widget",
144
- "es": "Estados de consumo renombrados a ID en inglés (consumption.total.today ...), los valores existentes se migran; status.autoe se puede escribir; traducciones completas del admin y los widgets",
145
- "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",
146
- "uk": "Стани споживання перейменовано на англійські ID (consumption.total.today ...), наявні значення переносяться; status.autoe можна записувати; повні переклади адмінки та віджетів",
147
- "zh-cn": "能耗状态改为英文 ID(consumption.total.today 等),现有数值自动迁移;status.autoe 可写入;管理界面和小部件完整翻译"
148
- },
149
- "0.0.13": {
150
- "en": "On start, names and roles of existing states are updated to the current field description (also for rarely reported fields)",
151
- "de": "Beim Start werden Namen und Rollen vorhandener Datenpunkte an die aktuelle Feldbeschreibung angeglichen (auch bei selten gemeldeten Feldern)",
152
- "ru": "При запуске названия и роли существующих состояний приводятся к текущему описанию полей (в том числе для редко передаваемых полей)",
153
- "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)",
154
- "nl": "Bij het starten worden namen en rollen van bestaande states bijgewerkt naar de huidige veldbeschrijving (ook voor zelden gemelde velden)",
155
- "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)",
156
- "it": "All'avvio, nomi e ruoli degli stati esistenti vengono allineati alla descrizione attuale dei campi (anche per campi trasmessi raramente)",
157
- "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)",
158
- "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)",
159
- "uk": "Під час запуску назви та ролі наявних станів оновлюються до поточного опису полів (також для полів, що надходять рідко)",
160
- "zh-cn": "启动时,现有状态的名称和角色会更新为当前字段描述(包括很少上报的字段)"
161
164
  }
162
165
  },
163
166
  "restartAdapters": [