hyperion.ng/libsrc/leddevice
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
..
CMakeLists.txt renamed the "Test" device to be "File" 2016-03-23 21:12:34 +11:00
LedDeviceAdalight.cpp Added a possible delay after connecting an Adalight device 2014-05-04 11:31:13 +02:00
LedDeviceAdalight.h Fixed adalight typos 2015-11-08 17:30:01 +01:00
LedDeviceAdalightApa102.cpp Performance fixes for adalightapa102 2015-11-28 22:58:58 +01:00
LedDeviceAdalightApa102.h Performance fixes for adalightapa102 2015-11-28 22:58:58 +01:00
LedDeviceAmbiLed.cpp Added support for AmbiLED-HD device (http://www.ambiledhd.com) 2015-01-05 14:28:21 +01:00
LedDeviceAmbiLed.h Added support for AmbiLED-HD device (http://www.ambiledhd.com) 2015-01-05 14:28:21 +01:00
LedDeviceAPA102.cpp Revert "Update LedDeviceAPA102.cpp by pcaffardi" 2016-02-09 20:21:49 +01:00
LedDeviceAPA102.h Rewrote the class to make it work with apa102 led strips 2014-12-11 13:48:14 +01:00
LedDeviceAtmo.cpp Fixed minor issue and removed unsued includes 2015-02-23 15:53:05 +01:00
LedDeviceAtmo.h Carsten Atmolight support 2015-02-04 21:49:33 +01:00
LedDeviceAtmoOrb.cpp AtmoOrb LedDevice now only processes new color commands and skips identical, saves last send color per light id separately in Qmap. (#602) 2016-04-21 14:51:43 +02:00
LedDeviceAtmoOrb.h AtmoOrb LedDevice now only processes new color commands and skips identical, saves last send color per light id separately in Qmap. (#602) 2016-04-21 14:51:43 +02:00
LedDeviceFactory.cpp Piblaster fix (#614) 2016-04-29 16:00:33 +02:00
LedDeviceFadeCandy.cpp Merge remote-tracking branch 'refs/remotes/tvdzwan/master' 2016-03-09 19:25:04 +01:00
LedDeviceFadeCandy.h Merge remote-tracking branch 'refs/remotes/tvdzwan/master' 2016-03-09 19:25:04 +01:00
LedDeviceFile.cpp LedDeviceFile now defaults to /dev/null if the output is omitted. 2016-03-23 21:28:31 +11:00
LedDeviceFile.h renamed the "Test" device to be "File" 2016-03-23 21:12:34 +11:00
LedDeviceHyperionUsbasp.cpp Add hyperion-usbasp led devices 2014-03-09 11:36:46 +01:00
LedDeviceHyperionUsbasp.h Add hyperion-usbasp led devices 2014-03-09 11:36:46 +01:00
LedDeviceLightpack-hidapi.cpp Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceLightpack-hidapi.h Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceLightpack.cpp Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceLightpack.h Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceLpd6803.cpp Added additional zeroes after LPD6803 device message 2014-02-21 22:35:13 +01:00
LedDeviceLpd6803.h Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceLpd8806.cpp Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceLpd8806.h Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceMultiLightpack.cpp Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceMultiLightpack.h Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceP9813.cpp Slight style changes to the pull of the P9813 device 2014-01-18 22:49:32 +00:00
LedDeviceP9813.h Slight style changes to the pull of the P9813 device 2014-01-18 22:49:32 +00:00
LedDevicePaintpack.cpp Adapted Paintpack to HIDDevice API 2015-11-08 17:30:12 +01:00
LedDevicePaintpack.h Adapted Paintpack to HIDDevice API 2015-11-08 17:30:12 +01:00
LedDevicePhilipsHue.cpp Deletion of qt network reply objects. 2016-03-20 13:33:41 +01:00
LedDevicePhilipsHue.h Added more precise outputs on failures as well as some additional checks. 2016-03-19 12:36:55 +01:00
LedDevicePiBlaster.cpp Piblaster fix (#614) 2016-04-29 16:00:33 +02:00
LedDevicePiBlaster.h Piblaster fix (#614) 2016-04-29 16:00:33 +02:00
LedDeviceRawHID.cpp Added Raw HID device 2015-11-08 17:29:53 +01:00
LedDeviceRawHID.h Added Raw HID device 2015-11-08 17:29:53 +01:00
LedDeviceSedu.cpp Removed option from Sedu device as it is reported not to work 2014-02-04 20:47:02 +01:00
LedDeviceSedu.h Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedDeviceTinkerforge.cpp Fixed call to thinkerforge library 2014-03-08 19:55:23 +01:00
LedDeviceTinkerforge.h add support for tinkerforge 2014-03-04 20:38:54 +01:00
LedDeviceTpm2.cpp - refactored framebuffer grabber to use ImageResampler 2015-01-24 23:42:22 +01:00
LedDeviceTpm2.h Added support for tpm2 protocol. One frame used for all LEDs 2014-06-15 02:19:09 +02:00
LedDeviceUdp.cpp add udp protocol support 2016-01-06 20:40:48 +11:00
LedDeviceUdp.h add udp protocol support 2016-01-06 20:40:48 +11:00
LedDeviceWs2801.cpp clean up formatting 2016-02-25 22:33:13 +11:00
LedDeviceWs2801.h added configurable latchtime for 2801 SPI driver 2016-02-13 23:00:31 +11:00
LedDeviceWS281x.cpp 1. changed default number of pwm LEDs to 256 2016-03-22 23:50:14 +11:00
LedDeviceWS281x.h 1. changed default number of pwm LEDs to 256 2016-03-22 23:50:14 +11:00
LedDeviceWS2812b.cpp fixed assembler instructions to work without optimization 2014-12-11 14:30:36 +02:00
LedDeviceWS2812b.h Minor reformat of code to match hyperion-style. Added ws2812b as option to disable for devices without dma-pwm 2014-09-19 16:37:58 +02:00
LedHIDDevice.cpp Added udev/sudo note to HID Device 2015-11-08 21:05:12 +01:00
LedHIDDevice.h Added HID Device 2015-11-08 17:29:34 +01:00
LedRs232Device.cpp Fixed RS232 reconnect 2015-07-20 14:01:24 +02:00
LedRs232Device.h Changed connection delay to something non-blocking 2014-05-04 11:52:25 +02:00
LedSpiDevice.cpp Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00
LedSpiDevice.h Moved all devices to separate library and added 'Factory' for device creation. 2013-12-17 18:50:15 +00:00