0

Using Philips Hue Dimmer Switch to send commands in a project

Iain Brew 6 years ago in Ideas 0

I am curious if anyone has successfully implemented the following. I have a Philips Hue bridge and a Philips Dimmer Switch. This switch has four buttons on it which send commands to the bridge to then trigger lighting presets etc. The Hue system has an open API which allows you to query what button has been pressed on the dimmer switch. 

Effectively, instead of having the dimmer switch buttons controlling a light, I want to read its status (feedback) and have it send a command to a driver instead. For example:

Press Dimmer Switch 1 = send command 'x' to driver 'y'

Press Dimmer Switch 2 = send command 'a' to driver 'b' and send number '8' to token 'z'

and so on...

If anyone has any examples of this working or could advise a cleaner solution for inexpensive wall mountable buttons to trigger feedbacks I would be very appreciative!