Add configurable DS18B20 temperature probe support
This commit is contained in:
@@ -232,3 +232,37 @@ Preferred response:
|
||||
{"type":"config_wifi","networks":[{"ssid":"Starlink","password":"password","priority":1},{"ssid":"Home WiFi","password":"password","priority":2}]}
|
||||
|
||||
Lower priority numbers are tried first.
|
||||
|
||||
---
|
||||
|
||||
# Temperature Probe Setup
|
||||
|
||||
## Scan Temperature Sensors
|
||||
|
||||
Pico sends:
|
||||
|
||||
{"type":"scan_temps"}
|
||||
|
||||
ESP32 responds:
|
||||
|
||||
{"type":"temp_scan_response","ok":true,"devices":[{"index":1,"address":"28:AA:BB:CC:DD:EE:FF:00"}]}
|
||||
|
||||
## Assign Temperature Sensor
|
||||
|
||||
Pico sends:
|
||||
|
||||
{"type":"assign_temp","id":"temp_1","index":1}
|
||||
|
||||
Alternative:
|
||||
|
||||
{"type":"assign_temp","slot":1,"index":1}
|
||||
|
||||
## Clear Temperature Sensor
|
||||
|
||||
Pico sends:
|
||||
|
||||
{"type":"clear_temp","id":"temp_1"}
|
||||
|
||||
Alternative:
|
||||
|
||||
{"type":"clear_temp","slot":1}
|
||||
|
||||
Reference in New Issue
Block a user