Add weather temperature sensor flag
This commit is contained in:
+5
-1
@@ -637,4 +637,8 @@ Request:
|
||||
{
|
||||
"id": "relay_1",
|
||||
"state": true
|
||||
}
|
||||
}\n\n### Weather temperature sensor flag
|
||||
|
||||
Temperature sensor config entries now include `weather: true`.
|
||||
|
||||
When a configured temp sensor has `weather: true`, the WebUI may show it as the outside/weather temperature badge. The `/status` temp objects also include this flag so HTTP, UART, USB serial, and future Pico clients can identify the selected outside-air sensor without guessing from the sensor name.\n
|
||||
@@ -105,5 +105,4 @@ Future additions must be implemented on:
|
||||
UART JSON
|
||||
HTTP API
|
||||
|
||||
before parity is considered maintained.
|
||||
|
||||
before parity is considered maintained.\n\n- Temperature sensor config/status parity now includes the `weather` boolean flag for outside-air display selection.\n
|
||||
@@ -265,4 +265,8 @@ Pico sends:
|
||||
|
||||
Alternative:
|
||||
|
||||
{"type":"clear_temp","slot":1}
|
||||
{"type":"clear_temp","slot":1}\n\n### Temperature weather flag
|
||||
|
||||
`status_response.config.temperature_sensors[]` and `status_response.temps[]` include `weather: false`.
|
||||
|
||||
`config_temp` may include `weather: true` to mark one configured sensor as the outside/weather sensor. Pico clients should treat this as optional and default missing values to `false`.\n
|
||||
@@ -163,4 +163,4 @@ Examples:
|
||||
5. Add config backup/restore.
|
||||
6. Improve BMS out-of-range behavior without changing NimBLE connect timeout.
|
||||
|
||||
- Fixed WebUI temperature probe scan by registering `/temps/scan`, `/temps/assign`, and `/temps/clear` firmware routes.
|
||||
- Fixed WebUI temperature probe scan by registering `/temps/scan`, `/temps/assign`, and `/temps/clear` firmware routes.\n\n- Added per-temperature-sensor `weather` flag and WebUI outside temperature badge with emoji thresholds: below 50°F ice, 50-74°F happy, 75-84°F sun, and 85°F+ fire.\n
|
||||
Reference in New Issue
Block a user