Former-commit-id: b445484f422d93ef858d96697e3f106078ab6cb1
This commit is contained in:
johan 2013-10-11 10:08:21 +02:00
commit 2a55e1b23c
3 changed files with 11 additions and 8 deletions

View File

@ -1,10 +1,14 @@
HYPERION HYPERION
======== ========
An opensource 'AmbiLight' implementation controlled using the RaspBerry Pi running Raspbmc. Hyperion is an opensource 'AmbiLight' implementation controlled using the RaspBerry Pi running [Raspbmc](http://www.raspbmc.com). The main features of Hyperion are:
The intention is to replace BobLight. The replacement includes several 'improvements': * Low CPU load. For a led string of 50 leds the CPU usage will typically be below 1.5% on a non-overclocked Pi.
* Frame capture of screen included in deamon. This reduces the processor usages for image based led control to less than 2%. * Json interface which allows easy integration into scripts.
* Priority channel can specificy a timeout on their 'command'. This allows a client or remote control to specify a fixed color and then close the connection. * A command line utility allows easy testing and configuration of the color transforms (Transformation settings are not preserved over a restart at the moment...).
* Json IP-control interface. Easy to use interface based on json format for control over TCP/IP. * Priority channels are not coupled to a specific led data provider which means that a provider can post led data and leave without the need to maintain a connection to Hyperion. This is ideal for a remote application (like our Android app).
* HyperCon. A tool which helps generate a Hyperion configuration file.
* Generic software architecture to support new devices and new algorithms easily.
More information can be found on the [wiki](https://github.com/tvdzwan/hyperion/wiki).
The source is released under MIT-License (see http://opensource.org/licenses/MIT). The source is released under MIT-License (see http://opensource.org/licenses/MIT).

View File

@ -12,5 +12,5 @@ pre-start script
modprobe spidev modprobe spidev
end script end script
exec /usr/bin/hyperiond /etc/hyperion.config.json /home/pi/hyperiond.out exec /usr/bin/hyperiond /etc/hyperion.config.json

View File

@ -1,4 +1,3 @@
// C++ includes // C++ includes
#include <csignal> #include <csignal>
@ -66,7 +65,7 @@ int main(int argc, char** argv)
{ {
std::cout << "Missing required configuration file. Usage:" << std::endl; std::cout << "Missing required configuration file. Usage:" << std::endl;
std::cout << "hyperiond [config.file]" << std::endl; std::cout << "hyperiond [config.file]" << std::endl;
return 0; return 1;
} }
const std::string configFile = argv[1]; const std::string configFile = argv[1];