more G-Labs products

Author Topic: Use Hue Dimmer Switch to trigger HG scenes?  (Read 1488 times)

December 09, 2015, 10:45:40 PM
Read 1488 times

bbrg548

  • *
  • Information
  • Newbie
  • Posts: 3
I have a mixed system of Z-wave and Philipps Hue devices, running off a Raspberry Pi 2 with an Aeon Z-Stick and the Hue Bridge. I recently acquired one of the new(?) Hue Dimmer switches (http://www2.meethue.com/en-us/productdetail/philips-hue-dimmer-switch, and would like to use it as a remote to trigger HG scenes that control both Hue and Z-wave devices. I can find the switch using the Hue API debugger, but I can't figure out how to get those events to HomeGenie. Can anyone point me in the right direction?

December 09, 2015, 11:00:03 PM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
If you can get HG to see status changes, then it's simply a matter of watching for changes and triggering events.  I use C# for this but I know it can be done with wizard scripts as well for more basic operations.  I have not used any device other than X10 and those just send a PLC or RF signal that HG can see and work with directly.

December 10, 2015, 08:57:44 AM
Reply #2

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
I'm not sure of this, but I think the only way is to try to intercept the ZigBee commands that are sent from the Hue Dimmer. But as far as I know HomeGenie doesn't support ZigBee (And Philips Hue use only the ZigBee Light Link protocol)

You could try polling the Bridge from HomeGenie, but as you don't want to flood the network there will be a delay between pressing the switch and HomeGenie receiving the command.

It would be easier just to get a zwave wall switch, it costs a bit more but you'll have better integration with HG.

December 10, 2015, 05:54:41 PM
Reply #3

bbrg548

  • *
  • Information
  • Newbie
  • Posts: 3
You could try polling the Bridge from HomeGenie, but as you don't want to flood the network there will be a delay between pressing the switch and HomeGenie receiving the command.

It would be easier just to get a zwave wall switch, it costs a bit more but you'll have better integration with HG.
I was kind of afraid of that, but I'm hoping someone knows a way to get the Bridge to push the commands over the UPnP link, maybe to a virtual device in HG. It's a nice switch, and it doesn't look like there's anything really comparable in Z-wave. Plus it has the advantage of being readily available in local stores at a reasonable price.

December 10, 2015, 07:06:43 PM
Reply #4

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
Quote
Plus it has the advantage of being readily available in local stores at a reasonable price.
I agree, it would be great if we could get them to work with HG, much cheaper than the z-wave option.

I've tried searching for a way to intercept the signal from a hue dimmer switch but can;t find anything. Hopefully someone else has some ideas.