huey icon indicating copy to clipboard operation
huey copied to clipboard

Added a new Bridge class

Open falloffalog opened this issue 11 years ago • 3 comments

Hi! I added a Bridge class in order to view/change the Hue Bridge properties, and to programmatically "push" the link-button remotely. It needs unit-test coverage, but works well so far in my own usage. I added simple usage-documentation to your readme. Thanks for your awesome gem!

falloffalog avatar Jun 06 '14 20:06 falloffalog

Firstly this is great!

May I suggest adding a single method just for pushing the link button/linking:

def link!
  linkbutton = true
  save
end

That way its a simpler interface to auto linking..

robert2d avatar Feb 13 '15 02:02 robert2d

Thanks for the suggestion robert2d; I added this method, as well as updated the bridge attributes since the Hue team has added quite a lot to the API (latest v1.5 I think).

falloffalog avatar Feb 13 '15 19:02 falloffalog

Any chance of this getting merged :bulb:

robert2d avatar May 13 '15 11:05 robert2d