All Projects → BradyBrenot → Huestacean

BradyBrenot / Huestacean

Licence: apache-2.0
Philips Hue control app for desktop with screen syncing. C++ with Qt Quick GUI.

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Huestacean

Spix
UI test automation library for QtQuick/QML Apps
Stars: ✭ 48 (-90.08%)
Mutual labels:  qtquick, qt
Awesome Qt Qml
A curated list of awesome Qt and QML libraries, resources, projects, and shiny things.
Stars: ✭ 1,118 (+130.99%)
Mutual labels:  qtquick, qt
Slate
Pixel Art Editor
Stars: ✭ 723 (+49.38%)
Mutual labels:  qtquick, qt
Scihubeva
A Cross Platform Sci-Hub GUI Application
Stars: ✭ 683 (+41.12%)
Mutual labels:  qtquick, qt
Qml Box2d
Box2D QML plugin
Stars: ✭ 223 (-53.93%)
Mutual labels:  qtquick, qt
Qaterial
🧩 Collection of Material Components based on QtQuickControls2.
Stars: ✭ 110 (-77.27%)
Mutual labels:  qtquick, qt
Osgqtquick
Intergation OpenSceneGraph to Qt Quick
Stars: ✭ 53 (-89.05%)
Mutual labels:  qtquick, qt
QDashBoard
Sample dashboard developed with QML. Login, plots and several screens.
Stars: ✭ 34 (-92.98%)
Mutual labels:  qt, qtquick
Lablqml
Interfacing Qt/QML with OCaml. Formely known as lablqt
Stars: ✭ 136 (-71.9%)
Mutual labels:  qtquick, qt
Autoannotationtool
A label tool aim to reduce semantic segmentation label time, rectangle and polygon annotation is supported
Stars: ✭ 113 (-76.65%)
Mutual labels:  qtquick, qt
yacalendar
Yet another calendar component for Qt Quick Controls 2
Stars: ✭ 23 (-95.25%)
Mutual labels:  qt, qtquick
Taoquick
a cool QtQuick/qml component library and demo(一套酷炫的QtQuick/Qml基础库和示例)
Stars: ✭ 481 (-0.62%)
Mutual labels:  qtquick, qt
Toou 2d
基于Qt Quick(Qml) 跨平台技术打造的2D框架
Stars: ✭ 413 (-14.67%)
Mutual labels:  qt
Renderlab
App of RTR, PTR and Editor
Stars: ✭ 443 (-8.47%)
Mutual labels:  qt
Nheko
No longer maintained - Desktop client for the Matrix protocol (active fork https://github.com/Nheko-Reborn)
Stars: ✭ 410 (-15.29%)
Mutual labels:  qt
Qmqtt
MQTT Client for Qt
Stars: ✭ 409 (-15.5%)
Mutual labels:  qt
Scriptcommunicator serial Terminal
Scriptable cross-platform data terminal which supports: serial port, UDP, TCP, SPI, I2C and CAN.
Stars: ✭ 462 (-4.55%)
Mutual labels:  qt
Singleapplication
Replacement of QtSingleApplication for Qt5 with support for instance communication.
Stars: ✭ 443 (-8.47%)
Mutual labels:  qt
Qzxing
Qt/QML wrapper library for the ZXing library. 1D/2D barcode image processing library
Stars: ✭ 401 (-17.15%)
Mutual labels:  qt
Opencv Mingw Build
👀 MinGW 32bit and 64bit version of OpenCV compiled on Windows. Including OpenCV 3.3.1, 3.4.1, 3.4.1-x64, 3.4.5, 3.4.6, 3.4.7, 3.4.8-x64, 3.4.9, 4.0.0-alpha-x64, 4.0.0-rc-x64, 4.0.1-x64, 4.1.0, 4.1.0-x64, 4.1.1-x64, 4.5.0-with-contrib
Stars: ✭ 401 (-17.15%)
Mutual labels:  qt

Huestacean

Philips Hue screen syncing app for Desktop. Uses Philips' new Entertainment API to sync the user's screen with their lights with very low latency.

Youtube video demonstrating Huestacean's screen sync feature Youtube video demonstrating Huestacean's screen sync feature

Download

Downloadable binaries for Windows and macOS are available on the Releases page; see Installing for more information. It ought to also be possible to build the source for Linux but this has not yet been tested, see Building below.

Safety notice

This software can cause rapid flickering of your Hue lights that may trigger photosensitive epileptic seizures in vulnerable individuals, including those who have never experienced epilepsy or seizure symptoms previously. DO NOT use this if you are or suspect you are affected by photosensitive epilepsy, or are otherwise photosensitive, epileptic, or suffer from seizures generally. Cease use immediately and consult a doctor if you suffer from any seizure symptoms, which may include lightheadedness, altered vision, eye or face twitching, jerking or shaking of arms or legs, disorientation, confusion, or momentary loss of awareness.

General notes

Hue requirements

A Gen2 bridge is a must. Your bridge and lights should also be using the latest firmware. Use the Philips Hue Android or iOS app to update the firmware.

At the moment this software can't create entertainment groups. You need to do this in the Hue app. Philips has a video describing how to do this on the Hue Youtube channel.

Lights

The Lightstrip Plus is by far the best light I've found for this. It has a wide color gamut, and it dims to a super dark state before it turns off completely. My Gen 1 lights are still pretty bright at their dimmest. This can be a problem when syncing the lights in a darkened room.

Positioning lights

For the best experience, I'd suggest using or more lights behind or to the side of the display, in front of you and within the central cone of vision. Rapid changes in lights behind or to your side are likely to be more distracting and annoying than they are actually enjoyable. The video above is more lights than I actually use this with; usually I only have the one lightstrip behind my TV syncing.

Installing

Windows

Only (64-bit) Windows 8 and 10 are fully supported as the application uses the IDXGIOutputDuplication API which is only available from Windows 8 onwards. This allows the application to capture almost anything, including fullscreen games, with extremely high performance. If someone else is interested in working on Windows 7 support I'd welcome PRs, though.

If you have a Hybrid GPU setup (some laptops, convertibles, etc.), make sure you run Huestacean on the Integrated GPU, not the Discrete GPU.

Prerequisites

Install

Download the latest from releases. Extract anywhere. Run huestacean.exe

macOS

Only supported on macOS 10.7+ (uses AVCaptureScreenInput)

Download the .app from releases and run it.

So far it's only been tested on 10.11.6 on an old Macbook Pro.

Linux

Build from source. See relevant section under Building.

Android

This is still experimental, and is known to crash. Side-load the APK and run it. It does not currently run as a service so Android will kill it to save resources if it thinks it needs to. Requires Android 5.0 (uses MediaProjection)

The apk should work for most modern ARM-based Android devices with at least Android 5

  • Has not been tested on any real hardware older than Android 7.0, although it has been tested on 5.1 on an emulator.
  • Turn off battery optimization on the app or Android will eventually suspend it while it's in the background!
  • Works just great on my old Galaxy Note 3 (with Lineage OS), which is more than four years old; I can streami Youtube and you couldn't tell the difference from when I run it on my PC.
  • Will not work in Netflix and other video apps that tell Android they're showing "secure" content.
    • Xposed's DisableSecureFlag module can bypass this but don't install that unless you actually know what you're doing and how to recover from a boot loop. You could hose your device, do this at your own risk. Also mind that this allows other screen recording software to record other "secure" apps like banking apps.

Reporting bugs

Use this repository's Issues to report bugs or other problems.


Building

Major development is presently active on the master branch, you'll need to use a previous Release to build a working copy of Huestacean at the moment.

Dependencies

  • Qt 5.10
  • CMake 3.9

Windows

  • Visual Studio 2017. Community Edition is fine.

All platforms

Clone the repository and its submodules

git clone --recursive git://github.com/BradyBrenot/huestacean.git
cd huestacean

If you've already cloned without the submodules, or you've synced before I changed one of their paths, you may need to

git submodule sync
git submodule update --init --recursive

Windows

CMake, command prompt

Run the 'x64 Native Tools Command Prompt for VS 2017'. cd to the repository directory.

Assuming you have Qt5.10 installed in C:\Qt\5.10.0, run:

mkdir build
mkdir build\debug
mkdir build\release
cd build
SET CMAKE_PREFIX_PATH=C:\Qt\5.10.0\msvc2017_64\lib\cmake
cmake .. -G "Visual Studio 15 2017 Win64"
cd debug
msbuild ../Huestacean.vcxproj /property:Configuration=Debug /property:Platform=x64
cd ../release
msbuild ../Huestacean.vcxproj /property:Configuration=Release /property:Platform=x64

Then use windeployqt to copy in the necessary deployment files. e.g.

C:\Qt\Qt5.10.0\5.10.0\msvc2017_64\bin\windeployqt.exe huestacean.exe -qmldir=../../qml

CMake, Visual Studio

Set the CMAKE_PREFIX_PATH environment variable to, e.g., C:\Qt\5.10.0\msvc2017_64\lib\cmake

Open VS 2017. File -> Open -> CMake -> huestacean\CMakeLists.txt

Switch configuration to x64-Debug or x64-Release

CMake -> Build Only -> Huestacean

or set Huestacean as the startup target and start debugging.

NB: You'll need to copy the necessary Qt DLLs over or run windeployqt before the project will run. e.g.

C:\Qt\Qt5.10.0\5.10.0\msvc2017_64\bin\windeployqt.exe huestacean.exe -qmldir=../../qml

Mac

Set the CMAKE_PREFIX_PATH environment variable to point to your Qt install directory. For Mac, this could look like:

export CMAKE_PREFIX_PATH=~/Qt/5.10.0/clang_64/lib/cmake

cd into the repository directory, then simply build with cmake and make

mkdir build
cd build
cmake ..
make huestacean

Mac deployment

Use macdeployqt to copy in the necessary Frameworks and other files.

~/Qt/5.10.0/clang_64/bin/macdeployqt huestacean.app -qmldir=../qml

Linux

  1. Make sure you have Qt5 >= 5.10.0 and cmake installed. If not, use your package manager to install them, e.g. yum install cmake or pacman -S cmake. You can also install Qt5 from the offical website if the correct version is not available in your package manager.
  2. Clone the Huestacean project and make sure all submodules are up to date.
git clone --recursive git://github.com/BradyBrenot/huestacean.git
cd huestacean
# The next two lines should only be necessary if you've previously cloned
# without the submodules, or you've synced before one of their paths changed
git submodule sync
git submodule update --init --recursive
  1. Use cmake to build Huestacean, or build it with QtCreator.
mkdir build
cd build
cmake ..
make huestacean

Run Huestacean and enjoy! (.../huestacean/build/huestacean)

External libraries

This project is using:

License

The source code for this application is licensed under the Apache License Version 2.0. All code, excepting what's in the thirdparty directory, should be assumed to be under this license unless stated otherwise, regardless of being tagged with the Apache 2.0 boilerplate or not. Refer to the LICENSE file for the text of the license and other details.

Third-party licenses

This software makes use of open source software under various licenses, which may be found in the thirdparty/licenses directory.

Further details can be found at the bottom of the LICENSE file, under the text of the Apache License Version 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].