Code Monkey home page Code Monkey logo

Comments (2)

ebaauw avatar ebaauw commented on July 22, 2024

Hi @jeremyquinn

Yes, you should be able to do this. I prefer to keep the rules concerning my lights in the hue bridge (for speed and for reliability), but I do operate my Eve Energy plugs and my Sonos speakers this way. (The Sonos speakers through another homebridge plugin that I haven't published yet).

I'm afraid this is an issue with homekit itself. If the message appears in the log, homebridge-hue has recognised that you pressed the tap and sent the change to homekit. You could double-check that the Output State value changes in Eve to be sure that the change has been received by homekit (tip: see the Types tab - use Edit to include Output State, Last Updated, etc.).

I assume you're running iOS 10 (as you mention the Apple Home app) and you have setup an AppleTV or iPad as homekit hub? I reluctantly upgraded my AppleTV to a Gen 4 model, as my old Gen 3 model seemed to have a hard time coping with my homekit rules.

I find that homekit doesn't react well to changes to its rules (or scenes or room assignments). Sometimes it ignores them, or even reverts them. The changes are made to the homekit database on your iOS device and then sync'ed over iCloud with your other iOS devices and homekit hub. This process is a bit flaky in my experience, and I suspect the rules don't end up correctly in the homekit hub.

What typically works for me to remedy rules not firing where they should:

  • Disable all rules on one iOS device;
  • Check that these changes are sync'ed over iCloud: your other devices should show all the rules as disabled as well. Typically this takes multiple minutes... As in many...
  • Enable all rules on one iOS device.
  • Check that your other devices show all the rules as enabled. Unfortunately, there's no way to check the rules on your AppleTV, but if you have an iPad, you could (temporarily) set it up as homebridge hub.
  • Now (hopefully) the rules fire.

Please let me know if this works for you.
Erik.

from homebridge-hue.

jeremyquinn avatar jeremyquinn commented on July 22, 2024

Thanks for your helpful response, Erik.
Yes, I see the output state change in Eve etc.
Yes, running iOS 10 and Gen 4 AppleTV.
I went through your procedure to re-sync the hub a few times. The rules maybe worked once or twice, then always began failing again. I did not try using an iPad as the hub.
I am not sure I have enough useful info to post a Radar about this, any suggestions?
Meanwhile I reluctantly reverted to configuring the switches on the Hue hub. You are right, it is faster.
Many thanks
Jeremy

from homebridge-hue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.