Comments (12)
Just to update this, McLightning works with RGBW Pixels but without using the white-channel.
Simply change the pixel type in the WS2812FX init from
WS2812FX strip = WS2812FX(NUMLEDS, PIN, NEO_GRB + NEO_KHZ800);
to
WS2812FX strip = WS2812FX(NUMLEDS, PIN, NEO_GRBW + NEO_KHZ800);
from mclighting.
Have look here:
https://github.com/FabLab-Luenen/McLighting
Unfortunately it‘s a separate effort, but I still hope that it will be integrated into the „master“ at some point in time.
from mclighting.
I've been looking at that one, but as you say it's a separate effort - which isn't necessarily bad, but I would have preferred a joint effort :)
from mclighting.
I think this may be possible as the Adafruit library seems to support these, at least in RGB mode. I don't know how the W can be adressed. But maybe you can give it a try if you have a SK6812 at hand.
Regards
Tobias
from mclighting.
As you talk to RGB with each bit, you have to talk to the 4th bit too which is seperate white to rgb.
I have tested it over Homebridge with Homekit and the 4th bit, the W was lighten on. But your Arduino and index.htm can not handle with it, the brightness lower or higher or on off of the 4th bit. I did not study your complete code, just uploaded and tested ;P Need time to check it and give a test but could take time as I am not free.
Edit: Shortly found this here
Arduino Sketch for RGBW: https://github.com/adafruit/Adafruit_NeoPixel/blob/master/examples/RGBWstrandtest/RGBWstrandtest.ino
Adafruit_NeoPixel.h
https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h
void loop() {
// Some example procedures showing how to display to the pixels:
colorWipe(strip.Color(255, 0, 0), 50); // Red
colorWipe(strip.Color(0, 255, 0), 50); // Green
colorWipe(strip.Color(0, 0, 255), 50); // Blue
colorWipe(strip.Color(0, 0, 0, 255), 50); // White
whiteOverRainbow(20,75,5);
pulseWhite(5);
// fullWhite();
// delay(2000);
rainbowFade2White(3,3,1);
}
from mclighting.
Hi Tobias,
any plans to implement this?
I would be really interested for having a combined "normal" lamp with RGB options for the kids rooms
Thanks, ESP boards are on the way...;)
from mclighting.
HI @martinschki,
there is already a fork of McLighting that provides support for RGBW. Unfortunately it's not so easy to integrate into the main code, but you could give it a try: #94
Best regards
Tobias
from mclighting.
Any news on this? I think McLighthing works really well, but lacking support for RGBW is a real bummer.
Support for RGBW is the difference between it being a fun project, and then being actually useful in a home.
from mclighting.
Just to update this, McLightning works with RGBW Pixels but without using the white-channel.
Simply change the pixel type in the WS2812FX init from
WS2812FX strip = WS2812FX(NUMLEDS, PIN, NEO_GRB + NEO_KHZ800);
to
WS2812FX strip = WS2812FX(NUMLEDS, PIN, NEO_GRBW + NEO_KHZ800);
Where do I find this file that needs the change? Also, has official W support ever been fully integrated?
from mclighting.
@VeniceNerd The changes from the develop branch were merged to the main branch a bit accidentially. That messed up everything. So you should now have all RGBW changes also in the main project, but they're not complete now and not really tested so far. I think I'll have to do a bit housekeeping to clean up everything.
The mentioned lines can be found in McLighting.ino
from mclighting.
Did anything happen in the meantime in the direction of RGBW integration or housekeeping?
I think SK6812 RGBW will get more and more important and it would be great if it could be supported.
from mclighting.
Did anything happen in the meantime in the direction of RGBW integration or housekeeping?
I think SK6812 RGBW will get more and more important and it would be great if it could be supported.
Just use this fork. https://github.com/FabLab-Luenen/McLighting
from mclighting.
Related Issues (20)
- Cant Open/Import McLightingApp.aia HOT 2
- Change Hostname ? HOT 1
- Issues setting up Adafruit_MQTT configuration from wifiManager in Arduino
- Changing led pin issue? HOT 5
- E1.31 animations very laggy
- No Wifi connection although AP-Mode is quit
- What syntax should I use for domoticz HOT 1
- NUMLEDS Error HOT 1
- McLighting (esp8266) HOT 4
- No Wifi Network HOT 1
- Adding a selector switch in homebridge
- Home assistant Support
- USE_WS2812FX_UART1
- Flash Size ESP8266 2.7.4 HOT 1
- Build error HOT 3
- Start Problems ESP 8266 & WS2811
- Compile Error ... HOT 1
- connecting Octoprint (raspberry pi 4) to ESP8266 as the controller. HOT 4
- Change Wifi Network HOT 3
- Error compiling mclighting v3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mclighting.