node-red-contrib-dmx-for-ha 0.6.35 → 0.6.38

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
@@ -124,21 +124,36 @@ This package stores fixture state so it survives Node-RED restarts. A **disk con
124
124
  ### How to configure it
125
125
 
126
126
  Find your Node-RED settings file:
127
- - HA add-on: `/etc/node-red/config.js`
128
- - Standard install: `~/.node-red/settings.js`
127
+
128
+ **HA add-on** the file is inside the add-on container, not accessible via Samba. Use Studio Code Server (VS Code in HA) and open a terminal:
129
+ ```bash
130
+ code /addon_configs/a0d7b954_nodered/settings.js
131
+ ```
132
+ The `a0d7b954` is the NR add-on ID — it's the same on every HA install.
133
+
134
+ **Standard install:**
135
+ ```
136
+ ~/.node-red/settings.js
137
+ ```
129
138
 
130
139
  Add or update the `contextStorage` section:
131
140
 
132
141
  ```javascript
133
142
  contextStorage: {
134
143
  default: { module: 'memory' },
135
- disk_values: { module: 'localfilesystem' },
144
+ disk_values: {
145
+ module: 'localfilesystem',
146
+ config: {
147
+ dir: '/config/node-red/context',
148
+ flushInterval: 5
149
+ }
150
+ },
136
151
  },
137
152
  ```
138
153
 
139
154
  Restart Node-RED. Verify in the startup log:
140
155
  ```
141
- Context store : 'disk_values' [module=localfilesystem]
156
+ Context store : 'disk_values' [module=localfilesystem]
142
157
  ```
143
158
 
144
159
  ---
@@ -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 &nbsp;v0.6.35
316
+ node-red-contrib-dmx-for-ha &nbsp;v0.6.38
317
317
  </div>
318
318
 
319
319
  </script>
@@ -196,8 +196,6 @@
196
196
  ];
197
197
 
198
198
  // Populate dropdowns
199
- const node = this;
200
-
201
199
  const areaEl = $('#node-input-area');
202
200
  areaEl.empty();
203
201
  areas.forEach(function (a) {
@@ -395,7 +393,7 @@
395
393
  </div>
396
394
 
397
395
  <div style="margin-top:16px; padding-top:8px; border-top:1px solid #444; color:#666; font-size:0.8em; text-align:right;">
398
- node-red-contrib-dmx-for-ha &nbsp;v0.6.35
396
+ node-red-contrib-dmx-for-ha &nbsp;v0.6.38
399
397
  </div>
400
398
 
401
399
  </script>
@@ -160,7 +160,7 @@
160
160
  // DMX controller
161
161
  controllerNum: { value: '1' },
162
162
  universe: { value: '1' },
163
- controllerProfile: { value: 'etherten_v1' },
163
+ controllerProfile: { value: 'etherten_v2' },
164
164
  // Options
165
165
  haIcon: { value: 'mdi:lightbulb' },
166
166
  showEffects: { value: true },
@@ -596,7 +596,7 @@
596
596
  </div>
597
597
 
598
598
  <div style="margin-top:16px; padding-top:8px; border-top:1px solid #444; color:#666; font-size:0.8em; text-align:right;">
599
- node-red-contrib-dmx-for-ha &nbsp;v0.6.35
599
+ node-red-contrib-dmx-for-ha &nbsp;v0.6.38
600
600
  </div>
601
601
 
602
602
  </script>
@@ -148,7 +148,7 @@ module.exports = function (RED) {
148
148
  },
149
149
  controllerNum: config.controllerNum || '1',
150
150
  universe: config.universe || '1',
151
- controllerProfile: config.controllerProfile || 'etherten_v1',
151
+ controllerProfile: config.controllerProfile || 'etherten_v2',
152
152
  haIcon: config.haIcon || 'mdi:lightbulb',
153
153
  showEffects: config.showEffects !== false,
154
154
  transitions: config.transitions !== false,
@@ -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 &nbsp;v0.6.35
321
+ node-red-contrib-dmx-for-ha &nbsp;v0.6.38
322
322
  </div>
323
323
 
324
324
  </script>
@@ -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 &nbsp;v0.6.35
304
+ node-red-contrib-dmx-for-ha &nbsp;v0.6.38
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.35",
3
+ "version": "0.6.38",
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",