47 lines
923 B
Plaintext
47 lines
923 B
Plaintext
meta {
|
|
name: Device Temperatures
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/reset_temps
|
|
body: formUrlEncoded
|
|
auth: inherit
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
~index: 0
|
|
}
|
|
|
|
docs {
|
|
# Device Temperatures
|
|
|
|
Get or reset device temperature values.
|
|
|
|
Temperature labels:
|
|
- `t0`: Base
|
|
- `t1`: Head
|
|
- `t2`: LEDs RGBW
|
|
- `t3`: LEDs White
|
|
|
|
## Set Parameters
|
|
- `index` (optional): Reset index
|
|
- `0`: Base temperature reset
|
|
- `1`: Head temperature reset
|
|
- `2`: LEDs RGBW temperature reset
|
|
- `3`: LEDs White temperature reset
|
|
|
|
## Response
|
|
- `t0-t3`: Current temperatures (C/F based on unit)
|
|
- `tm0-tm3`: Maximum temperatures
|
|
- `tmr0-tmr3`: Resettable maximum temperatures
|
|
- `tu`: Temperature unit ("C" or "F")
|
|
- `status`: 0 if success
|
|
|
|
## Example
|
|
```json
|
|
{"t0":30,"t1":29,"t2":29,"t3":33,"tm0":44,"tm1":45,"tm2":45,"tm3":45,"tmr0":44,"tmr1":45,"tmr2":45,"tmr3":45,"tu":"C"}
|
|
```
|
|
}
|