This commit is contained in:
Mateusz Gruszczyński committed 2026-10-20 22:52:13 +02:00
1 parent f376f0a7b6
commit 8059e16d12
36 files changed
+1140 -193

No files matched your search

+9 -2
View File
@@ -2,9 +2,9 @@
Self-hosted controller for GREE-compatible air conditioners with a local Web UI, thermostat zones, schedules, Home Assistant integration, history, notifications and a documented HTTP/WebSocket API.
**Version: 0.16.1**
**Version: 0.16.3**
Version 0.16.1 adds configurable early heat coasting without unit ON/OFF cycling, per-Flow settings for coasting and deep standby, and separate Flow/manual status in the Web UI. Existing compressor protection and shared multisplit OFF logic are unchanged.
Version 0.16.3 adds built-in, localized explanations for the two Flow blocks (constant Yes and Simple day/night heating), including live examples calculated from each room's configured temperature and tooltips for every setting. Heating/control behavior from 0.16.2 is unchanged.
> [Full API reference](docs/API.md) — authentication, every endpoint, request bodies, response models, WebSocket events and examples.
> Built-in API: `/api/*` and `/ws`; interactive Swagger docs: `/api-docs`; OpenAPI JSON: `/api-docs/openapi.json`.
@@ -61,6 +61,9 @@ Useful development commands:
./scripts/dev.sh --release # optimized local build
./scripts/dev.sh --reset # recreate the local SQLite database
./scripts/smoke.sh # API smoke test against an isolated simulated instance
python3 scripts/verify_simple_heating.py # JSON/JS/import/metadata consistency (no Rust required)
node scripts/test_simple_heating_ui.js # Flow vs manual UI status scenarios
cargo test simple_heat_tests # six Rust temperature-regulation scenarios
```
The default panel is available at `http://127.0.0.1:8787` when the process is bound locally.
@@ -506,3 +509,7 @@ The editor supports optimistic revisions, so saving an older copy from another b
Diagnostics include a non-mutating dry-run endpoint/UI with a selectable simulation time, optional per-block sensor/state overrides, a per-node condition trace and an ownership/block reason. The Flow list also exposes a simpler scenario simulator beside the editor button: it uses live values by default and reduces the result to clear will-run / will-not-run / blocked outcomes with readable condition checks. Shared Home Assistant Flow inputs can also be tested directly in their editor against the current HA entity state. Flow-scoped execution and dry-run events can be viewed from the editor.
Individual Flows can be exported/imported as versioned `gree-controller-flow` JSON. A saved Flow can be exported directly from its card in the Flow list without opening the editor, and its description can be edited there through a quick modal; the editor export remains available for saved and unsaved drafts. Generated schedules and automations are intentionally excluded from the portable document and are regenerated from the source graph on import. Incomplete Flows can also be saved as disabled drafts; drafts preserve the editor graph but intentionally generate no schedules or automations until completed and saved normally. Shared inputs show which Flows reference them and link directly to those editors. The preset library includes 37 categorized scenarios for comfort, energy, safety, night, reliability, Home Assistant heat-source coordination and advanced multi-branch logic.
### Proste grzanie Flow (0.16.2)
Dla sypialni, Jana i Igora gotowe proste Flow (po 2 bloki) znajdują się w `flows/simple-heating/`. Zastępują złożone grafy v4; po imporcie należy dezaktywować stare v4. Osobne cele nocne: sypialnia 20.5 °C, Jan 20.8 °C, Igor 20.8 °C (można edytować w bloku). Dzienny cel 20.0 °C, próg uruchomienia 19.7 °C, zatrzymanie po 30 min stabilności. Wymaga włączonego harmonogramu **Trybu nocnego**. Działanie i progi: `docs/FLOW.md`.