hobbyquaker / node-red-contrib-wled

Node-RED nodes for WLED
MIT License
19 stars 0 forks source link

Preset not working #2

Open evazzoler opened 10 months ago

evazzoler commented 10 months ago

Hi, passing a number as string for changing the preset is currently not working. Am I doing something wrong or is the docu wrong?

giannisj5 commented 6 months ago

i have the same issue, presets are not working nor the effects

msg : error "TypeError: Cannot read properties of undefined (reading 'includes')"

parish99 commented 5 months ago

I am getting the same error, but things still function and the light is set to the preset that is sent.

TypeError: Cannot read properties of undefined (reading 'includes') at WledNode._inputCallback (/config/node_modules/node-red-contrib-wled/nodes/wled.js:41:43) at /opt/node_modules/@node-red/runtime/lib/nodes/Node.js:214:26 at Object.trigger (/opt/node_modules/@node-red/util/lib/hooks.js:166:13) at WledNode.Node._emitInput (/opt/node_modules/@node-red/runtime/lib/nodes/Node.js:206:11) at WledNode.Node.emit (/opt/node_modules/@node-red/runtime/lib/nodes/Node.js:190:25) at WledNode.Node.receive (/opt/node_modules/@node-red/runtime/lib/nodes/Node.js:499:10) at deliverMessageToDestination (/opt/node_modules/@node-red/runtime/lib/flows/Flow.js:800:40) at Immediate._onImmediate (/opt/node_modules/@node-red/runtime/lib/flows/Flow.js:816:21) at processImmediate (node:internal/timers:476:21)