tvdzwan/hyperion — pull request #63 by bbilger (2014-03-04 20:23:47+00:00)
Title: Add Support for Tinkerforge's LED Strip

This adds support for Tinkerforge's[1] LED Strip[2].

The bricklet used to control the LED strip support WS2801 devices, only, so you could connect that device differently, too. Using Tinkerforge hardware, however, has the advantage that hyperion needn't run on the same machine the strip is connected to, they plan to support other devices than WS2801, ...

Explicit dependencies: Requires libtinkerforge[3]. Support must be enabled explicitly by the newly introduced switch "ENABLE_TINKERFORGE" (-DENABLE_TINKERFORGE=ON).

Implicit dependencies: the brick daemon[4] must be running when launching hyperion with tinkerforge config, else no connection can be established.

Example for device configuration:
"device" :
{
"name" : "SomeName",
"type" : "tinkerforge", // new type
"output" : "127.0.0.1", // ip address of the machine, the brick daemon is running on and the master brick is connected to
"port" : 4223, // port the brick daemon is listening to
"uid" : "jIQ", // uid of the LED strip bricklet
"rate" : 50, // frame duration
"colorOrder" : "rbg"
},

[1]: http://www.tinkerforge.com
[2]: http://www.tinkerforge.com/en/doc/Hardware/Bricklets/LED_Strip.html
[3]: https://github.com/bbilger/libtinkerforge
[4]: http://www.tinkerforge.com/en/doc/Software/Brickd.html