Releases: neilenns/node-red-contrib-wled2
Releases · neilenns/node-red-contrib-wled2
Address a minor security vulnerability
Support more presets
Adds supports for up to 65535 presets to match the support in WLED 0.11.
Support presets
Presets can now be selected in the UI or passed in via the preset
property on the payload. If a preset is selected it overrides all other settings.
Support segments via payload
- Segments can now be set by passing in
seg
as part of the payload following the JSON format described in the WLED JSON API documentation for segments. Resolves issue 61. - Incoming messages without a payload no longer cause an unhandled exception. Resolves issue 73.
Fix issue with multi-segment configurations
Adjust how messages are sent to WLED so all segments are affected instead of just the first. Thanks to Daniel Evans for the bug fix. Resolves issue 72.
Address security vulnerability in dependency
Updates to the latest version of node-fetch to address a security vulnerability.
Enable setting brightness
Brightness can now be set on the LEDs.
Resolve bug with toggle and off states
v2.1.1 Merge branch 'main' of https://github.com/danecreekphotography/node-r…
Toggle support for LED state
Breaking changes
- Toggling the lights on/off based on current LED state is now supported. This is done with the new
state
property which replaces theon
property. Valid values areon
,off
, andtoggle
. Thedelay
feature is supported for toggling as well and will correctly play the effect for the specified duration before toggling the light state. Resolves issue 52.