Initial implementation: CLI + KDE Plasma 6 widget for Elgato Key Light

- Python CLI (click): discover, status, on/off/toggle, brightness, temperature, info
- mDNS discovery via zeroconf for automatic light detection
- Shared config at ~/.config/elgato-cli/config.json
- KDE Plasma 6 plasmoid with system tray icon, power/brightness/temperature controls
- Plasmoid uses XMLHttpRequest directly to light API (no CLI dependency)
- Unit tests for API client with mocked HTTP responses
This commit is contained in:
2026-02-07 11:14:01 +01:00
commit ca36b15af1
14 changed files with 787 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "elgato-cli"
version = "0.1.0"
description = "CLI tool to control Elgato Key Light"
requires-python = ">=3.11"
dependencies = [
"click>=8.0",
"requests>=2.28",
"zeroconf>=0.80",
]
[project.optional-dependencies]
dev = ["pytest>=7.0"]
[project.scripts]
elgato = "elgato_cli.cli:cli"
[tool.setuptools.packages.find]
where = ["src"]