From 0963092b50f73b95c333127f8552755df4936069 Mon Sep 17 00:00:00 2001 From: poljvd Date: Thu, 10 Oct 2013 09:51:18 +0200 Subject: [PATCH 1/4] Change return value when no config file present Former-commit-id: b560663960303b01466fb36f2e442926aa3b63b4 --- src/hyperiond/hyperiond.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hyperiond/hyperiond.cpp b/src/hyperiond/hyperiond.cpp index 71fc9a84..e21752bd 100644 --- a/src/hyperiond/hyperiond.cpp +++ b/src/hyperiond/hyperiond.cpp @@ -1,4 +1,3 @@ - // C++ includes #include @@ -66,7 +65,7 @@ int main(int argc, char** argv) { std::cout << "Missing required configuration file. Usage:" << std::endl; std::cout << "hyperiond [config.file]" << std::endl; - return 0; + return 1; } const std::string configFile = argv[1]; From 2cf103aed5c9b2070d8fe562dd73114c2efaeac6 Mon Sep 17 00:00:00 2001 From: poljvd Date: Thu, 10 Oct 2013 09:52:30 +0200 Subject: [PATCH 2/4] remove additional commandline argument Former-commit-id: 12245d8b5670dbdffd9945665fbe338e99799cc8 --- bin/hyperion.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hyperion.conf b/bin/hyperion.conf index 773a3c94..a132e1c0 100644 --- a/bin/hyperion.conf +++ b/bin/hyperion.conf @@ -12,5 +12,5 @@ pre-start script modprobe spidev end script -exec /usr/bin/hyperiond /etc/hyperion.config.json /home/pi/hyperiond.out +exec /usr/bin/hyperiond /etc/hyperion.config.json From 8813e7e50fef0ff9d15e1cd7e6708e7563943d5f Mon Sep 17 00:00:00 2001 From: poljvd Date: Thu, 10 Oct 2013 09:55:44 +0200 Subject: [PATCH 3/4] Update readme Former-commit-id: ac30989b4c20cc2074629a14d43b844cc5bd573f --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 90cd0086..e67be3b7 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,14 @@ HYPERION ======== -An opensource 'AmbiLight' implementation controlled using the RaspBerry Pi running Raspbmc. -The intention is to replace BobLight. The replacement includes several 'improvements': -* Frame capture of screen included in deamon. This reduces the processor usages for image based led control to less than 2%. -* 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. -* Json IP-control interface. Easy to use interface based on json format for control over TCP/IP. +Hyperion is an opensource 'AmbiLight' implementation controlled using the RaspBerry Pi running [Raspbmc](http://www.raspbmc.com). The main features of Hyperion are: +* Low CPU load. For a led string of 50 leds the CPU usage will typically be below 1.5% on a non-overclocked Pi. +* Json interface which allows easy integration into scripts. +* A command line utility allows easy testing and configuration of the color transforms (Transformation settings are not preserved over a restart at the moment...). +* 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). From 4ed2bf634375188bb1b0868689a455aec6333d1f Mon Sep 17 00:00:00 2001 From: poljvd Date: Thu, 10 Oct 2013 09:55:58 +0200 Subject: [PATCH 4/4] Update README.md Former-commit-id: 6e7751f95f8d28e6877a869d46cc09a94be412e5 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e67be3b7..1dcbd8dd 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,6 @@ Hyperion is an opensource 'AmbiLight' implementation controlled using the RaspBe * 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) +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).