Thanks for the clarification. I’m thinking of picking one of these Philips Dimmers as it seems like a reasonable deal.
So what I have in mind is to use the dimmer switch to control a certain ‘controller’ Hue bulb, then using rules in OpenHAB I can define what happens when that ‘controller’ bulb receives a command (whether from the dimmer switch or from any OpenHAB items). Once that rue triggers than I can send the command value to any other bulb on my system or control any other things. Eg. If the Hue bulb receives command ‘40’, then set any other lights I want to 40 and switch on the TV.
Would that be a feasible approach before Iay out 25 quid for the dimmer + a bulb?
Did you see this thread? You are able to use the HTTP binding to fetch the info which button is pressed. Which can be used to trigger a rule. But you have to live with a little delay.
Philips just announced at IFA that the DimSwitch, Tap and Motion sensors will be Homekit compatible soon. Does this mean that we can expect that those devices can trigger events via the API (push status changes instead of pull/poll intervalls?). How would it otherwise work with Homekit?
So let’s see how Philips will integrate this.
Unfortunately this solution pulls the status change from the bridge in predefined intervals so there is delay.
I wonder how to get the switch press or motion sensor information pushed to openhab via the bridge.
While this wasn‘t possible in the past some months ago Philips announced integration of dim-switch and motion sensor with Apple Homekit. So I was confident that they implemented some push channel. However, maybe this only works with homekit.
Maybe someone here has further information concerning Homekit integration of dim-switch and sensor and how to use this with openhab to make the switch & sensors fully integrated devices with openhab.
Essentially it would mean that the Hue binding behaves like a HomeKit App, which has a public spec here: https://developer.apple.com/homekit/specification/. You do need an apple ID wich I don’t have. Are there any plans to use this API from the Hue binding? My gut feeling tells me that status polling could soon be a thing of the past
Are there any news on integrating Hue Dimmer Switch?
I mean, Philips has opened it to HomeKit, so it seems the Hue bridge somehow allows capturing events from the dimmers.
I know that there is a solution by polling. But this seems not to be optimal.
These dimmers are quite cheap. And I believe have because of that a certain footprint in the market.
Would be very cool if they were supported by OpenHab.
Can the dimmer switch be used too trigger rules ect in openhab and not do anything to my lights ?
I already have a hue bridge and bulbs with motion sensors running and talking too OH
I’m hoping to use the Hue Dimmer switch to enable modes like in bed and turn on fans ect
i don’t need it too control my lights as they are already automated or motion activated
I did post about it but got no response so thought i would try here
Hi,
thanks for letting us know.
I already switched to the binding as far as i could, because there is still a lack of support for the “Hue Tap” .
So there is still use for the web api calls
@apfelflo89@sihui May I ask you to send me some data (logs, information from Hue API interface about that sensor, etc.) about your “Hue Tap”. This will help to include it into the binding as I am not having access to an own device. Thanks.
@sihui@cweitkamp
not sure about links, but it´s pretty easy, just like the Dimmer Switch. The Hue Tap just gives back different values from the Dimmer Switch
Uninstalled hue binding via PaperUI, dropped test jar into my addons folder, cleared tmp and cache, restarted openHAB (2.5 Snapshot #1467 manual install on Debian 9.5):
2018-12-28 12:22:14.900 [ERROR] [org.eclipse.smarthome.binding.hue ] - FrameworkEvent ERROR - org.eclipse.smarthome.binding.hue
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.smarthome.binding.hue [191]
Unresolved requirement: Import-Package: org.eclipse.jdt.annotation; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.smarthome.config.discovery.upnp
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1614) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
2018-12-28 12:22:59.862 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/opt/openhab2/addons/org.eclipse.smarthome.binding.hue-0.11.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.smarthome.binding.hue [191]
Unresolved requirement: Import-Package: org.eclipse.jdt.annotation; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.smarthome.config.discovery.upnp
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]
openhab> bundle:list | grep hue
191 x Installed x 80 x 0.11.0.201812281054 x Eclipse SmartHome hue Binding
openhab> bundle:start 191
Error executing command: Error executing command on bundles:
Error starting bundle 191: Could not resolve module: org.eclipse.smarthome.binding.hue [191]
Unresolved requirement: Import-Package: org.eclipse.jdt.annotation; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.smarthome.config.discovery.upnp