daemon/ha_client.py: HAClient (brightness, color_temp, on/off, state snapshot) over the HA REST API with smooth `transition`; token is read from a local %LOCALAPPDATA%\Clawdmeter\ha_config.json and is never logged. Verified end-to-end against a real Gledopto GL-C-006P tunable-white dimmer. ha_config.example.json is the committed template; the real config (with the token) lives outside the repo and is .gitignored as a safety net. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
33 lines
556 B
Plaintext
33 lines
556 B
Plaintext
# PlatformIO build artifacts
|
|
firmware/.pio/
|
|
firmware/.vscode/
|
|
|
|
# OS
|
|
.DS_Store
|
|
|
|
# Claude Code
|
|
.claude/
|
|
|
|
# Node tooling deps (npm install --no-save)
|
|
tools/node_modules/
|
|
tools/package-lock.json
|
|
|
|
# Mac daemon venv
|
|
daemon/.venv/
|
|
|
|
# Python bytecode cache
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Windows daemon venv
|
|
/.venv/
|
|
|
|
# PyInstaller build artifacts — the standalone exe ships via a Gitea release,
|
|
# not git (build it with build-exe.ps1 / clawdmeter.spec).
|
|
/build/
|
|
/dist/
|
|
*_dbg.spec
|
|
|
|
# Local Home Assistant config (holds a secret token - never commit)
|
|
daemon/ha_config.json
|