Simple FW for reading Dallas temperature sensors via DS248x with output as JSON
Output example
{ "0x28FF5A1A31180210": 23.06, "0x28FF9725311801EE": 23.12 }
All credits for DS2482 library goes to https://github.com/cybergibbons/DS2482_OneWire/
{ "error": "<error>" }
overcurrent
, restart after 5 secok
no_device
(DS248x not responsing), restart after 5 sec
Just send
{ "restart": true }
In fact sending just
restart
without beeing json is fine too
Responds with
{ "restart": "ok" }
response can take up to 1 sec