Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

1
Any WebCore/ST guru's able to help me with a way to sync RGB-Tunable White Bulbs?
Post Flair (click to view more posts with a particular flair)
Post Body

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:

https://imgur.com/a/rDBJASX

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.

Author
Account Strength
90%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,061
Link Karma
249
Comment Karma
794
Profile updated: 4 days ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago