neilenns / node-red-contrib-wled2

NodeRed node for controlling WLED
MIT License
19 stars 8 forks source link

Add support for segments #74

Closed neilenns closed 3 years ago

neilenns commented 3 years ago

Fixes #61. Fixed #73.

Description of changes

Check for a new seg attribute on the payload and if present use that for all of the segment information that gets passed along to WLED. If it isn't present then the node behaves like it used to.

Checklist

If your change touches anything under src or the README.md file these items must be done:

neilenns commented 3 years ago

@daredoes since you recently touched this code it gave me this idea for how to actually support segments via the incoming payload. Would you mind taking a peek and see if you agree with my logic here?

neilenns commented 3 years ago

Thank you! Merged and released as v2.2.0.