1221 Commits

Author SHA1 Message Date
LordGrey
eb2624aaa6 Updates 2024-12-13 15:48:37 +01:00
LordGrey
926441549e Fix adjustments calculation 2024-12-13 10:13:22 +01:00
LordGrey
4bef160b15 Merge remote-tracking branch 'origin/master' into temperture 2024-12-11 21:56:19 +01:00
LordGrey
179ee316d0
Remove max LED number constraint from Matrix layout (#1805) 2024-12-09 06:21:53 +01:00
LordGrey
e8e102c25d
Provide more details on pinned certificate files (#1812) 2024-12-09 06:21:24 +01:00
LordGrey
6347b4f2f7 Merge remote-tracking branch 'origin/master' into temperture 2024-12-07 08:55:24 +01:00
LordGrey
733aa662bf
Refactor Python for 3.12 integration (#1807)
* Correct JS requestConfig call

* Update requestWriteConfig to new API format

* Add hyperion-light and bare-minimum preset scenarios

* Refactor Python

* Windows add bcrypt until mbedtls  is fixed
(https://github.com/Mbed-TLS/mbedtls/pull/9554)

* Corrections

* Use ScreenCaptureKit under macOS 15 and above

* ReSigning macOS package

* Python 3.11.10 test

* Revert "Python 3.11.10 test"

This reverts commit ee921e4f1284fe3d984d9422b24a1c56c6916c21.

* Handle defined exits from python scripts

* Update change.log

* CodeQL findings

---------

Co-authored-by: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2024-12-01 17:08:25 +01:00
LordGrey
6e3357ea2d
Support NV12 format on Flatbuffer (#1806) 2024-12-01 17:08:00 +01:00
LordGrey
bc1bfbc83a
Fix Skydimo - populate outbut buffer (#1802) 2024-11-17 13:22:54 +01:00
LordGrey
27f74af4e3
Skydimo as own device (#1800)
* Skydimo as own device type

* Skydimo updates
2024-11-15 18:37:17 +01:00
LordGrey
5cb3076698
Config refactoring fixes (#1799)
* Correct JS requestConfig call

* Update requestWriteConfig to new API format

* Add hyperion-light and bare-minimum preset scenarios
2024-11-15 15:03:33 +01:00
LordGrey
ecceb4e7ae
Refactor Settings DB and Handling (#1786)
* Refactor config API

* Corrections

* Test Qt 6.8

* Revert "Test Qt 6.8"

This reverts commit eceebec49ecf1a3eda281a0630a9a7577b44ef0a.

* Corrections 2

* Update Changelog

* Add configFilter element for getconfig call

* Do not create errors for DB updates when in read-only mode

* Have configuration migration and validation before Hyperion starts

* Correct Tests

* Corrections

* Add migration items

* Correct windows build

* Ensure that first instance as default one exists

* Remove dependency between AuthManager and SSDPHandler

* Correct typos

* Address CodeQL findings

* Replace CamkeSettings by Presets and provide debug scenarios
2024-09-30 22:03:13 +02:00
LordGrey
7700f3b0f0
Merge branch 'hyperion-project:master' into temperture 2024-09-01 17:45:44 +02:00
LordGrey
4f1b95ec83
Add Home Assistant Lights support (#1763)
* New HomeAssistant LEDDevice

* Fix typos

* Ping Qt for Windows to 6.7 until aqtinstaller is fixed

* Fix HA default port handling

* HA - Update default latchtime and range

* Add HA Wizard and light selection

* Naming consistency

* Fix "Selected Hyperion instance is not running"

* CodeQL findings

* HA - allow to overwrite brightness by HA yes or no

* HA - Support switch off on black

* HA - Add transition time
2024-08-25 17:34:27 +02:00
LordGrey
6c3fc8521a
Skydimo LedDevice support (#1765)
* Support Skydimo devices

* Temporarily downgrade CMake to 3.28.3 (CodeQL)
2024-07-16 19:46:43 +02:00
Thinner77
719c844dda
add some clarifying comments (#1754) 2024-06-16 18:01:33 +02:00
Paulchen-Panther
c2bd875bc8
Remove Windows C++ redist hack
This was a hack workaround for the broken azure runner images: https://github.com/actions/runner-images/issues/10004
2024-06-15 13:02:27 +02:00
David Sansome
0bdf865f5c
DDA grabber: Set a 500ms timeout when waiting for a new frame (#1753)
* Add a DXDI DDA grabber

* Change all names to camel case

* Handle cropping and pixel decimation

* Try more persistently to restart capture after an error occurred.

These can happen when changing resolution, or resuming from sleep.

* Set a 500ms timeout when acquiring a frame.

The API won't give us a new frame if nothing on the screen has changed,
so an INFINITE timeout means we'll wait forever in this case, and
eventually the LED connection will timeout.

---------

Co-authored-by: LordGrey <48840279+Lord-Grey@users.noreply.github.com>
2024-06-14 20:40:50 +02:00
Thinner77
7f90637a2d
MF-grabber: Add support for bottom-up image handling (#1752)
* prepare bottom-up image handling

* add default stride handling, code cleaning

* fix code

* move whole logic to MF-grabber

* minor fix

---------

Co-authored-by: Thinner77 <none>
2024-06-14 20:40:17 +02:00
LordGrey
943f9e22f3
Update external modules (#1755)
* Update flatbuffers to 24.3.25

* Update protobuf to 27.1

* Update mbedtls to 3.6.0

* Change source of Vulkan SDK

* Readd directx-sdk

* Windows Fix?

* Update qt5_6.yml

* Typo

* Revert "Update qt5_6.yml"

This reverts commit cf8db993ec9b9d18b9054f992c77fe687ba8c412.

---------

Co-authored-by: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2024-06-14 20:39:27 +02:00
LordGrey
15c305b8f2
RGB24 and BGR24 cleanup (#1749)
* RGB24 and BGR24 cleanup

* Fix MF-Grabber

* Add BGR32 to V42L Grabber

* Add BGR32 to V42L Grabber

* Add BGR16 to V42L

* Revert "Add BGR16 to V42L"

This reverts commit 42975380f47a30a09f06d7dee7440b64b93aa305.
2024-06-01 20:26:20 +02:00
LordGrey
76fff98f5c
Implement ftdi led device - 2 (#1746) 2024-05-31 23:08:13 +02:00
LordGrey
77c9cf0302 Windows Fix 2024-05-31 19:01:28 +02:00
LordGrey
1eed23f765 Cleanups 2024-05-31 17:27:30 +02:00
Thinner77
897e4aac8a
Fix V4L2 BGR24 handling (#1748) 2024-05-30 22:30:29 +02:00
LordGrey
4e77d4a0d4 fix cast 2024-05-30 19:48:37 +02:00
LordGrey
0676f441f1 Merge remote-tracking branch 'origin/master' into temperture 2024-05-30 19:42:16 +02:00
LordGrey
5897e24316 Integrate color temperature into RGB transformations 2024-05-30 19:11:51 +02:00
David Sansome
8c303c8b9c
Windows: Add a DDA grabber for much better performance (#1745)
* Add a DXDI DDA grabber

* Change all names to camel case

* Handle cropping and pixel decimation

* Try more persistently to restart capture after an error occurred.

These can happen when changing resolution, or resuming from sleep.
2024-05-30 13:39:46 +02:00
LordGrey
07dfce68f6 Reapply temperature on JSONAPI 2024-05-25 19:53:48 +02:00
LordGrey
2f128e766f Merge remote-tracking branch 'origin/master' into temperture 2024-05-25 18:34:02 +02:00
Thinner77
5bcbe599d3
Fix flipmode for BGR24 special handling (#1739) 2024-05-24 17:57:10 +02:00
Thinner77
bde5d156a9
faster imageresampler (#1744) 2024-05-24 09:13:33 +02:00
LordGrey
e6714b21f9
Fix Philip Hue APIv2 support without Entertainment group defined (#1743) 2024-05-21 19:37:43 +02:00
LordGrey
4a5b0b6bf2
Fix #1688 - Fragmented http-Headers (#1741) 2024-05-18 09:14:30 +02:00
Thinner77
f6cc92606c
Change confusing logic (#1731)
* Change confusing logic

* Change confusing logic #2

* revert indent

---------

Co-authored-by: Thinner77 <none>
2024-05-13 19:31:51 +02:00
LordGrey
cf287f5adb
Refactor Hyperion JSON-API (#1727) 2024-05-08 22:06:32 +02:00
LordGrey
aca757138e
Nanoleaf Updates (#1724)
* Add new devices

* Do not restore ExtControl state
2024-04-16 21:57:51 +02:00
LordGrey
d5438acbf4
Fix Cross Site Scripting Vulnerability 1 (#1720) 2024-04-02 21:44:46 +02:00
LordGrey
86d08823a8
Add workaround for issue #1692 (#1695) 2024-03-30 15:44:18 +01:00
LordGrey
d7d6301ae8
Merge branch 'master' into temperture 2024-03-30 15:30:08 +01:00
LordGrey
806206ec01
Fix #1714 (#1717) 2024-03-15 20:23:53 +01:00
LordGrey
fedb409157
Matrix Layout enhancements (#1701)
* Support gaps on Matrix Layout

* Ensure BlackBorder objects are initialised

* Update Changelog

* Fix automated semicolon insertion

* Fix automated semicolon insertion

* Remove SPI activation from post install script (#1708)
2024-03-14 21:29:15 +01:00
LordGrey
e52d73be5c Add Temperature adjustment - add missing cmake updates 2024-03-03 12:12:40 +01:00
LordGrey
168caa255e Merge remote-tracking branch 'origin/master' into temperture 2024-03-03 11:58:50 +01:00
LordGrey
31df065c0f
Start SmartPointers (#1679)
* Refactor to fix #1671

* Add GUI/NonGUI mode to info page

* Do not show lock config, if in non-UI mode

* Updae Changelog

* Correct includes

* Ensure key member initialization - RGB Channels

* Ensure key member initialization - WebServer

* Update RGBChannels

* Fix initialization order

* Fix key when inserting new logger in LoggerMap,
Prepare logBuffer-JSON snapshot view in LoggerManager,
Increase buffered loglines to 500

* Fix Memory leak in GrabberWrapper

* Fix Memory leak in BlackBorderProcessor

* Fix Memory leak in BlackBorderProcessor

* use ninja generator under macos

* Fix BGEffectHandler destruction

* Fix Mdns code

* Clear list after applying qDeleteAll

* Fix deletion of CecHandler

* Fix memory leak caused by wrong buffer allocation

* Remove extra pixel consistently

* Change mDNS to Qt SmartPointers

* Correct removal

* Fix usage of _width/_height (they are the output resolution, not the screen resolution)
That avoids unnecessary resizing of the output image with every transferFrame call

* Move main non Thread Objects to Smart Pointers

* Refactor Hyperion Daemon unsing smartpointers

* Correction

* Correct typos/ align text

* Fix startGrabberDispmanx

* Fix startGrabberDispmanx

* Address CodeQL finding

* Create Screen grabbers via Template

* Fix typo

* Change way of logging

* Revert change

* Address deprecation warning

* Correct auto screen grabber evaluation

---------

Co-authored-by: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2024-02-25 17:35:39 +01:00
LordGrey
8c2e0c2519 Merge remote-tracking branch 'origin/master' into temperture 2024-02-25 17:06:35 +01:00
LordGrey
05d24b99c4
Fix Memory leaks (#1678)
* Refactor to fix #1671

* Add GUI/NonGUI mode to info page

* Do not show lock config, if in non-UI mode

* Updae Changelog

* Correct includes

* Ensure key member initialization - RGB Channels

* Ensure key member initialization - WebServer

* Update RGBChannels

* Fix initialization order

* Fix key when inserting new logger in LoggerMap,
Prepare logBuffer-JSON snapshot view in LoggerManager,
Increase buffered loglines to 500

* Fix Memory leak in GrabberWrapper

* Fix Memory leak in BlackBorderProcessor

* Fix Memory leak in BlackBorderProcessor

* use ninja generator under macos

* Fix BGEffectHandler destruction

* Fix Mdns code

* Clear list after applying qDeleteAll

* Fix deletion of CecHandler

* Fix memory leak caused by wrong buffer allocation

* Remove extra pixel consistently

* Change mDNS to Qt SmartPointers

* Correct removal

* Fix usage of _width/_height (they are the output resolution, not the screen resolution)
That avoids unnecessary resizing of the output image with every transferFrame call

* Move main non Thread Objects to Smart Pointers

* Revert "Move main non Thread Objects to Smart Pointers"

This reverts commit 26102ca963982e2fbc4ffb8d4db6139f0128a3cc.

* Add missing deletes

* Revert MdnsBrowser chnage

* Revert MdnsBrowser change

* Fix memory leaks related standalone grabber

* Address CodeQL finding

* delete pointer OsxFrameGrabber

---------

Co-authored-by: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2024-01-13 17:04:45 +01:00
LordGrey
cdd59ffc87
Fix #1671 (#1672)
* Refactor to fix #1671

* Add GUI/NonGUI mode to info page

* Do not show lock config, if in non-UI mode

* Updae Changelog

* Correct includes

* Remove unused variable

* use ninja generator under macos

---------

Co-authored-by: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2024-01-03 19:43:46 +01:00
LordGrey
0fce43840c
Corrections (#1662)
* Address "SyntaxWarning: invalid escape sequence"

* Correcttypo for CEC Blue button

* Fix enablement when already open

* Icons path corrected

* Correct path and simplify command

* Have enum class generalised

* Address compile warnings

* Update tinkerforce led_strip

* Address compiler waring

* Fix Install/Uninstall desktop- and icon file handling

* Address "fatal: detected dubious ownership in repository"

* platform fix

* Test  "fatal: detected dubious ownership in repository"

* Update "fatal: detected dubious ownership in repository"

* Update to Protobuf 25.1

* Update cmds with sudo

* Update SEDU default baud rates

* Replace deprecated Py_NoSiteFlag

* Correct default config

---------

Co-authored-by: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2023-12-03 21:23:31 +01:00