Commit Graph

43 Commits

Author SHA1 Message Date
brindosch dc6a602503 update submodules 2018-04-05 01:50:25 -07:00
penfold42 2f01dfa18c Updated rpi_ws281x submodule to latest commits (#755)
This includes support for newer RPI hardware versions
2017-05-27 12:19:48 +02:00
penfold42 85fcec3ba3 Update281x (#712)
* moved rpi_281x module to hyperion-project fork

* Updating rpi_281x
2016-07-18 08:44:37 +02:00
redPanther f0884ec25b add support for using system protoc instead of version in submodule (#698) 2016-06-13 08:11:57 +02:00
redPanther f2e9193987 fix #674 (#676)
* implement make install
set CMAKE_INSTALL_PREFIX e.g. to /opt to install to /opt/hyperion
set ENABLE_SYSTEM_INSTALL to ON to activate installation
after compiling use
make install
or
make install/strip
(for performance/size optimized binaries - compile in Release to get best performance)

* cleanup cmake files
use
cmake -DINSTALL_PREFIX=/opt/hyperion ..
to install all files to hyperion or
cmake -DINSTALL_PREFIX=/usr/
to install to usr. install folders are linux standard. bin go to bin folder and additionals (effects) go to share/hyperion

* add uninstall target - be patient with that, this will remove files from your system
install service files to share/hyperion - if you want to use them you have to make a symlink to your location of service files

* optimize build release script
install service files into hyperion share folder (services not activated, this must be done by distribution package script)
initial support of cmake option -DPLATFORM= option. This selects platform specific cmake flags. no need for -DENABLE_... options (unless you want some special things)
automatic detect for apple build

* update submodule

* fix cmake error when no platform is given

* initial support for deb,rpm and tgz packages - no usefull content atm!

* make packeages contain usefull stuff

* add license
make packes more functional. package specific install missing yet

* implement debian postinstall

* disable rpm generation until it has a working state

* add hypercon compat

* add posibility for multiple config files. first one found is taken

* remove hyperion comaptlayer
services is not started automaticly

* rework debian postinstall:
- remove /opt compatibility complety. This makes more trouble as it is usefull
- when hyperiond already started, restart it
- cleanup

* add deb package dependencies

* wipe out last support for /opt installation

* change default effect path in config to /usr

* revert service files and config files

* remove last occurences of ENABLE_PROTOBUF
fix cmake warnings and make it ready for cmake 3
fix refactoring of hyperiond.cpp creates no objects for network services


Former-commit-id: 56e3e0d101
2016-06-04 19:26:34 +02:00
penfold42 e8207cfe31 fix more "dos" line endings (#673)
* 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

* cleaned up a couple of compiler warnings

* moved bitpair_to_byte initialiser to (hopefully) work with older GCC

* compiler warning in udp driver
removed some tabs in ws2812b.cpp

* formatting - spaces to tabs

* moved rpi_281x to tag sk6812-v1.0

* moving to my fork of rpi_281x

* removed dos line endings

* Found some more "dos" line ending files


Former-commit-id: c756e3ccc1
2016-06-03 16:46:45 +02:00
penfold42 f9690b03f4 updated reference to rpi_ws281x sub module to point to penfold42 fork (#655)
* 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

* cleaned up a couple of compiler warnings

* moved bitpair_to_byte initialiser to (hopefully) work with older GCC

* compiler warning in udp driver
removed some tabs in ws2812b.cpp

* formatting - spaces to tabs

* moved rpi_281x to tag sk6812-v1.0

* moving to my fork of rpi_281x


Former-commit-id: 34ca0f4f76
2016-05-26 07:04:49 +02:00
redPanther b293ea20db build script optimization (#642)
* implement make install
set CMAKE_INSTALL_PREFIX e.g. to /opt to install to /opt/hyperion
set ENABLE_SYSTEM_INSTALL to ON to activate installation
after compiling use
make install
or
make install/strip
(for performance/size optimized binaries - compile in Release to get best performance)

* cleanup cmake files
use
cmake -DINSTALL_PREFIX=/opt/hyperion ..
to install all files to hyperion or
cmake -DINSTALL_PREFIX=/usr/
to install to usr. install folders are linux standard. bin go to bin folder and additionals (effects) go to share/hyperion

* add uninstall target - be patient with that, this will remove files from your system
install service files to share/hyperion - if you want to use them you have to make a symlink to your location of service files

* optimize build release script
install service files into hyperion share folder (services not activated, this must be done by distribution package script)
initial support of cmake option -DPLATFORM= option. This selects platform specific cmake flags. no need for -DENABLE_... options (unless you want some special things)
automatic detect for apple build

* update submodule


Former-commit-id: 5f06f31484
2016-05-22 00:27:06 +02:00
penfold42 c17e4894d9 Apa102 fix if the led strip has more physical LEDs than you want to configure with hyperion (#626)
* 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

* started bug fixes for APA strips with more physical leds than configured

* 1st cut of changes to APA102.

now looks at config for "leds" which is the # of hardware leds in the strip.
This enables us to write the correct trailer length in the packet.

Also fixed a bug where switchoff was writing the wrong # of leds

* removed commented out old code

removed debug printf

* included prebuild test binary for Pi2

* Second attempt at the fix.
BEFORE:
If you have more physcial LEDs than defined in the "leds" "index" section of the config there is random junk added to the end of the strip.

WITH THIS FIX:
In the "device" section specify the number of physical leds with:
 "leds" : 212,
If this is greater than the number of led indexes, additional LEDs are set to black
If this is smaller than the number of led indexes, it is ignored

* included test binary

* Clean exit if the device config is missing or a non-supported device type is specified

Former-commit-id: 8ae96188fa
2016-05-10 12:16:19 +02:00
penfold42 cda2232080 updating reference to rpi_ws281x
Former-commit-id: 6949fe847d
2016-03-14 10:02:10 +11:00
Mark Walker 78e606a1c4 Add new WS281x driver
Add a new WS281x driver which is a wrapper around jgarff's ws281x library which
works on Pi B+, Pi 2, Pi Zero and probably Pi 3 as well.

jgarff's ws281x library is included as a submodule


Former-commit-id: e473dfd36d
2016-03-08 20:41:13 -08:00
Schöck, Florian b898f25f98 updated zip to match newest source
Former-commit-id: 2e54f40d48
2015-11-29 19:56:33 +01:00
Schöck, Florian 8d52466acd re-added buffer underrun handling
should not be necessary because the number of LED's in a usual Lightberry setup is to low, but it's nice to have implemented.


Former-commit-id: def3c46687
2015-11-29 19:38:40 +01:00
Schöck, Florian f950ec7df6 changed the SPI frequency to 2 Mhz.
APA102 can handle MUCH higher frequencies than WS2801, so 2Mhz is no big deal for them


Former-commit-id: 814faa648e
2015-11-29 19:35:26 +01:00
Schöck, Florian 4cdba8cdb6 fixed boot animation
Former-commit-id: 418ed83a4b
2015-11-29 19:31:51 +01:00
Schöck, Florian f910c717bb reformated code
(Arduino IDE auto-reformat)


Former-commit-id: 8f94b2bb86
2015-11-29 19:24:01 +01:00
Schöck, Florian cf359e5182 corrected the source to exactly match the protocol of the APA 102 LED's
Former-commit-id: 10d097ff4b
2015-11-26 18:21:20 +01:00
Schöck, Florian 57c5c1ecf5 added the LightberryHDUSBAPA102.1.ino as a source file
Former-commit-id: 4923f654ce
2015-11-26 18:04:43 +01:00
tociek fa0b8db131 Fix to the adalightapa102 firmware
Fix to the firmware when converter would require reconnect after 15
seconds of hyperion inactivity


Former-commit-id: 1952eaad1d
2015-11-23 21:47:04 +01:00
tociek 7551a06cf4 Corrected APA102 USB (adalight) led device
I have removed the 'hack' that allowed to use APA102 with original
version of adalight. I have modified adalight code and placed it into
dependencies folder. This change is not backward compatible, so it won't
work with original adalight code.
The reason for the change is that last leds were not acting as they
should (last led red). Additionally with this change and new arduino
code, performance is  lot better and lights change much smoother.
I have also changed switchOff method that requires different data sent
to apa102 to turn all leds off.

Enjoy :)
Jacek


Former-commit-id: 624fe6c429
2015-11-12 00:22:11 +01:00
poljvd a041941e7a Fix build with embedded protobuf library
Former-commit-id: 5c60566f2d
2014-12-20 20:15:04 +01:00
poljvd b50611fef7 add protobuf as submodule
Former-commit-id: 56497c61fa
2014-12-19 21:21:00 +01:00
poljvd 6248489aed Improve readability of usage message
Former-commit-id: 7919b8e95e
2014-12-17 16:43:14 +01:00
T. van der Zwan fdaa5c0068 Added tinkerforge as local dependency
Former-commit-id: b739eba067
2014-03-06 21:48:11 +01:00
Johan e0d405034f Add support for Python 3
Former-commit-id: b6aec954ba
2014-02-26 18:10:17 +01:00
johan 305a2e856a Added signal detection option
Former-commit-id: 1bd70d0281
2014-01-26 16:00:33 +01:00
johan 6723c7bf2b Moved test/v4l2_to_png to src/hyperion-v4l2; Added json backend temporarily
Former-commit-id: 8c4e0ef7ad
2014-01-25 17:35:06 +01:00
T. van der Zwan fd835b5bfb Merge branch 'master' into macos_compile
Conflicts:
	libsrc/leddevice/CMakeLists.txt
	libsrc/leddevice/LedDeviceFactory.cpp
	test/TestRs232HighSpeed.cpp

Former-commit-id: 5583f2f881
2013-12-28 08:55:06 +01:00
T. van der Zwan c4e20d0d36 Fixed compiler warning is getoptplusplus
Former-commit-id: ab8f29c265
2013-12-19 21:02:02 +00:00
T. van der Zwan a3ba0b58af Added todo for hidapi rename
Former-commit-id: 27a02e3293
2013-12-18 14:54:43 +00:00
T. van der Zwan feb88d56bd Fixed typo in hidapi cmake file
Former-commit-id: d1c2131b7e
2013-12-18 08:11:18 +00:00
Timo van der Zwan 6f15e89d29 Implemented compile capability for MacOS.
Former-commit-id: 86e560e0d4
2013-12-17 22:53:16 +01:00
johan b2f52aad89 Lightpack device added based on hidapi
Former-commit-id: 4d3d9c01b1
2013-11-23 11:14:27 +01:00
Johan d1c1e56bd1 hidapi added as dependency library
Former-commit-id: 067d8ed87d
2013-11-22 14:42:02 +01:00
johan 212ce35861 Created release with sedu device
Former-commit-id: c541a2d8f0
2013-11-05 21:32:21 +01:00
T. van der Zwan 50bb43f1ec Added missing dependency of last commit (serial)
Former-commit-id: 2f50af95f3
2013-11-05 19:26:33 +00:00
T. van der Zwan cb2cc5c259 Removed incorrect file-headers
Added rs232 library
Added abstract Rs232 device


Former-commit-id: 9a2830f713
2013-11-05 15:46:17 +00:00
johan 756e9a28c0 Application build time added to application to write to stdout at startup
Former-commit-id: 4fca64a4b7
2013-10-21 20:29:30 +02:00
johan 8e8e63011f Added some more modification documentation 2013-08-13 22:43:36 +02:00
johan cc3baec022 Special command line option classes added 2013-08-11 21:49:11 +02:00
johan 29f6e41923 Added the option to leave out the short parameter option 2013-08-11 13:13:19 +02:00
johan daabeaa03b project hyperion-remote created;
getoptPlusPlus dependency added;
small changes to getOptPlusPlus;
2013-08-11 11:54:16 +02:00
T. van der Zwan 10b5b80675 First working version with some test executables 2013-07-26 20:38:34 +00:00