ioBroker McLighting Adapter
npm install iobroker.mclighting!Logo
!Number of Installations !Number of Installations 





If you want to use RGBW Leds (like SK6812) connected to the ESP8266, you should just this fork: McLightingRGBW and select in the adapter config RGBW.
Where $3
Set speed.
Where $3
Set mode.
Where
- off (Turn all LEDs off.)
- all (Turn all LEDs on in the given or previously set color.)
- wipe (Turn all LEDs on in the given or previously set color, with wipe effect.)
- rainbow (Starts rainbow effect.)
- rainbowCycle (Starts rainbow cycle effect.)
- theaterchase (Starts theaterchase effect in the given or previously set color.)
- theaterchaseRainbow (Starts theaterchase effect with changing colors.)
- tv (Starts TV simulator.)$3
Light multiple LEDs in the given colors.
```
+[numled][hexrgb(w)]+[numled][hexrgb(w)]+[numled][hexrgb(w)] [...] or
[numled][hexrgb(w)],[numled][hexrgb(w)],[numled][hexrgb(w)],[...]
`
Where
Where
Example: +09ffffff+19ff0000 OR 09ffffff,19ff0000$3
Set default color of the lamp.
Where
If active mode 0 (Static) - Set default color of the lamp and light all LEDs in that color.$3
Set default color of the lamp.
Where
If active mode 0 (Static) - Set default color of the lamp and light all LEDs in that color.$3
Set default color of the lamp.
Where
If active mode 0 (Static) - Set default color of the lamp and light all LEDs in that color.$3
List of avilable animation modes as array.
Result:
`
[
{
"mode": 0,
"name": "Static"
},
{
"mode": 1,
"name": "Blink"
},
{
"mode": 2,
"name": "Breath"
},
...
]
`$3
Light multiple LED ranges in the given colors.
``
R[rangestart_led][rangeend_led][hexrgb(w)]R[rangestart_led][rangeend_led][hexrgb(w)]R[rangestart_led][rangeend_led][hexrgb(w)] [...] or
[rangestart_led][rangeend_led][hexrgb(w)],[rangestart_led][rangeend_led][hexrgb(w)],[rangestart_led][rangeend_led][hexrgb(w)],[...]
Where
Where
Where
Can be repeated multiple times.
Example: R0009ffffffR1019ff0000 OR 0009ffffff,1019ff0000 lights the first 10 LEDs white and the next 10 red$3
Set default color of the lamp and light all LEDs in that color.
Where $3
Light single LEDs in the given color.
Where
Where $3
Set animation mode.
Where $3
Current name fx_mode
Changelog
$3
- (mcm1957) Adapter requires node.js >= 18 and js-controller >= 5 now
- (mcm1957) Dependencies have been updated
The MIT License (MIT)
Copyright (c) 2024 iobroker-community-adapters
Copyright (c) 2020 instalator
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included incd \
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.