Commit Graph

545 Commits

Author SHA1 Message Date
Paulchen Panther 7d5fe512d1
Merge pull request #818 from maximkulkin/opencv-grabber
Added HDMI frame grabber ability using OpenCV
2019-09-30 22:24:31 +02:00
lsellens 5291d3b94d fix resuming from paused in kodi 18 2019-08-16 15:32:33 -05:00
Maxim Kulkin d08d63e6e6 Add frame grabber using OpenCV 2019-06-16 09:52:35 -07:00
Rick164 8aff3cb9b0
Merge pull request #777 from zandegran/master
Nanoleaf Aurora Support
2019-05-03 09:03:53 +02:00
Rick164 7684a756de
Merge pull request #804 from xprofiler/feature
Added effect name to JSON 'serverinfo' output in activeEffects
2019-02-09 00:04:48 +01:00
Rick164 1eb2fcb128
Merge pull request #800 from SJunkies/patch-2
Philips Hue fix - correct API ColorGamut A/B/C Values + New Models
2019-02-09 00:02:05 +01:00
SJunkies 0b2ef9e3f4 Fix - Philips Hue RGB Brightness Color Conversion (#799)
RGB to HSV/B Conversion after gamma correction

* Update LedDevicePhilipsHue.cpp

Hue RGB Color Conversion for Brightness is wrong! - use RGB to HSV instead of XYZ Space!
For correct use, reset brightnessFactor (if set) back to 1.0 in config! - It was just a Workaround, not the Solution!

* Update LedDevicePhilipsHue.cpp

sorry - wrong RGB vars used

* Update LedDevicePhilipsHue.cpp

change max value function to fmax

* RGB to HSV/B Conversion after gamma correction
2018-12-19 22:29:36 +01:00
Nico Peter 4c3cc8d318 added name property in Effect class to make it possible to get the name of the active effect in the 'serverinfo' JSON command results 2018-12-15 20:38:32 +01:00
SJunkies 105cd46ee4
fix typo inside if statement
GAMUT_C_MODEL_IDS.find(modelId) != GAMUT_B_MODEL_IDS.end() -> GAMUT_C_MODEL_IDS.find(modelId) != GAMUT_C_MODEL_IDS.end()
2018-11-16 19:09:12 +01:00
SJunkies f362fbb035
correct API ColorGamut A/B/C Values + New Models
wrong ColorGamut A/B/C Values correction + New Models:
LCT015, LCT016, LCT024
2018-11-16 17:53:50 +01:00
vexofp 1d125d8df8 Fixed LinearColorSmoothing in continuousOutput=false mode to not consume CPU for no reason after the output has settled. (#792) 2018-11-09 04:18:03 +01:00
Rick164 77119a6f47
Merge pull request #797 from wirkungsneutral/master
initialized led_string to prevent segfaults
2018-11-09 03:05:59 +01:00
Ansel Zandegran 881b2ba47c Undo OSX specific Changes 2018-11-07 20:43:38 +01:00
Ansel Zandegran 7bb56c0d1e Add support for rhythm 2018-11-07 19:33:10 +01:00
wirkungsneutral a583f00390 initialized led_string to prevent segfaults 2018-10-08 16:47:06 +00:00
Matthias Reichl ad9de520ad XBMCVideoChecker: use OnAVStart event for Kodi 18
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-08 17:36:10 +02:00
Robin Kobus 1c212321a4 Smoothing Fix (#727)
Increase color change for small RGB differences.
2017-10-08 18:28:15 +02:00
Rick van Hattem 355a324523 Set default output device for WS2812SPI (#724)
With this change the WS2812SPI device works with Hypercon out of the box.
2016-09-06 22:58:55 +02:00
redPanther d3713a8ea9 smoothing: integrate option for continuousOutput + updateDelay fix from hyperion.ng (#713)
logger: fix possible buffer overflow
2016-07-25 15:23:01 +02:00
penfold42 2beb36ecdc zeroconf on by default, compiler error on x86 (#705)
* zeroconf on by default

dynamic link  zeroconf by default

* revert zerconf to now default to off

* formatting
2016-07-13 08:31:53 +02:00
Funatiq 592c5fcd44 Colorless Backlight (#707)
* Colorless Backlight

Set the saturation to 0 when apllying backlight.

* Update HslTransform.cpp
2016-07-12 22:53:53 +02:00
Paulchen-Panther 06defda4a1 Fixing Check if LED Color not Black (#702) 2016-07-12 17:12:06 +02:00
redPanther 4a841710dd webui - "cgi" handler and multiple fixes (#700)
* initial commit of webconfig

* update example config with webconfig and fix format of file
update debian postinst script for install example config

* fix compiling
add new web server command "serverinfo" to use in webapp to retrieve json port

* change web default port to 8099

* add cgi engine to webserver

* fix include
2016-06-14 20:14:06 +02:00
redPanther eb64e7e528 webui fix and serverinfo (#699)
* initial commit of webconfig

* update example config with webconfig and fix format of file
update debian postinst script for install example config

* fix compiling
add new web server command "serverinfo" to use in webapp to retrieve json port

* change web default port to 8099
2016-06-13 22:54:08 +02:00
redPanther 9f564f8d89 fix build on osx (#695) 2016-06-12 22:27:34 +02:00
redPanther 7dfb9f1967 integrated webserver ... (#697)
* initial commit of webconfig

* update example config with webconfig and fix format of file
update debian postinst script for install example config
2016-06-12 22:27:24 +02:00
brindosch 8746e0795c -
Former-commit-id: 7aa71ba95e
2016-06-10 23:54:53 +02:00
brindosch 4743208eff silent kodi check
Former-commit-id: 45199d123f
2016-06-10 19:52:03 +02:00
brindosch b3fa72adba fix
Former-commit-id: 2019d94e3b
2016-06-10 18:55:42 +02:00
brindosch ae40edc578 Add version string to json output (#690)
* hyperionversionid

* typo

* -


Former-commit-id: ec5777ccb3
2016-06-10 18:32:50 +02:00
Paulchen-Panther f0dec4cf73 Hyperion X11 KodiCheck (#685)
* Update X11Grabber.h

* Update ProtoConnection.h

* Update ProtoConnectionWrapper.h

* Update ProtoServer.h

* Update X11Grabber.cpp

* Update message.proto

* Update ProtoClientConnection.cpp

* Update ProtoClientConnection.h

* Update ProtoConnection.cpp

* Update ProtoConnectionWrapper.cpp

* Update ProtoServer.cpp

* Update hyperion-x11.cpp

* Update X11Wrapper.cpp

* Update X11Wrapper.h

* Update hyperiond.cpp

* Update ProtoClientConnection.cpp

* Update X11Wrapper.cpp

* Update hyperiond.cpp


Former-commit-id: a572f275b2
2016-06-07 23:12:18 +02:00
redPanther 614131ebe6 compile fix, cleanup (#684)
* 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

* all arguments via reference ...

* fix xbmcchecker not working

* add logger class

* - profiler must be activated with ENABLE_PROFILER, otherwise an error will raise
-> this should prevent profiler gets into release code

* fix profiler

* make logger compat with older/partial c++11 versions (r.g. debian wheezy)
fix description of optionparser
fix atmoorb not compile for qt4. now it should compile for qt5 and 4

* make logger compiles with qt5 too
fix compiler warnings

* remove debug code


Former-commit-id: 6aa4135166
2016-06-07 22:24:29 +02:00
brindosch ad65ca2983 atmoorb qt5 fix (#683)
Former-commit-id: 64ce9cd676
2016-06-07 13:17:40 +02:00
brindosch 9578a3e386 Kodicheck: Add option for pause modus (#681)
* introduce pause mode

* fix it fe...

* fix

* fix compile warning

* change solution

* fix order

* fix

* last update

* -


Former-commit-id: b35c4d672a
2016-06-07 12:34:50 +02:00
redPanther f39f074dcf add logger/compiler class (#680)
* 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

* all arguments via reference ...

* fix xbmcchecker not working

* add logger class

* - profiler must be activated with ENABLE_PROFILER, otherwise an error will raise
-> this should prevent profiler gets into release code

* fix profiler


Former-commit-id: b716dd40db
2016-06-05 16:08:55 +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 d5ce395e8e Add sk6812rgbw support (#666)
* 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

* adding support for SK6812 - not working yet

* Changed rpi_ws281x submodule to be penfold42's fork

* Set White to zero for now

* starting on the code to make the White led do stuff

* Added some basic whie led calculation
white = min(r,g,b)
r-=w, g-=w, b-=w

* cleaned up a couple of compiler warnings

* updated strip type to use corrected RGBW strip type
(the SK6812RGBW datasheet is wrong)

* 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

* attempt #3 at migrating the rpi_281x submodule to my fork/branch

* moving to my fork of rpi_281x

* Started implementing multiple RGB to RGBW conversion options

a quick hack has been implemented inside WS281x.cpp but ive started
moving this to RgbToRgbw.cpp for reuse by other led device types

* migrated RGB to RGBW conversion to RgbToRgbw.cpp


Former-commit-id: ff8e9038c4
2016-05-31 22:55:56 +02:00
penfold42 6fbfda03fa add zeroconf support based on qt4 libraries (#667)
* 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

* added bonjour/zeroconf service discovery to the json interface.

When clients are also modified, they can
- find hyperiond on the network much more quickly than ping/portscan;
- find multiple instances running on different ports instead of assuming 19444

* Moved zeroconf calls to hyperiond.cpp

* Added mDNS/zerconf/bonjour registration for proto server

Added config options.
        "jsonServer" :
        {
                "port" : 49444,
//              "mDNSDescr" : "hyperiond jsonServer blah de blah",
                "mDNSService" : "_hyperiond_json._tcp"
        },

* 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

* Now uses the led device name and hostname to create the annouce name


Former-commit-id: abfa51bcf3
2016-05-31 22:55:11 +02:00
ntim 03cee33784 Fix for Philips Hue flickering when switchOffOnBlack is set true (#668)
* Improved switch off on black feature.

* Changed "isnan" to "std::isnan"


Former-commit-id: 5db2b97674
2016-05-31 22:54:47 +02:00
penfold42 6f43fe1196 New QT based udp driver (#662)
* 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

* half way thru re merging the newudp support

* Whoops.... dont know how it compiled before..

* Removed debugging that was commented out


Former-commit-id: ac4330422f
2016-05-30 23:58:31 +02:00
Paulchen-Panther 23042ba07c Update Json Interface (Active LED Color) (#664)
* add getCurrentPriority

* add getCurrentPriority

* Update active led color


Former-commit-id: 0e6b828991
2016-05-30 22:39:12 +02:00
tpmodding 019d4ba6d8 Update LedDevicePhilipsHue.cpp
Changed "isnan" to "std::isnan"

Former-commit-id: 528f024527
2016-05-27 11:16:42 +02:00
redPanther 945f3d1c5b big code cleanup. mostly line endings and indentions (#659)
No functional changes - except protobuffer is mandatory and not optional now.

Former-commit-id: 1e6347e708
2016-05-26 23:44:27 +02:00
brindosch 13b08d5df1 Merge branch 'Beta' of https://github.com/hyperion-project/hyperion into Beta
Former-commit-id: 7e6f328f5c
2016-05-26 07:46:01 +02:00
brindosch 716935dfff xbmc checker fix (3)
Former-commit-id: c8b406033d
2016-05-26 07:45:54 +02:00
redPanther a41051cc84 prevent colorsmoothing from flooding led device with data when no new input data is available (#654)
resolve compiler warnings

Former-commit-id: c7fbdce5dc
2016-05-26 07:01:10 +02:00
brindosch 84d9f4ef80 xbmc checker fix (2)
Former-commit-id: 735f8e3e35
2016-05-25 21:15:49 +02:00
brindosch 1e319be54a hotfix x11grabber
Former-commit-id: 7068bad863
2016-05-25 18:53:09 +02:00
Funatiq 45dff6d1d3 Reduce saturation in backlight (#651)
Former-commit-id: c2c4fd6f95
2016-05-24 22:15:39 +02:00