node-red-contrib-dmx-for-ha 0.6.22 → 0.6.23
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.
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
</div>
|
|
314
314
|
|
|
315
315
|
<div style="margin-top:16px; padding-top:8px; border-top:1px solid #444; color:#666; font-size:0.8em; text-align:right;">
|
|
316
|
-
node-red-contrib-dmx-for-ha v0.6.
|
|
316
|
+
node-red-contrib-dmx-for-ha v0.6.23
|
|
317
317
|
</div>
|
|
318
318
|
|
|
319
319
|
</script>
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
enabledDefault: { value: 'true' },
|
|
24
24
|
diskDelay: { value: '10' },
|
|
25
25
|
transitionRateLimit: { value: '1' },
|
|
26
|
-
transitionHaUiTime: { value:
|
|
27
|
-
offTransition: { value:
|
|
26
|
+
transitionHaUiTime: { value: 1, validate: RED.validators.number() },
|
|
27
|
+
offTransition: { value: 1, validate: RED.validators.number() },
|
|
28
28
|
flashShort: { value: '1' },
|
|
29
29
|
flashLong: { value: '10' },
|
|
30
30
|
dmxFloor: { value: '3' },
|
|
@@ -206,12 +206,23 @@
|
|
|
206
206
|
min="1" style="width:70px" />
|
|
207
207
|
</div>
|
|
208
208
|
|
|
209
|
+
<div class="form-row">
|
|
210
|
+
<label for="node-config-input-transitionHaUiTime">
|
|
211
|
+
<i class="fa fa-clock-o"></i> Default ON transition
|
|
212
|
+
</label>
|
|
213
|
+
<input type="number" id="node-config-input-transitionHaUiTime"
|
|
214
|
+
min="0" max="60" step="0.1" style="width:70px" />
|
|
215
|
+
<span style="margin-left:8px; color:#999; font-size:0.85em;">
|
|
216
|
+
Seconds. Applied when HA sends ON without a transition time. 0 = snap on. Default: 1
|
|
217
|
+
</span>
|
|
218
|
+
</div>
|
|
219
|
+
|
|
209
220
|
<div class="form-row">
|
|
210
221
|
<label for="node-config-input-offTransition">
|
|
211
222
|
<i class="fa fa-clock-o"></i> Default OFF transition
|
|
212
223
|
</label>
|
|
213
224
|
<input type="number" id="node-config-input-offTransition"
|
|
214
|
-
min="0" max="
|
|
225
|
+
min="0" max="60" step="0.1" style="width:70px" />
|
|
215
226
|
<span style="margin-left:8px; color:#999; font-size:0.85em;">
|
|
216
227
|
Seconds. Applied when HA sends OFF without a transition time. 0 = snap off. Default: 1
|
|
217
228
|
</span>
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
</div>
|
|
318
318
|
|
|
319
319
|
<div style="margin-top:16px; padding-top:8px; border-top:1px solid #444; color:#666; font-size:0.8em; text-align:right;">
|
|
320
|
-
node-red-contrib-dmx-for-ha v0.6.
|
|
320
|
+
node-red-contrib-dmx-for-ha v0.6.23
|
|
321
321
|
</div>
|
|
322
322
|
|
|
323
323
|
</script>
|
package/nodes/ha-mqtt-dmx.html
CHANGED
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
</div>
|
|
585
585
|
|
|
586
586
|
<div style="margin-top:16px; padding-top:8px; border-top:1px solid #444; color:#666; font-size:0.8em; text-align:right;">
|
|
587
|
-
node-red-contrib-dmx-for-ha v0.6.
|
|
587
|
+
node-red-contrib-dmx-for-ha v0.6.23
|
|
588
588
|
</div>
|
|
589
589
|
|
|
590
590
|
</script>
|
package/nodes/ha-mqtt-dmx.js
CHANGED
|
@@ -231,8 +231,9 @@ module.exports = function (RED) {
|
|
|
231
231
|
if (gamma === 0 && colorValue > 0 && brightness > 0 && S.minOutput > 0) {
|
|
232
232
|
return S.minOutput;
|
|
233
233
|
}
|
|
234
|
-
// DMX floor — snap up if
|
|
235
|
-
|
|
234
|
+
// DMX floor — snap up if intentionally on (colorValue >= 3) and below floor
|
|
235
|
+
// colorValue 1-2 is HA colour wheel bleed — allow to go to 0
|
|
236
|
+
if (colorValue >= 3 && gamma < S.dmxFloor) return S.dmxFloor;
|
|
236
237
|
// Note: ceiling is handled by S.dmxLimiter in scaleToDmx above
|
|
237
238
|
return gamma;
|
|
238
239
|
}
|
package/nodes/ha-mqtt-pir.html
CHANGED
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
</div>
|
|
319
319
|
|
|
320
320
|
<div style="margin-top:16px; padding-top:8px; border-top:1px solid #444; color:#666; font-size:0.8em; text-align:right;">
|
|
321
|
-
node-red-contrib-dmx-for-ha v0.6.
|
|
321
|
+
node-red-contrib-dmx-for-ha v0.6.23
|
|
322
322
|
</div>
|
|
323
323
|
|
|
324
324
|
</script>
|
package/nodes/ha-mqtt-relay.html
CHANGED
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
</div>
|
|
302
302
|
|
|
303
303
|
<div style="margin-top:16px; padding-top:8px; border-top:1px solid #444; color:#666; font-size:0.8em; text-align:right;">
|
|
304
|
-
node-red-contrib-dmx-for-ha v0.6.
|
|
304
|
+
node-red-contrib-dmx-for-ha v0.6.23
|
|
305
305
|
</div>
|
|
306
306
|
|
|
307
307
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-dmx-for-ha",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.23",
|
|
4
4
|
"description": "DMX lighting control for Home Assistant via Node-RED and MQTT. Place a node, fill in the settings, deploy. Full HA device registry integration with RGBW/RGBWW/CCT/brightness colour modes, transitions, effects, and group control.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node-red",
|