Commit Graph

342 Commits

Author SHA1 Message Date
LordGrey
ce7c99d2cd Stop LedDevice:write for disabled devices + Nanoleaf Fixes (#629)
* Handle Exceptions in main & Pythoninit

* Have SSDPDiscover generic again

* Have SSDPDiscover generic again

* Change Info- to Debug logs as technical service messages

* Nanoleaf - When switched on, ensure UDP mode

* Include SQL Database in Cross-Compile instructions

* Fix Clazy (QT code checker) and clang Warnings

* Stop LedDevice:write for disabled device

* Nanoleaf: Fix uint printfs

* NanoLeaf: Fix indents to tabs

* NanoLeaf - Add debug verbosity switches

* Device switchability support, FileDevice with timestamp support

* Nanoleaf Light Panels now support External Control V2

* Enhance LedDeviceFile by Timestamp + fix readyness

* Stop color stream, if LedDevice disabled

* Nanoleaf - remove switchability
2019-12-08 13:12:01 +01:00
Tobias Tangemann
04c3bc8cc9 Add PWM channel option for ws281x device in web interface (#623) 2019-09-16 13:55:47 +02:00
LordGrey
b459b8723e Update SSDPDiscover, Nanoleaf Device & CrossCompile Instructions (#616)
* Handle Exceptions in main & Pythoninit

* Have SSDPDiscover generic again

* Have SSDPDiscover generic again

* Change Info- to Debug logs as technical service messages

* Nanoleaf - When switched on, ensure UDP mode

* Include SQL Database in Cross-Compile instructions

* Fix Clazy (QT code checker) and clang Warnings
2019-09-14 22:54:41 +02:00
Paulchen Panther
0f839f670e
Merge pull request #593 from maximkulkin/fix-rpi-pwm
[Hotfix] Fix RPI WS281x LED device initialization
2019-08-12 16:50:27 +02:00
Maxim Kulkin
9f9f133f16 Fix RPI WS281x LED device initialization 2019-08-12 00:35:22 -07:00
Paulchen Panther
c62ea87ab7
Merge pull request #578 from Paulchen-Panther/api_auth
Token Management, Database, ...
2019-08-11 23:25:06 +02:00
Paulchen-Panther
90599e820a
second part of PR #578
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
2019-08-03 19:14:52 +02:00
Paulchen-Panther
ea796160af
- The first part
- Added CodeDocs config file for customization
- Fixing LGTM alerts
- LGTM bug fixed again
- added token option to hyperion-remote
- fix DBManager::getDB()
- next bugfix
- correct broken signal from SettingManager to Hyperion
- Token list is created after the schema is fetched

Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
2019-08-03 19:14:52 +02:00
LordGrey
4603d65b4f Merge remote-tracking branch 'upstream/master' 2019-07-18 22:10:05 +02:00
birdhouse
88dbaa5f0a Fixing PhilipsHue wizard, Fixing issue #545 2019-07-14 12:23:47 +02:00
LordGrey
61bffa6dd8 Allow to switch on LED device, if currently disabled 2019-07-13 11:23:56 +02:00
Paulchen-Panther
bea8345e4b
Fixed build warnings and undo changes
- Build problems:
    - Qt 5.13 obsoleted some calls that were used in our Qt library.
    - The PhilipsHueLight and PhilipsHueBridge classes did not use the private logger class
- Undo changes:
    - In Commit e6c2e7e, I made changes that were not covered. An apology goes to @b1rdhous3

Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
2019-07-10 10:24:40 +02:00
Paulchen-Panther
d40aa71aa9
changes in LEDDeviceWrapper::stopDeviceThread() reversed
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
2019-07-08 16:22:28 +02:00
Paulchen Panther
c574be7b75
[Hotfix] Led threads are now terminated correctly 2019-07-07 10:47:43 +02:00
Paulchen-Panther
d414942e2e
Bugfix/Hotfix/Update
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
2019-07-02 19:06:36 +02:00
LordGrey
fc7d888845 Fix LEDDeviceWrapper coredump when killing hyperiond 2019-06-19 19:37:42 +02:00
LordGrey
3ef037f6d7 Fix LEDDeviceWrapper coredump when killing hyperiond 2019-06-16 21:13:20 +02:00
Paulchen-Panther
2ccdfeb9e1
Gold linker, CCache, Stats, LGTM
- Increases linker performance under Linux builds by using Gold linker, if available
- ccache is used if available
- removed statistic class (Stats.cpp) from project due to the missing result (sorry @Brindosch)
- add LGTM bandges for code analysis overview

Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
2019-06-05 21:13:37 +02:00
Rick164
74766fd626
Merge pull request #556 from Portisch/suspend_mode
Add SIGUSR1 and SIGUSR2 signals to disable/enable the LEDs
2019-04-25 23:43:58 +02:00
Rick164
4db756b239
Merge pull request #552 from Lord-Grey/master
Support additional Nanoleaf devices
2019-04-25 23:43:21 +02:00
Portisch
0e756beae4 Add SIGUSR1 and SIGUSR2 signals to disable/enable the LEDs
Fixed enable on LedDeviceWrapper constructor.
2019-04-24 13:05:32 +00:00
LordGrey
5b17924cdf Throw Execption as "return false" is not handled
if no hostname configured nor device was discovered
2019-04-10 23:08:56 +02:00
Portisch
101855fe4f Amlogic: remove ge2d mode 2019-04-10 13:30:19 +00:00
LordGrey
c16ecde539 Call switchOn, if LEDs get enabled again
* Support devices which allow to be switched on/off physically,
rather than have a black output stream.
2019-04-09 21:14:12 +02:00
LordGrey
3661172d6d Change Aurora device support to cover additional Nanoleaf devices
* Support Nanoleaf LightPanels (aka Aurora) and Canvas
* Add Nanoleaf Device discovery
* Update SSDPDiscover to be generic for given services
2019-04-08 23:22:33 +02:00
penfold42
d3e447f422 Add new white_algorithms to web UI 2019-02-08 23:48:40 +11:00
penfold42
b77e7c4acd sk6812 white_algorithm json parsing bug 2019-02-08 23:48:39 +11:00
penfold42
b048771e4a Ws281x rpi pwm parsing fixes 2019-02-08 23:48:39 +11:00
SJunkies
53966d1885
Fixes PhilipsHue Brightness, ColorGamut+new Lights
Hue RGB Color Conversion for Brightness is wrong! - use RGB to HSV instead of XYZ Space! 
For correct use, reset brightnessFactor back to 1.0 in config! - It was just a Workaround, not the Solution!
Fixed wrong ColorGamut A/B/C Values + Added New Lamp Models: LCT015, LCT016, LCT024
2019-02-07 11:37:53 +01:00
Paulchen-Panther
657fe00211
Troubleshooting and ...
- More i18n
- Easy use of mutual exclusion in JsonAPI with QMutexLocker
- Smoothing type "linear" hidden in the WebUI, because there is currently only one
- Message forwarding implemented again
- For compatibility to home assistants and other remote controls, "activeEffects" and "activeLedColor" has been added to the JSON-RPC
- FlatBuffer clear now the Priority on disconnect
- The information "available V4L2 devices" is now only displayed if the device list is not empty
- LED device "PiBlaster" excluded from OSX build
2019-02-03 14:36:57 +01:00
Paulchen-Panther
7352ff4d42 Threading and more
- webui remove restarts
- threading for LedDevice
2019-01-01 19:58:50 +01:00
Paulchen-Panther
d6b2cfaf9d update 2018-12-31 15:48:29 +01:00
Paulchen-Panther
38950edf35 remove protobuf (part 2) 2018-12-30 22:07:53 +01:00
Paulchen-Panther
d762aa2f3e Details coming soon. 2018-12-27 23:11:32 +01:00
Paulchen Panther
a78d8d3a03
Removed ColorOrder from schema 2018-12-20 15:15:07 +01:00
Paulchen Panther
46dbede8f4
add aurora schema to resource file 2018-12-20 15:13:45 +01:00
Ansel Zandegran
820e16b6cb Add Schema 2018-11-07 21:01:53 +01:00
Rick164
f7d5c2c908
Merge pull request #500 from zandegran/master
Nanoleaf Aurora integration for Hyperion
2018-10-28 13:13:07 +01:00
penfold42
dc1d3f96c2 Fix timing in comments 2018-03-01 18:45:36 +11:00
penfold42
96cefd7603 fixed bitpair_to_byte table
fixed end frame byte count
2018-03-01 17:34:34 +11:00
penfold42
e190a51cfc [UNTESTED] Add support for apa104 led type 2018-03-01 17:31:04 +11:00
Ansel Zandegran
72fac77bb0 Add Aurora Integration 2018-02-05 08:17:18 +01:00
Ansel Zandegran
ba83843d3d WIP: Mode change done 2018-02-04 23:19:34 +01:00
Daniel
bc4007ac67 Add Karatelight support (#487)
* Add Karatelight support

* Add Karatelight Schema

* Actually use the new schema file

* Put karate device to USB group in webinterface
2017-11-29 17:59:26 +01:00
brindosch
992dd6ea84 cmake 3.0.0 (#480) 2017-10-13 00:06:31 +02:00
brindosch
838008568a JsonUtils & improvements (#476)
* add JsonUtils

* update

* repair

* update

* ident

* Schema correct msg other adjusts

* fix effDel, ExceptionLog, cleanup

* fix travis qt5.2

* not so funny

* use Qthread interrupt instead abort bool

* update services
2017-10-12 11:55:03 +02:00
brindosch
74ff5c7ada Philiphs Hue Improvments (#472)
* patch and improve philiphshue

* cleanup

* cleanup

* cleanup

* LedDevice switchOn()

* add signal for on/off to ledDevice
2017-09-16 00:18:17 +02:00
brindosch
81f5f51257 UI fixes/updates (#468)
* fix logging display

* hue wizard add usrname

* fix restartAction sometimes not executed

* remove configRevision

* remove v4l2 grabMode(2d/3d)

* remove latchTime from configs

not in main led device schema

* config comment: all grabbers can crop

* remove smoothing delay&pause for effects

* finalize disable effects ui

* fix empty effect selects

* remote page add 2D/3D videoMode

* add blackborder texts

* Update EffectEngine.cpp
2017-09-04 23:12:59 +02:00
redPanther
317a903b14 Leddevices source tree refactoring (#461)
* rework structure of leddevice source tree

* fix data type vor v4l sig detection value in webui

* automate leddevicefactory.cpp
2017-08-07 10:05:46 +02:00
redPanther
569e59110e implement set videomode via json api (#457)
* implement set videomode via json api

* refactor grabbers:
- new base class
- move shared code to base class

* fix osx

* rework all cmakelist files with auto file collection. except leddevices (need further restructuring)

* store current video and grabbing mode

* add json stuff

* remove grabbingmode - we do not want to expose it
2017-08-04 23:08:15 +02:00