Comments (20)
Yeah, I'll admit it is not the most stable. It helps a bit if you increase the polling interval to 2000ms or something, but of course this means more latency. The ESP doesn't like sending requests all the time somehow. But currently this is the only possible way to sync to hue lights :)
from wled.
hello again @Aircoookie, @mariusmotea has several sketch to emulate huestrip and huelamps for the diyHue emulator which also has support for hue entertainment.
the next sketch has the option to define the amount of lights to emulate by a led strip, and also define from which led the following light begins:
https://github.com/diyhue/Lights/blob/master/Arduino/WS2812BHueRing/WS2812BHueRing.ino
while the following can define the amount of lights to emulate per LED strip:
https://github.com/diyhue/Lights/blob/master/Arduino/WS2812BHueRing/WS2812BHueRing.ino
with those sketchs you can have direct support from diyHue which can be controlled by an Original Hue Bridge and extend the lights by wifi without the need to add ZigBee. The emulator can be installed on Raspberry, linux, Docker, OpenWrt and I think I saw on YouTube a video where it was running on Windows. Any additional info can enter the chat in Slack:
https://slackinvite.squishedmooo.com/
from wled.
Hey,
it's not your Hue emulators fault. WLED can't emulate a Hue lamp, all it does is poll the state of an official hue lamp every few seconds and set itself to the same color. Try adding a virtual hue light in your hue emulator and then, in wled sync settings, tick the checkbox after "poll hue light 1 every X ms". You can thrn change the wled light by changing the virtual hue light in the hue app. However I don't think this would make sense if you just use WLED, it is intended to sync WLED to some other real lights :)
from wled.
oh, thanks Aircoookie for clarification. Now I see how hue integration in wled works. It would be nice to have also option in Wled to emulate Hue lamp if possible in future :)
from wled.
I know, I'd love that feature! I'll add it as soon as the hue protocol supports adding "non-Zigbee" lights! (which it currently doesn't, unfortunately)
from wled.
great 👍
I currently tested color cloning from hue bulb (emulated). It mostly works, but momentarily esp reboots (just wanted to let you know).
from wled.
Hello Aircoookie and thanks for your excellent work I also use the @mariusmotea emulator and you could implement your sketch to add direct support to the emulator
https://github.com/mariusmotea/diyHue/blob/master/Lights/Arduino/WS2812BHueStrip/WS2812BHueStrip.ino
from wled.
Hi, I know this issue is a bit old, but I've found an older project I've used till last weekend I've found yours. It's the esp hue emulator which is controlled by any third party app for the hue system (the ones that I've used so far worked quite well). Please have a look at this and eventually you could implement this?
https://github.com/probonopd/ESP8266HueEmulator
from wled.
In fact I'm already using similar code that was inspired by that project for the Alexa function! Integrating the emulator into WLED would add compatibility with many hue clients, which would be super awesome, but it is quite complex and not a library, so I'd need to do some restructuring to make it compatible and I'm afraid it might have a high performance impact if I add too many new interfaces. Still, I'll keep this in mind and will consider implementing it sometime soon!
from wled.
or perhaps add only the hue entertainment protocol
from wled.
from wled.
This is the link to the last state that worked for diyHue which can serve as something
https://github.com/diyhue/Lights/blob/master/Arduino/wled00/wled06_usermod.ino
from wled.
And @alexyao2015 has added a protocol for ESPHome that can serve as a guide, regards
https://github.com/diyhue/diyHue/commits/master/BridgeEmulator/protocols/esphome.py
from wled.
+1
maybe this helps: https://github.com/linuzer/Arduino-HueAPI (another DIYhue arduino implementation with auto discovery)
from wled.
I can sync with Hue Bridge but not with Hue Emulator, I clicked activate on Huelinkbuton page and entered the correct number of lights and checked all box.
from wled.
This thread should be closed since diyHue makes discovery directly, it is not necessary to make any changes in wled
from wled.
What you should consider is that diyHue is in a protocol transition and the branch that works best is beta but I recommend using docker
from wled.
thank you! i am using docker on raspberry 4B, i have 1 Hue brigde v2 and 1 Hue emulator, i want use wled to clone philip hue light or diyhue light, wled is being used as a ambilight.
from wled.
I think this could be implemented well as a usermod, adapted from this sketch: https://github.com/diyhue/Lights/blob/master/ESP8266/Hue_Gradient_Lightstrip_SK6812/Hue_Gradient_Lightstrip_SK6812.ino
from wled.
The support in diyhue is complete, it is not necessary. There is already a wled protocol in diyhue.
https://github.com/diyhue/diyHue/blob/master/BridgeEmulator/lights/protocols/wled.py
from wled.
Related Issues (20)
- two wire cc cw with swapped polarity HOT 16
- Can add more than 10 ddp lights to esp32 but fails to work correctly after HOT 3
- many segment's one relay HOT 2
- Dynamic UI for LED settings HOT 6
- Remote WebSocket Connection HOT 6
- Crashes when leds length is 3 HOT 10
- WLED 0.15 seven_segment_display_reloaded crashes ESP32-C3 HOT 9
- WLED 0.15.0-b4 - 3rd LED output -> greyed out options HOT 2
- Add Support for Relaying External Data Line Input HOT 5
- Athom LB01 RGB+CW 15W Crashing when turned on. HOT 1
- AP always defaults back to WLED_000000 (athom wled 0.13.0-b6) HOT 2
- Correct mA/LED settings for WS2805 (RGB+WW+CW)? HOT 3
- WS2805 RGBCCT HOT 1
- Support more than 1 Wiz remotes
- Reset Segments does not respect 'Make a segment for each output'
- Unable to add device to Home Assistant HOT 1
- Soap Effect Malfunctions if there are Gaps in LED Matrix HOT 1
- RGBW via DDP from XLights HOT 3
- Cannot compile anymore HOT 5
- Static IP on Ethernet Boards
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 wled.