v0.14.15
This commit is contained in:
@@ -124,7 +124,7 @@ Environment values explicitly supplied for supported runtime overrides win over
|
||||
| --- | --- | --- |
|
||||
| `GREE_CONTROLLER_BIND` | `0.0.0.0:8787` | HTTP/WebSocket listen address. |
|
||||
| `GREE_CONTROLLER_DATABASE` | `./data/gree-controller.db` | SQLite database path. |
|
||||
| `GREE_CONTROLLER_APP_TOKEN` | empty | Optional administrator API/Web UI token. Empty means trusted-LAN mode. |
|
||||
| `GREE_CONTROLLER_APP_TOKEN` | empty | Administrator API/Web UI token. Empty means trusted-LAN mode in standalone installs; with HA Supervisor auth active, empty disables direct dashboard/API access on the exposed port. |
|
||||
| `GREE_CONTROLLER_BASE_PATH` | empty | Optional reverse-proxy prefix such as `/gree`. |
|
||||
| `GREE_CONTROLLER_ID` | `gree-controller` | GREE client/controller identifier. |
|
||||
| `GREE_CONTROLLER_SIMULATE` | `false` | Initial Simulation mode. |
|
||||
@@ -283,6 +283,8 @@ There are two independent Home Assistant directions.
|
||||
|
||||
In the Home Assistant add-on, the connection to Home Assistant Core is automatic through the Supervisor API proxy; no Home Assistant URL or Long-Lived Access Token is required.
|
||||
|
||||
When the add-on detects `SUPERVISOR_TOKEN`, Home Assistant ingress remains trusted, but direct Web UI/API access on TCP `8787` requires `app_token`. If `app_token` is empty, direct dashboard/API access is disabled. History → Custom Charts → Copy link creates a random persisted share token and returns a chart-only URL. In the add-on it bypasses HA ingress and targets the same HA host/IP on the direct HTTP port (normally `8787`); in standalone mode it uses the current controller origin/base path. Only the generated chart view/data endpoint is public to the network.
|
||||
|
||||
For standalone installations, configure **Home Assistant / Sensors** in the Web UI or use:
|
||||
|
||||
```text
|
||||
@@ -449,7 +451,7 @@ Swagger UI includes endpoint descriptions, authentication schemes, request/respo
|
||||
examples and documented error responses. If `GREE_CONTROLLER_BASE_PATH` is configured, prefix
|
||||
both paths with that base path.
|
||||
|
||||
Public health check:
|
||||
Health check (public in standalone mode; in Supervisor mode anonymous only from the Supervisor watchdog, otherwise protected by `GREE_CONTROLLER_APP_TOKEN`):
|
||||
|
||||
```bash
|
||||
curl http://127.0.0.1:8787/api/health
|
||||
|
||||
Reference in New Issue
Block a user