node-red-contrib-knx-ultimate 4.1.30 → 4.1.31
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/CHANGELOG.md +7 -0
- package/nodes/knxUltimateHueLight.html +11 -2
- package/nodes/knxUltimateHueLight.js +28 -0
- package/nodes/locales/de/knxUltimateHueLight.html +1 -0
- package/nodes/locales/de/knxUltimateHueLight.json +1 -0
- package/nodes/locales/en/knxUltimateHueLight.html +1 -0
- package/nodes/locales/en/knxUltimateHueLight.json +1 -0
- package/nodes/locales/es/knxUltimateHueLight.html +1 -0
- package/nodes/locales/es/knxUltimateHueLight.json +1 -0
- package/nodes/locales/fr/knxUltimateHueLight.html +1 -0
- package/nodes/locales/fr/knxUltimateHueLight.json +1 -0
- package/nodes/locales/it/knxUltimateHueLight.html +1 -0
- package/nodes/locales/it/knxUltimateHueLight.json +1 -0
- package/nodes/locales/zh-CN/knxUltimateHueLight.html +1 -0
- package/nodes/locales/zh-CN/knxUltimateHueLight.json +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
# CHANGELOG
|
|
8
8
|
|
|
9
|
+
**Version 4.1.31** - March 2026<br/>
|
|
10
|
+
|
|
11
|
+
- NEW: **KNX Hue Light**: added advanced option **Update local cached Hue state from KNX bus writes** to keep the node local Hue cache aligned immediately on KNX write telegrams, without waiting for Hue bridge feedback.<br/>
|
|
12
|
+
- UI: **KNX Hue Light**: the new advanced checkbox now restores and persists reliably when reopening/saving the node editor.<br/>
|
|
13
|
+
- Docs/help/wiki: updated **KNX Hue Light** help and documentation in all supported languages (EN/IT/DE/FR/ES/zh-CN, including generated `*-zh-CN-*` wiki variants).<br/>
|
|
14
|
+
- TEST: extended unit coverage for the optional KNX-write local cache synchronization behaviour.<br/>
|
|
15
|
+
|
|
9
16
|
**Version 4.1.30** - March 2026<br/>
|
|
10
17
|
|
|
11
18
|
- NEW: **KNX AI** now uses a full **Web Dashboard** as the main UI, opened from the node editor via **Open Web Page** button.<br/>
|
|
@@ -129,7 +129,8 @@
|
|
|
129
129
|
hueDevice: { value: "" },
|
|
130
130
|
hueDeviceObject: { value: {} },
|
|
131
131
|
|
|
132
|
-
restoreDayMode: { value: "no" }
|
|
132
|
+
restoreDayMode: { value: "no" }, // Starting from v 4.1.31
|
|
133
|
+
updateLocalStateFromKNXWrite: { value: false } // Starting from v 4.1.31
|
|
133
134
|
},
|
|
134
135
|
inputs: 0,
|
|
135
136
|
outputs: 0,
|
|
@@ -145,7 +146,8 @@
|
|
|
145
146
|
} catch (error) { }
|
|
146
147
|
|
|
147
148
|
|
|
148
|
-
var node = this;
|
|
149
|
+
var node = this; // Starting from v 4.1.31
|
|
150
|
+
$("#node-input-updateLocalStateFromKNXWrite").prop("checked", node.updateLocalStateFromKNXWrite === true || node.updateLocalStateFromKNXWrite === "true"); // Starting from v 4.1.31
|
|
149
151
|
const ensureConfigSelection = (selector) => {
|
|
150
152
|
if ($(selector).val() !== "_ADD_") return;
|
|
151
153
|
try {
|
|
@@ -1628,6 +1630,7 @@
|
|
|
1628
1630
|
const serialized = JSON.stringify(collectedEffectRules);
|
|
1629
1631
|
$("#node-input-effectRules").val(serialized);
|
|
1630
1632
|
this.effectRules = serialized;
|
|
1633
|
+
this.updateLocalStateFromKNXWrite = $("#node-input-updateLocalStateFromKNXWrite").is(":checked"); // Starting from v 4.1.31
|
|
1631
1634
|
this._cachedHueLightDevices = [];
|
|
1632
1635
|
if (typeof this.__stopHueLocateSession === 'function') {
|
|
1633
1636
|
try { this.__stopHueLocateSession(); } catch (error) { /* empty */ }
|
|
@@ -2256,6 +2259,12 @@
|
|
|
2256
2259
|
<option value="no" data-i18n="knxUltimateHueLight.knx_brightness_no"></option>
|
|
2257
2260
|
</select>
|
|
2258
2261
|
</div>
|
|
2262
|
+
<div class="form-row">
|
|
2263
|
+
<label style="width:260px;" for="node-input-updateLocalStateFromKNXWrite">
|
|
2264
|
+
<i class="fa fa-database"></i> <span data-i18n="knxUltimateHueLight.update_local_state_from_knx_write"></span>
|
|
2265
|
+
</label>
|
|
2266
|
+
<input type="checkbox" id="node-input-updateLocalStateFromKNXWrite" style="display:inline-block; width:auto; vertical-align:top;" />
|
|
2267
|
+
</div>
|
|
2259
2268
|
<div id ="divBehaviourBrightness">
|
|
2260
2269
|
<div class="form-row">
|
|
2261
2270
|
<label for="node-input-specifySwitchOnBrightness" style="width:260px;">
|
|
@@ -64,6 +64,7 @@ module.exports = function (RED) {
|
|
|
64
64
|
config.HSVDimSpeed = (config.HSVDimSpeed === undefined || config.HSVDimSpeed === '') ? 5000 : Number(config.HSVDimSpeed);
|
|
65
65
|
config.invertDimTunableWhiteDirection = config.invertDimTunableWhiteDirection !== undefined;
|
|
66
66
|
config.restoreDayMode = config.restoreDayMode === undefined ? "no" : config.restoreDayMode; // no or setDayByFastSwitchLightSingle or setDayByFastSwitchLightALL
|
|
67
|
+
config.updateLocalStateFromKNXWrite = config.updateLocalStateFromKNXWrite === true || config.updateLocalStateFromKNXWrite === "true"; // Starting from v 4.1.31
|
|
67
68
|
node.timerCheckForFastLightSwitch = null;
|
|
68
69
|
config.invertDayNight = config.invertDayNight === undefined ? false : config.invertDayNight;
|
|
69
70
|
node.HSVObject = null; //{ h, s, v };// Store the current light calculated HSV
|
|
@@ -108,6 +109,28 @@ module.exports = function (RED) {
|
|
|
108
109
|
return `${d.getDate()}, ${d.toLocaleTimeString()}`;
|
|
109
110
|
};
|
|
110
111
|
|
|
112
|
+
node.syncCurrentHUEDeviceFromKNXState = function syncCurrentHUEDeviceFromKNXState(_state) { // Starting from v 4.1.31
|
|
113
|
+
if (config.updateLocalStateFromKNXWrite !== true) return; // Starting from v 4.1.31
|
|
114
|
+
if (_state === undefined || _state === null || typeof _state !== "object") return; // Starting from v 4.1.31
|
|
115
|
+
if (node.currentHUEDevice === undefined || node.currentHUEDevice === null) return; // Starting from v 4.1.31
|
|
116
|
+
if (_state.on !== undefined && typeof _state.on.on === "boolean") { // Starting from v 4.1.31
|
|
117
|
+
if (node.currentHUEDevice.on === undefined || node.currentHUEDevice.on === null) node.currentHUEDevice.on = {}; // Starting from v 4.1.31
|
|
118
|
+
node.currentHUEDevice.on.on = _state.on.on; // Starting from v 4.1.31
|
|
119
|
+
} // Starting from v 4.1.31
|
|
120
|
+
if (_state.dimming !== undefined && _state.dimming !== null && _state.dimming.brightness !== undefined) { // Starting from v 4.1.31
|
|
121
|
+
if (node.currentHUEDevice.dimming === undefined || node.currentHUEDevice.dimming === null) node.currentHUEDevice.dimming = {}; // Starting from v 4.1.31
|
|
122
|
+
node.currentHUEDevice.dimming.brightness = _state.dimming.brightness; // Starting from v 4.1.31
|
|
123
|
+
} // Starting from v 4.1.31
|
|
124
|
+
if (_state.color !== undefined && _state.color !== null && _state.color.xy !== undefined) { // Starting from v 4.1.31
|
|
125
|
+
if (node.currentHUEDevice.color === undefined || node.currentHUEDevice.color === null) node.currentHUEDevice.color = {}; // Starting from v 4.1.31
|
|
126
|
+
node.currentHUEDevice.color.xy = cloneDeep(_state.color.xy); // Starting from v 4.1.31
|
|
127
|
+
} // Starting from v 4.1.31
|
|
128
|
+
if (_state.color_temperature !== undefined && _state.color_temperature !== null && _state.color_temperature.mirek !== undefined) { // Starting from v 4.1.31
|
|
129
|
+
if (node.currentHUEDevice.color_temperature === undefined || node.currentHUEDevice.color_temperature === null) node.currentHUEDevice.color_temperature = {}; // Starting from v 4.1.31
|
|
130
|
+
node.currentHUEDevice.color_temperature.mirek = _state.color_temperature.mirek; // Starting from v 4.1.31
|
|
131
|
+
} // Starting from v 4.1.31
|
|
132
|
+
}; // Starting from v 4.1.31
|
|
133
|
+
|
|
111
134
|
// Used to call the status update from the config node.
|
|
112
135
|
node.setNodeStatus = ({
|
|
113
136
|
fill, shape, text, payload,
|
|
@@ -306,6 +329,7 @@ module.exports = function (RED) {
|
|
|
306
329
|
state = { on: { on: false } };
|
|
307
330
|
}
|
|
308
331
|
|
|
332
|
+
node.syncCurrentHUEDeviceFromKNXState(state); // Starting from v 4.1.31
|
|
309
333
|
node.serverHue.hueManager.writeHueQueueAdd(node.hueDevice, state, node.isGrouped_light === false ? "setLight" : "setGroupedLight");
|
|
310
334
|
node.setNodeStatusHue({
|
|
311
335
|
fill: "green",
|
|
@@ -357,6 +381,7 @@ module.exports = function (RED) {
|
|
|
357
381
|
retMirek = hueColorConverter.ColorConverter.kelvinToMirek(msg.payload);
|
|
358
382
|
}
|
|
359
383
|
state = { color_temperature: { mirek: retMirek } };
|
|
384
|
+
node.syncCurrentHUEDeviceFromKNXState(state); // Starting from v 4.1.31
|
|
360
385
|
node.serverHue.hueManager.writeHueQueueAdd(node.hueDevice, state, node.isGrouped_light === false ? "setLight" : "setGroupedLight");
|
|
361
386
|
node.setNodeStatusHue({
|
|
362
387
|
fill: "green",
|
|
@@ -413,6 +438,7 @@ module.exports = function (RED) {
|
|
|
413
438
|
const retMirek = hueColorConverter.ColorConverter.scale(msg.payload, [0, 100], [153, 500]);
|
|
414
439
|
msg.payload = retMirek;
|
|
415
440
|
state = { color_temperature: { mirek: msg.payload } };
|
|
441
|
+
node.syncCurrentHUEDeviceFromKNXState(state); // Starting from v 4.1.31
|
|
416
442
|
node.serverHue.hueManager.writeHueQueueAdd(node.hueDevice, state, node.isGrouped_light === false ? "setLight" : "setGroupedLight");
|
|
417
443
|
node.setNodeStatusHue({
|
|
418
444
|
fill: "green",
|
|
@@ -433,6 +459,7 @@ module.exports = function (RED) {
|
|
|
433
459
|
if (node.currentHUEDevice.on.on === false && msg.payload > 0) state.on = { on: true };
|
|
434
460
|
if (node.currentHUEDevice.on.on === true && msg.payload === 0) state.on = { on: false };
|
|
435
461
|
}
|
|
462
|
+
node.syncCurrentHUEDeviceFromKNXState(state); // Starting from v 4.1.31
|
|
436
463
|
node.serverHue.hueManager.writeHueQueueAdd(node.hueDevice, state, node.isGrouped_light === false ? "setLight" : "setGroupedLight");
|
|
437
464
|
node.setNodeStatusHue({
|
|
438
465
|
fill: "green",
|
|
@@ -462,6 +489,7 @@ module.exports = function (RED) {
|
|
|
462
489
|
if (node.currentHUEDevice.on.on === false && bright > 0) state.on = { on: true };
|
|
463
490
|
if (node.currentHUEDevice.on.on === true && bright === 0) state = { on: { on: false }, dimming: { brightness: bright } };
|
|
464
491
|
}
|
|
492
|
+
node.syncCurrentHUEDeviceFromKNXState(state); // Starting from v 4.1.31
|
|
465
493
|
node.serverHue.hueManager.writeHueQueueAdd(node.hueDevice, state, node.isGrouped_light === false ? "setLight" : "setGroupedLight");
|
|
466
494
|
node.setNodeStatusHue({
|
|
467
495
|
fill: "green",
|
|
@@ -99,6 +99,7 @@ Die Tabelle **Hue-native Effekte** ordnet KNX-Werte den vom Bridge gemeldeten Ef
|
|
|
99
99
|
|--|--|
|
|
100
100
|
| Read status at startup | Beim Start/Voll-Deploy Status aus HUE lesen und an KNX ausgeben |
|
|
101
101
|
| KNX brightness status | Verhalten der Helligkeits-Status-GA bei Ein/Aus (0 % senden und letzten Wert wiederherstellen vs. "as is") |
|
|
102
|
+
| Lokalen Hue-Cache durch KNX-Bus-Schreibtelegramme aktualisieren | Erweiterte Option. Wenn aktiviert, aktualisieren Schreibtelegramme vom KNX-Bus sofort auch den lokal gecachten Hue-Zustand des Nodes, ohne auf Feedback/Ereignisse der Hue Bridge zu warten. Nützlich für konsistente KNX-Leseantworten oder einen stimmigen Cache, auch wenn Leuchte oder Gruppe AUS sind. |
|
|
102
103
|
| On behaviour | Verhalten beim Einschalten (Farbe wählen / Temperatur+Helligkeit wählen / none) |
|
|
103
104
|
| Night lighting | Nacht-Profil (Farbe oder Temperatur/Helligkeit) |
|
|
104
105
|
| Day/Night | GA zur Umschaltung Tag/Nacht (_true_ = Tag, _false_ = Nacht) |
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"knx_brightness_status": "KNX Helligkeitsstatus",
|
|
50
50
|
"knx_brightness_onhueoff": "Wenn HUE aus: 0% senden. Wenn HUE an: vorherigen Wert wiederherstellen (Standard KNX Verhalten)",
|
|
51
51
|
"knx_brightness_no": "Unverändert lassen (Standard HUE Verhalten)",
|
|
52
|
+
"update_local_state_from_knx_write": "Lokalen Hue-Cache durch KNX-Bus-Schreibtelegramme aktualisieren",
|
|
52
53
|
"use_min_brightness": "Minimale Helligkeit der HUE Lampe verwenden",
|
|
53
54
|
"k_suffix": "K",
|
|
54
55
|
"temp_desc_2200": "(Beginn der Philips White Ambiance Reihe)",
|
|
@@ -98,6 +98,7 @@ Use the **Hue native effects** table to map your KNX values to the effects suppo
|
|
|
98
98
|
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
99
99
|
| Read status at startup | Read the Hue light status at node-red's startup or node-red's full deploy, and send that status to the KNX BUS |
|
|
100
100
|
| KNX Brightness Status | Updates the KNX brightness group address status, whenever the Hue lamp is switched ON/OFF. The options are **When Hue light is Off send 0%. When Hue On, restore previous value (Default KNX behaviour) ** and**Leave as is (default Hue behaviour) ** . If you have KNX dimmer with brightness status, like MDT, the suggested option is _**When Hue light is Off send 0%. When Hue On, restore previous value (Default KNX behaviour)** _ |
|
|
101
|
+
| Update local cached Hue state from KNX bus writes | Advanced option. When enabled, writes arriving from the KNX bus also update the node's local cached Hue state immediately, without waiting for feedback/events from the Hue bridge. Useful when you need consistent KNX read responses or cached state even while the light or grouped light is OFF. |
|
|
101
102
|
| Switch on behaviour | It sets the behaviour of your lights when switched on. You can choose from differents behaviours.<br/> **Select color: ** the light will be switched on with the color of your choice. To change color, just CLICK on the color selector (under the _Select color_ control).<br/>**Select temperature and brightness: ** the light will be switched on with the temperature (Kelvin) and brightness (0-100) of your choice.<br/>**None:** the light will retain its last status. In case you've enable the night lighting, after the night time ends, the lamp will resume the color/temperature/brightness state set at day time. |
|
|
102
103
|
| Night Lighting | It allows to set a particular light color/brightness at nighttime. The options are the same as the daytime. You could select either a temperature/brightness or color. A cozy temperature of 2700 Kelvin, with a brightness of 10% or 20%, is a good choice for bathroom's night light.|
|
|
103
104
|
| Day/Night | Select the group address used to set the day/night behaviour. The group address value is _true_ if daytime, _false_ if nighttime. |
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"knx_brightness_status": "KNX Brightness Status",
|
|
50
50
|
"knx_brightness_onhueoff": "When Hue light is Off send 0%. When Hue On, restore previous value (Default KNX behaviour)",
|
|
51
51
|
"knx_brightness_no": "Leave as is (default Hue behaviour)",
|
|
52
|
+
"update_local_state_from_knx_write": "Update local cached Hue state from KNX bus writes",
|
|
52
53
|
"use_min_brightness": "Use minimum brightness specified in the Hue light",
|
|
53
54
|
"k_suffix": "K",
|
|
54
55
|
"temp_desc_2200": "(start of Philips White Ambiance lights range)",
|
|
@@ -98,6 +98,7 @@ Use la tabla **Hue Native Effects** para asignar sus valores de KNX a los efecto
|
|
|
98
98
|
| ----------------------------------------- | --------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------- |
|
|
99
99
|
| Leer el estado al inicio | Lea el estado de la luz del tono en la inicio de nodo-rojo o el despliegue completo de Node-Red, y envíe ese estado al bus KNX |
|
|
100
100
|
| Estado de brillo KNX | Actualiza el estado de la dirección del grupo de brillo KNX, siempre que la lámpara de tono se encienda/apague. Las opciones son **cuando la luz del tono está apagada, envíe 0%. Cuando se enciende, restaure el valor anterior (comportamiento de KNX predeterminado) ** y**dejar como es (comportamiento de tono predeterminado) ** . Si tiene KNX Dimmer con estado de brillo, como MDT, la opción sugerida es _**cuando la luz del tono está apagada, envíe 0%. Cuando se enciende, restaure el valor anterior (comportamiento predeterminado KNX)** _ |
|
|
101
|
+
| Actualizar el estado local en caché de Hue a partir de escrituras del bus KNX | Opción avanzada. Si está activada, las escrituras que llegan desde el bus KNX también actualizan inmediatamente el estado local en caché de Hue del nodo, sin esperar al feedback/evento del bridge Hue. Útil cuando necesita respuestas de lectura KNX coherentes o un estado en caché alineado incluso mientras la luz o el grupo están apagados. |
|
|
101
102
|
| Encender el comportamiento | Establece el comportamiento de sus luces cuando se enciende. Puede elegir entre diferentes comportamientos. <br/> **Seleccione Color: ** La luz se encenderá con el color de su elección. Para cambiar el color, simplemente haga clic en el selector de color (debajo del control de color_select). <br/>**Seleccione la temperatura y el brillo: ** La luz se encenderá con la temperatura (Kelvin) y el brillo (0-100) de su elección. <br/>**Ninguna:** La luz retendrá su último estado. En caso de que haya habilitado la iluminación nocturna, después de finalizar la noche, la lámpara reanudará el estado de color/temperatura/brillo establecido durante el día. |
|
|
102
103
|
| Iluminación nocturna | Permite establecer un color/brillo de luz particular por la noche. Las opciones son las mismas que el día. Puede seleccionar una temperatura/brillo o color. Una temperatura acogedora de 2700 Kelvin, con un brillo del 10% o 20%, es una buena opción para la luz nocturna del baño. |
|
|
103
104
|
| Día/noche | Seleccione la dirección de grupo utilizada para establecer el comportamiento diurno/nocturno. El valor de la dirección de grupo es _true_ if Daytime, _false_ si nocturno. |
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"knx_brightness_status": "Estado de brillo KNX",
|
|
50
50
|
"knx_brightness_onhueoff": "Cuando la luz del tono está apagada, envíe 0%. Cuando se enciende, restaure el valor anterior (comportamiento de KNX predeterminado)",
|
|
51
51
|
"knx_brightness_no": "Salir como está (comportamiento de tono predeterminado)",
|
|
52
|
+
"update_local_state_from_knx_write": "Actualizar el estado local en caché de Hue a partir de escrituras del bus KNX",
|
|
52
53
|
"use_min_brightness": "Use brillo mínimo especificado en la luz del tono",
|
|
53
54
|
"k_suffix": "K",
|
|
54
55
|
"temp_desc_2200": "(Inicio de Philips White Ambiance Lights Range)",
|
|
@@ -98,6 +98,7 @@ Utilisez le tableau des effets natifs **Hue** pour cartographier vos valeurs KNX
|
|
|
98
98
|
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
99
99
|
| Lire l'état au démarrage | Lisez l'état de la lumière de Hue au démarrage de Node-Red ou le déploiement complet de Node-Red, et envoyez ce statut au bus KNX |
|
|
100
100
|
| Statut de luminosité KNX | Met à jour l'état de l'adresse du groupe de luminosité KNX, chaque fois que la lampe à teinte est allumée / désactivée. Les options sont **lorsque Hue Light est éteint Envoyer 0%. Lorsque Hue On, restaurez la valeur précédente (comportement KNX par défaut) ** et**Laissez tel quel (comportement de teinte par défaut) ** . Si vous avez un gradateur KNX avec un statut de luminosité, comme le MDT, l'option suggérée est _**lorsque la lumière de Hue est éteinte envoyez 0%. Lorsque Hue on, restaurez la valeur précédente (comportement KNX par défaut)** _ |
|
|
101
|
+
| Mettre à jour l'état Hue local en cache à partir des écritures du bus KNX | Option avancée. Si elle est activée, les écritures reçues depuis le bus KNX mettent aussi à jour immédiatement l'état Hue local en cache du nœud, sans attendre les retours/événements du pont Hue. Utile si vous avez besoin de réponses de lecture KNX cohérentes ou d'un cache aligné même lorsque la lumière ou le groupe est éteint. |
|
|
101
102
|
| Affoncher le comportement | Il définit le comportement de vos lumières lorsqu'il est allumé. Vous pouvez choisir parmi les différents comportements. <br/> **Sélectionner la couleur: ** La lumière sera allumée avec la couleur de votre choix. Pour modifier la couleur, cliquez simplement sur le sélecteur de couleurs (sous le contrôle de couleur _Select). <br/>**Sélectionnez la température et la luminosité: ** La lumière sera allumée avec la température (Kelvin) et la luminosité (0-100) de votre choix. <br/>**Aucun:** La lumière conservera son dernier statut. Dans le cas où vous permettez l'éclairage nocturne, après la fin de la nuit, la lampe reprendra l'état de couleur / température / luminosité réglé pendant le jour. |
|
|
102
103
|
| Éclairage nocturne | Il permet de définir une couleur / luminosité claire particulière la nuit. Les options sont les mêmes que la journée. Vous pouvez sélectionner une température / une luminosité ou une couleur. Une température confortable de 2700 Kelvin, avec une luminosité de 10% ou 20%, est un bon choix pour la veilleuse de la salle de bain. |
|
|
103
104
|
| Jour / nuit | Sélectionnez l'adresse de groupe utilisée pour définir le comportement de jour / nuit. La valeur d'adresse du groupe est _true_ si le jour, _false_ si nocturne. |
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"knx_brightness_status": "Statut de luminosité de KNX",
|
|
42
42
|
"knx_brightness_onhueoff": "Lorsque Hue Light est éteint, envoyez 0%. Lorsque Hue On, restaurez la valeur précédente (comportement KNX par défaut)",
|
|
43
43
|
"knx_brightness_no": "Laisser tel quel (comportement de teinte par défaut)",
|
|
44
|
+
"update_local_state_from_knx_write": "Mettre à jour l'état Hue local en cache à partir des écritures du bus KNX",
|
|
44
45
|
"use_min_brightness": "Utilisez une luminosité minimale spécifiée dans la lumière des teintes",
|
|
45
46
|
"k_suffix": "K",
|
|
46
47
|
"temp_desc_2200": "(Début de la gamme Philips White Ambiance Lights)",
|
|
@@ -98,6 +98,7 @@ La tabella **Effetti nativi HUE** consente di associare valori KNX agli effetti
|
|
|
98
98
|
|------------------------------------------------- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
99
99
|
|Leggi lo stato all'avvio |Leggi lo stato della luce HUE all'avvio del nodo-rosso o al rosso nodo-rosso del nodo e invia quello stato al bus KNX |
|
|
100
100
|
|Stato di luminosità KNX |Aggiorna lo stato dell'indirizzo del gruppo di luminosità KNX, ogni volta che la lampada Hue viene accesa/disattivata.Le opzioni sono \*\* quando Hue Light è spento, inviare lo 0%.Quando accesa, ripristinare il valore precedente (comportamento KNX predefinito) \*\* e \*\* lasciano come (comportamento di tonalità predefinito) \*\*.Se si dispone di Dimmer KNX con stato di luminosità, come MDT, l'opzione suggerita è \*\*\*quando la luce della tonalità è disattivata, inviare lo 0%.Quando accesa, ripristinare il valore precedente (comportamento KNX predefinito) \*\*\* |
|
|
101
|
+
|Aggiorna lo stato HUE locale in cache dai write KNX |Opzione avanzata. Se abilitata, i write che arrivano dal bus KNX aggiornano subito anche lo stato HUE locale in cache del nodo, senza attendere feedback/eventi dalla Hue Bridge. Utile quando servono risposte KNX in lettura coerenti o uno stato in cache allineato anche mentre la luce o il gruppo sono spenti. |
|
|
101
102
|
|Accendi comportamento |Imposta il comportamento delle luci quando acceso.Puoi scegliere tra comportamenti diversi. <br/> \*\* Seleziona colore: \*\* La luce verrà accesa con il colore di tua scelta.Per cambiare il colore, fai clic sul selettore dei colori (sotto il controllo_Seleziona colore_). <br/> \*\* Seleziona temperatura e luminosità: \*\* La luce verrà accesa con la temperatura (kelvin) e la luminosità (0-100) di tua scelta. <br/> \*\* Nessuna: \*\* La luce manterrà il suo ultimo stato.Nel caso in cui tu abbia abilitato l'illuminazione notturna, dopo la fine della notte, la lampada riprenderà lo stato del colore/temperatura/luminosità fissata al giorno.|
|
|
102
103
|
|Illuminazione notturna |Permette di impostare un particolare colore/luminosità della luce di notte.Le opzioni sono le stesse del giorno.È possibile selezionare una temperatura/luminosità o colore.Una temperatura accogliente di 2700 Kelvin, con una luminosità del 10% o 20%, è una buona scelta per la luce notturna del bagno |
|
|
103
104
|
|Giorno/notte |Seleziona l'indirizzo di gruppo utilizzato per impostare il comportamento giorno/notte.Il valore dell'indirizzo di gruppo è _true_ se giorno, _false_ se notturno.|
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"knx_brightness_status": "Stato luminosità KNX",
|
|
50
50
|
"knx_brightness_onhueoff": "Se la luce HUE è spenta invia 0%. Se è accesa, ripristina il valore precedente (Comportamento KNX predefinito)",
|
|
51
51
|
"knx_brightness_no": "Lascia invariato (comportamento HUE predefinito)",
|
|
52
|
+
"update_local_state_from_knx_write": "Aggiorna lo stato HUE locale in cache dai write provenienti dal bus KNX",
|
|
52
53
|
"use_min_brightness": "Usa la luminosità minima specificata nella luce HUE",
|
|
53
54
|
"k_suffix": "K",
|
|
54
55
|
"temp_desc_2200": "(inizio della gamma Philips White Ambiance)",
|
|
@@ -98,6 +98,7 @@ _Hue 原生效果_
|
|
|
98
98
|
|----------------------------------------------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
99
99
|
|在启动时阅读状态|在Node-Red的启动或Node-Red的完整部署中阅读色相灯状态,然后将该状态发送到KNX总线|
|
|
100
100
|
|KNX亮度状态|每当打开/关闭色调灯时,都会更新KNX亮度组地址状态。选项是 **当色相关闭时发送0%。当色相打开时,还原以前的值(默认的KNX行为) ** 和**如IS(默认色调行为)** 。如果您具有具有亮度状态的KNX调光器,例如MDT,则建议的选项为\*\*\*,当Hue Light关闭时,请发送0%。色调打开时,还原以前的值(默认的KNX行为)\*\*\* |
|
|
101
|
+
|根据 KNX 总线写入更新本地缓存的 Hue 状态|高级选项。启用后,来自 KNX 总线的写入也会立即更新节点本地缓存的 Hue 状态,而无需等待 Hue Bridge 的反馈或事件。当你需要一致的 KNX 读响应,或者希望在灯或分组灯关闭时缓存状态也保持同步时,这个选项会很有用。 |
|
|
101
102
|
|打开行为|打开时,它设置了灯的行为。您可以从不同的行为中进行选择。<br/> \*\*选择颜色:\*\*将使用您选择的颜色打开灯。要更改颜色,只需单击颜色选择器(在_选择颜色_控制下)。<br/> \*\*选择温度和亮度: **您选择的温度(kelvin)和亮度(0-100)将打开灯。<br/> none:** 无:如果您启用夜间照明,夜间结束后,灯将恢复白天设置的颜色/温度/亮度状态。|
|
|
102
103
|
|夜照明|它允许在夜间设置特定的浅色/亮度。选项与白天相同。您可以选择温度/亮度或颜色。舒适的温度为2700开Kelvin,亮度为10%或20%,是浴室夜灯的不错选择。 |
|
|
103
104
|
|白天/夜|选择用于设置白天/夜行为的组地址。组地址值为\_true\_如果白天,\_false\_如果夜间。|
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"knx_brightness_status": "KNX 亮度状态",
|
|
42
42
|
"knx_brightness_onhueoff": "当 HUE 灯关闭时发送 0%。当 HUE 打开时恢复先前值(默认 KNX 行为)",
|
|
43
43
|
"knx_brightness_no": "保持不变(默认 HUE 行为)",
|
|
44
|
+
"update_local_state_from_knx_write": "根据 KNX 总线写入更新本地缓存的 Hue 状态",
|
|
44
45
|
"use_min_brightness": "使用 HUE 灯中设置的最小亮度",
|
|
45
46
|
"k_suffix": "K",
|
|
46
47
|
"temp_desc_2200": "(飞利浦 White Ambiance 系列起始)",
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"engines": {
|
|
4
4
|
"node": ">=20.18.1"
|
|
5
5
|
},
|
|
6
|
-
"version": "4.1.
|
|
6
|
+
"version": "4.1.31",
|
|
7
7
|
"description": "Control your KNX and KNX Secure intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control, ETS group address importer, and KNX routing between interfaces. Easy to use and highly configurable.",
|
|
8
8
|
"files": [
|
|
9
9
|
"nodes/",
|
|
@@ -104,4 +104,4 @@
|
|
|
104
104
|
"mocha": "^10.4.0",
|
|
105
105
|
"marked": "^14.1.0"
|
|
106
106
|
}
|
|
107
|
-
}
|
|
107
|
+
}
|