This commit is contained in:
Mateusz Gruszczyński
2026-09-04 11:43:37 +02:00
parent 9b4fafdfa6
commit ade221bb76
16 changed files with 338 additions and 40 deletions
+10 -3
View File
@@ -1,6 +1,6 @@
# GREE Controller API reference
HTTP and WebSocket API for GREE Controller **0.13.1**.
HTTP and WebSocket API for GREE Controller **0.13.2**.
[← Main documentation](../README.md)
@@ -231,7 +231,7 @@ Response:
{
"status": "ok",
"name": "gree-controller",
"version": "0.13.1",
"version": "0.13.2",
"uptime_seconds": 1234,
"control_ready": true,
"time": "2026-08-30T06:54:00Z"
@@ -257,7 +257,7 @@ Returns the initial Web UI snapshot:
"control_plan": {"generated_at": "2026-09-04T08:00:00Z", "zones": [], "rules": []},
"control_plan_revision": 42,
"system": {
"version": "0.13.1",
"version": "0.13.2",
"uptime_seconds": 1234,
"auth_required": false,
"control_ready": true,
@@ -1433,6 +1433,9 @@ schedule.template_applied
automation.created
automation.updated
automation.deleted
flow.created
flow.updated
flow.deleted
settings.application.updated
settings.gree.updated
settings.history.updated
@@ -1442,8 +1445,10 @@ settings.night.updated
settings.home_assistant.updated
settings.debug.updated
house.mode_changed
outdoor.updated
configuration.imported
api.request
gree.frame_received
gree.frame
log.created
```
@@ -1452,6 +1457,8 @@ log.created
`zone.updated` keeps the existing full-zone payload. Regulator passes that only advance the internal `updated_at` heartbeat are deduplicated and do not emit a frame; any actual zone state/sensor/control change still emits the full snapshot. Device polling keeps `device.updated` heartbeats for live `last_seen` UI, but heartbeat-only fields do not invalidate `control-plan`.
In `0.13.2`, the bundled Web UI mirrors entity CRUD events directly into its local state. Schedule-template replacement performs a targeted schedule resync, configuration import performs a full bootstrap resync, and runtime automation/device-health changes publish their updated snapshots immediately.
Additional engine/integration events may be introduced without changing the envelope.
`api.request` data: