Go to file
penfold42 deed8066b0 Piblaster fix (#614)
* Removed -HUP so the default -TERM signal is sent instead.
- hyperiond only listens for TERM and INT. HUP is often used to get an exe to reread its config

Changed pgrep to add '-x' so it wont partial match on the exe name.
- I have multiple instances with multiple hyperiond-instance1 names
- this ensures the service script only kills the right process

* reversing errant change to hyperion.systemd.sh

* Experimental changes to piblaster code to work how i think it should

It is now assumed that the PWM pins in groups of 3 correspond to RGB channels of the led.
                "assignment"       : "rgbrgbrgb",
Would result in:
//Channel number    GPIO number   Led channel
//      0               4             0 red
//      1              17             0 green
//      2              18             0 blue
//      4              27             1 red
//      5              21             1 green
//      6              22             1 blue
//      7              23             2 red
//      8              24             2 green
//      9              25             2 blue

* Ammend pwm channel mapping comments to match the code

* 1st cut of the new more flexible piblaster pin mapping support

it works but is still rough

* removed old "assignment" handling
- prints an error messaage if found and terminates

fixed the switchoff method

* removing iPins hard coded list of valid GPIO pins

* removed iPins array for switchOff function

* code cleanups

input validation

* Handle catching (and ignoring) SIGPIPE.
You can now kill and restart pi-blaster daemon and hyperiond will gracefully recover

* added a binary for testing

* Added sample config and my modified pi-blaster version to support more GPIOs

* moved hyperiond

* removed testing binaries

move sample configuration to the configs directory

* re enabled device config display

* removed sample configuration


Former-commit-id: 95e4d4ea2fb7cb5439e8cd597883a638da61a574
2016-04-29 16:00:33 +02:00
bin amlogic docu update 2016-04-28 14:46:53 +02:00
cmake add an auto generated version id 2016-03-10 06:53:21 +01:00
config cleanup 2016-04-26 12:56:16 +02:00
dependencies updating reference to rpi_ws281x 2016-03-14 10:02:10 +11:00
doc preperation for next release and cleanup 2016-04-26 12:27:59 +02:00
effects Merge remote-tracking branch 'refs/remotes/tvdzwan/master' 2016-03-09 19:25:04 +01:00
include get current state (active Effects) over JSON Interface (#608) 2016-04-24 17:07:31 +02:00
libsrc Piblaster fix (#614) 2016-04-29 16:00:33 +02:00
src amlogic docu update 2016-04-28 14:46:53 +02:00
test fix compile on raspi 2016-02-24 23:34:47 +01:00
.gitignore Update .gitignore 2016-03-10 07:58:30 +01:00
.gitmodules Add new WS281x driver 2016-03-08 20:41:13 -08:00
CMakeLists.txt Merge remote-tracking branch 'upstream/master/master' into hyperion_version_id 2016-03-13 08:04:49 +01:00
CompileHowto.txt amlogic docu update 2016-04-28 14:46:53 +02:00
CrossCompileHowto.txt Update CrossCompileHowTo.txt 2016-03-13 02:27:12 +01:00
HyperionConfig.h.in Merge remote-tracking branch 'upstream/master/master' into hyperion_version_id 2016-03-13 08:04:49 +01:00
ISSUE_TEMPLATE preperation for next release and cleanup 2016-04-26 12:27:59 +02:00
PULL_REQUEST_TEMPLATE preperation for next release and cleanup 2016-04-26 12:27:59 +02:00
README.md preperation for next release and cleanup 2016-04-26 12:27:59 +02:00
Toolchain-imx6.cmake Switched flag from soft to hard float 2016-02-23 21:17:03 +01:00
Toolchain-rpi.cmake Update install/update script 2015-09-09 22:21:51 +02:00
Toolchain-x32.cmake Update install/update script 2015-09-09 22:21:51 +02:00

HYPERION

Hyperion is an opensource 'AmbiLight' implementation supported by many devices. 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.
  • Kodi-checker which checks the playing status of Kodi and decides whether or not to capture the screen.
  • Black border detector.
  • A scriptable effect engine.
  • Generic software architecture to support new devices and new algorithms easily.

More information can be found on the wiki or the Hyperion webpage/forum.

The source is released under MIT-License (see http://opensource.org/licenses/MIT).