UniversalDevicesInc / Polyglot

Polyglot Open Source
MIT License
24 stars 2 forks source link

Fixed #9 added configurable timer per node server for short and #16

Closed Einstein42 closed 8 years ago

Einstein42 commented 8 years ago

long poll. Pass the parameters to your nodeserver with the polyglot connector. Like so:

poly = PolyglotConnector()
nserver = HueNodeServer(poly, 1, 60)

Where 1 is the shortpoll and 60 is the longpoll. These are optional to perserve backwards compatibility and the defaults are unchanged.