Back to engineering archive

Record 040 / Connected systems

Pool-monitoring HTTP-client draft

An archived pool-monitoring client requests commands, calls selected actuator or temperature routines and sends a report. Chemistry and particle fields are placeholders, with incomplete relay timing and initialization.

Archived integration draft
ESP32 targetHTTP clientTimed relay routinesSerial diagnostics

Archived source flow

Selected archived pool-monitoring HTTP client loop. Connect and establish the device, read battery and send a status request, use a parsed nonzero sample-rate field to enter conditional routines, send a report with placeholder fields, wait100seconds and repeat. Actuator timing, initialization and transport parsing remain incomplete; no chemical measurement or safe automation is established.
Selected HTTP-client loop reconstructed from archived source. Placeholder fields and incomplete relay servicing prevent a claim of reliable sampling or chemical measurement. View diagram at full size

Technical notes

Client and command handling

The code connects to a configured server, sends a status request and parses update flags. A nonzero parsed sample-rate value gates the selected chlorine, phosphate, temperature and refill calls before a report is sent. It is an HTTP client, not a demonstrated browser dashboard.

Timing and initialization

Relay pin setup is defined in the relay module but is not called by the selected main sketch. Pump timing is serviced only through the refill-pause helper; the 100-second loop delay and other paths can leave it unserviced. The helper can also permit dispensing before pump completion.

Incomplete measurements and transport

The filled-cuvette flag is not updated from a sensor. Chemistry and particle report fields remain placeholders, and transmitted regulator/pump flags are fixed values. Server settings are blank and the field parser lacks bounded missing-field handling. Build, server integration, wet testing and measurement accuracy are unverified.

Engineering archiveArchive record

Project enquiries

Discuss your project.

Tell us what you’re developing and where you need engineering support.

Discuss your project