docs: note "include_monitors" arg for the temperature store
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
47f0f0c21e
commit
fe120952ee
|
@ -487,16 +487,28 @@ included.
|
||||||
#### Request Cached Temperature Data
|
#### Request Cached Temperature Data
|
||||||
HTTP request:
|
HTTP request:
|
||||||
```http
|
```http
|
||||||
GET /server/temperature_store
|
GET /server/temperature_store?include_monitors=false
|
||||||
```
|
```
|
||||||
JSON-RPC request:
|
JSON-RPC request:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"method": "server.temperature_store",
|
"method": "server.temperature_store",
|
||||||
|
"params": {
|
||||||
|
"include_monitors": false
|
||||||
|
},
|
||||||
"id": 2313
|
"id": 2313
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
- `include_monitors`: _Optional, defaults to `false`._ When set to `true`
|
||||||
|
the response will include sensors reported as `temperature monitors` by
|
||||||
|
Klipper. A temperature monitor may report `null` values in the `temperatures`
|
||||||
|
field, applications should be sure that they are modified to handle this
|
||||||
|
condition before setting `inlcude_monitors` to `true`.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
An object where the keys are the available temperature sensor names, and with
|
An object where the keys are the available temperature sensor names, and with
|
||||||
|
|
Loading…
Reference in New Issue