eqsOne wrote:Hey Willem,
so you added a color fade, tried your code and although I have no issues with changing color or brightness once it runs, I noticed the esp resets after loading up the sketch.
If I set an initial color, it does show up with a fade-in but like a bit off. If you try a ‚080100‘ for example, green has to go to its lowest ‚01‘ value - now with your sketch green just stays off.
So yes, seems you have it on a way but it quite needs some more debugging indeed.
Hi!
So i got everything working right now. The problem was the config file in homebridge, i had to change it like this:
"brightness": {
"status": "http://xxx.xxx.x.xx:xx/bright",
"url": "http://xxx.xxx.x.xx:xx/set/bright/%s"
},
"color": {
"status": "http://xxx.xxx.x.xx:xx/set",
"url": "http://xxx.xxx.x.xx:xx/set/%s",
"brightness": true
}
Right now i still have one problem. When I re-open the Home app the LEDstrip turns off so i have to set the brigtness and color all over again.
Grz,
Willem