Anything might change. In a gist: I need an app on my linux system to be able to use the Philips Hue Entertainment. Official is non-existent, other solutions to my needs havent been found yet. All in all: project for fun with an overcomplicated stack.
- Http client in .netcore to communicate with the Hue Bridge:
- make it async (adjust something in the python usage)
- get a screenshot (main display for now):
- python implementation to grab screenshots as that seems easier and libraries are present
- some fast, low-level, closest-to-graphics app to grab screenshots: partly done with Xlib, but results not satisfactory
- implement color syncing in the most basic way: grab a screenshot from the main display and determine the dominant color:
- calculate the dominant color on an image
- convert result to the correct color space needed for the bulbs
- double check
- figure out calling python code from .netcore without external
Process
calls
- implement color syncing in a more advanced way: map the display with the entertainment area/light bulbs
"works on my machine" for now.
The repo includes a custom built pythonnet dll, could not manage to get it working in the official way... src/localpackages/Python.Runtime.dll
- .net core 3.1
- python libs:
- tkinter
- PIL
- numpy
- scipy
- pyscreenshot
- colormath
This project is licensed under the MIT License - see the LICENSE file for details