-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for badly behaving RGB smart lights with HomeKit color picker #17
Open
godofcpu
wants to merge
8
commits into
danTapps:master
Choose a base branch
from
godofcpu:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 10, 2020
-
Added 3 optional settings to the config that help tremendously with m…
…y inovelli smartlights to stop sending mulitple commands to set the color or level. By default when either the level or color is changed, homekit will send an on and setLevel command or a setHue and setSaturation command. This can cause the light to flicker as it cycles between both settings. In the worse case scenario, it appears that homekit will get confused and switch the hue and saturation back and forth and not set the combined command values when sending both as invidual comamnds. This changes the plugin to look to see if two compatible commands are sent in very close proximity of each other. It delays sending the first one until the second is recieved, then sends a setColor command, if a second command isn't recieved within 50ms (configurable) or so, it sends just the first command by itself. If none of the config values are specified, the default behavior isn't changed. New config values are below: "use_set_color": true, // This turns on setColor processing and will combine setHue and setSaturation commands that are recieved within dedupe_command_delay_ms of each other "dedupe_command_delay_ms": 10, // The amount of time to wait for a second command "squash_on_commands": ["setLevel"] // This is a list of commands that receive an 'on' command before a setLevel, this will squash the on command and just send a setLevel command
Chuck Holbrook committedOct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 465a4b7 - Browse repository at this point
Copy the full SHA 465a4b7View commit details -
Chuck Holbrook committed
Oct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 2ee7cf8 - Browse repository at this point
Copy the full SHA 2ee7cf8View commit details -
Chuck Holbrook committed
Oct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for e925212 - Browse repository at this point
Copy the full SHA e925212View commit details -
Chuck Holbrook committed
Oct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for e993547 - Browse repository at this point
Copy the full SHA e993547View commit details -
Chuck Holbrook committed
Oct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 5b6c052 - Browse repository at this point
Copy the full SHA 5b6c052View commit details -
Added dedupe_change_events_ms config value, updated readme.md
Chuck Holbrook committedOct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for a468b77 - Browse repository at this point
Copy the full SHA a468b77View commit details -
Fix to update change events for http calls too
Chuck Holbrook committedOct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for a592801 - Browse repository at this point
Copy the full SHA a592801View commit details -
Chuck Holbrook committed
Oct 10, 2020 Configuration menu - View commit details
-
Copy full SHA for caa405f - Browse repository at this point
Copy the full SHA caa405fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.