This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I've been trying to figure out how to get my Sengled Color Plus bulbs to sync color, color temp, brightness, and state. TrendSetter is great for state and level, with very little delay and near perfect execution success, but lacks options for color and color-temp. I've tried to create a WebCore piston that keep all of the variables in-sync, but most of what I've tried ends up creating some weird loops. The closest I've gotten so far is this piston:
Since it still seems to work with TrendSetter for state and level, i opted to keep state out of the piston and will likely be removing level after i get it optimized, but for now it is nice to test different changes on the level statement since it is more straightforard than color. Level and color temp work very well, but color seems to be an issue. I think it is becasue color is a funtion of "color", "hue", and "saturation". Sometimes the color sync works, but always with a substatial delay (as with level and color-temp as compared to the delay in Trendsetter), often it jumps through multiple colors before is lands in-sync, and frequently just fails.
Any ideas? I appreciate any help or insight. I know there are a lot of small tweaks in advanced options within WebCore that can make a huge difference (Async? Should a hex color be a 'dynamic variable'? 'string'?). Also, im wondering it making the statements run in a loop until complete/true would make things better.
Thanks.
Subreddit
Post Details
- Posted
- 6 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/homeautomat...