Skip to content
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

State changes are not propagated to iOS devices #14

Open
blubber opened this issue Apr 2, 2016 · 5 comments
Open

State changes are not propagated to iOS devices #14

blubber opened this issue Apr 2, 2016 · 5 comments

Comments

@blubber
Copy link
Contributor

blubber commented Apr 2, 2016

When the bulbs state is changed from another iOS device or the LIFX app the new state is not reflected in HomeKit on iOS devices. As an example, the event handler for common.EventUpdateColor calls:

hkLight.light.SetHue(hue)
hkLight.light.SetSaturation(saturation)
hkLight.light.SetBrightness(int(brightness))

which updates the bulbs state in HomeKit, but the change is not reflected on iOS devices. Not sure if this is a bug in hklifx or HomeControl.

@blubber
Copy link
Contributor Author

blubber commented Apr 6, 2016

After some more investigating I found out that changes made on iOS devices are reflected on other iOS devices. The only changes that are not reflected in HomeKit are changes made from the LIFX app (or other apps that use the LAN protocol.)

I made a small program that just dumps all events to stdout using golifx, and it seems that the power events aren't reliably received by golifx, at least not when I have 4 bulbs online. With one bulb online it seems to work, although this result preliminary.

@pdf
Copy link

pdf commented Aug 6, 2016

@blubber if you suspect an issue with golifx, please file an issue there. I've just released v0.5.1 of golifx, so you may want to perform your tests against that.

@blubber
Copy link
Contributor Author

blubber commented Aug 10, 2016

At the time I wasn't quite sure about the cause of the problem, but I might give it another go.

@eliransapir
Copy link

Was this ever fixed?

@brutella
Copy link
Owner

Anyone still has this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants