Travis Labs Journal of Engineering and Technology · Vol. 1, Issue 1, pp. 30–35

Technical Note

HydroEdge: A Disconnection-Tolerant Edge-Cloud Architecture for the WaterHandler Smart Water Valve Controller

  1. Travis Labs, Hero Control Systems Limited, Lusaka, Zambia

0 views · 8 downloads

Received
11 January 2026
Accepted
14 November 2026
Published
30 November 2026
Licence
CC BY 4.0
Review status
Not peer reviewed

Abstract

A motorised water valve that can be closed from a phone is useful only if it still works when the internet, the router or the cloud does not. This note describes HydroEdge, the edge-cloud architecture of WaterHandler, a smart water valve controller developed by Hero Control Systems, and separates what the shipped firmware (version 2.8: ESP32, FreeRTOS, AWS IoT Core over mutually authenticated MQTT) does from what is proposed. The baseline gives the local push button its own task, so the valve can be operated during an outage; persists the commanded valve state in non-volatile storage and drives the valve back to it after a reboot; provisions Wi-Fi by SmartConfig; and accepts over-the-air updates. A review of the source also finds gaps: cloud reconnection is a blocking loop with a fixed 500 ms retry, recovery from a lost access point is by reboot, the motor-overrun lockout cannot trigger as written, and no Device Shadow is used. The proposed design adds non-blocking reconnection with capped exponential backoff and full jitter, Device Shadow reconciliation, a single actuator task with limit-switch-terminated, time-bounded motion, and a committed fault counter. No field data exist yet, and none are reported. Analysis of the two reconnection algorithms shows the proposal lowers a waiting device's mean retry rate from up to 2 attempts per second to 1 per 150 s once the backoff is capped, at the cost of up to 300 s extra delay before remote control resumes. An evaluation plan with metrics, fault injection and instrumentation is given.

Not peer reviewed. It is published by Travis Labs, the research division of Hero Control Systems Limited, to share engineering practice and student work in Zambia. Readers should evaluate the methods and data independently.

Certificates for the authors: view and print. Anyone can check a certificate on this page.

Funding

No external funding was received.

Conflicts of interest

The author founded Hero Control Systems Limited, which develops the WaterHandler controller described in this article and could benefit commercially from it.

Data and artifact availability

No experimental data were generated. The firmware source (WaterHandler v2.8) is held in a private Hero Control Systems repository and is not public. The script that derives Fig. 3 and the reconnection figures in Section 4 is held in the Travis Labs repository and is available from the corresponding author.

How to cite

APA

Kalembo, C. (2026). HydroEdge: A Disconnection-Tolerant Edge-Cloud Architecture for the WaterHandler Smart Water Valve Controller. Travis Labs Journal of Engineering and Technology, 1(1), 30–35. https://www.hcsys.co/insights/journal/hydroedge-disconnection-tolerant-water-valve-control

IEEE

C. Kalembo, “HydroEdge: A Disconnection-Tolerant Edge-Cloud Architecture for the WaterHandler Smart Water Valve Controller,” Travis Labs J. Eng. Technol., vol. 1, no. 1, pp. 30–35, Nov. 2026. [Online]. Available: https://www.hcsys.co/insights/journal/hydroedge-disconnection-tolerant-water-valve-control

References

  1. Insurance Information Institute, “Facts + statistics: Homeowners and renters insurance,” Triple-I, data from ISO/Verisk, table “Average homeowners losses, 2020–2024”; accessed 30 November 2026. [Online]. Available: https://www.iii.org/fact-statistic/facts-statistics-homeowners-and-renters-insurance
  2. WHO/UNICEF Joint Monitoring Programme for Water Supply, Sanitation and Hygiene, “Progress on household drinking water, sanitation and hygiene 2000–2024: Special focus on inequalities,” World Health Organization and United Nations Children’s Fund, 2025, accessed 30 November 2026. [Online]. Available: https://washdata.org/reports/jmp-2025-wash-households
  3. A. Botta, W. de Donato, V. Persico, and A. Pescapé, “Integration of cloud computing and Internet of Things: A survey,” Future Generation Computer Systems, vol. 56, pp. 684–700, 2016, doi:10.1016/j.future.2015.09.021.
  4. H. Derhamy, J. Eliasson, J. Delsing, and P. Priller, “A survey of commercial frameworks for the Internet of Things,” in Proc. IEEE 20th Conf. Emerging Technologies & Factory Automation (ETFA), 2015, pp. 1–8, doi:10.1109/ETFA.2015.7301661.
  5. W. Shi, J. Cao, Q. Zhang, Y. Li, and L. Xu, “Edge computing: Vision and challenges,” IEEE Internet of Things Journal, vol. 3, no. 5, pp. 637–646, 2016, doi:10.1109/JIOT.2016.2579198.
  6. M. Satyanarayanan, “The emergence of edge computing,” Computer, vol. 50, no. 1, pp. 30–39, 2017, doi:10.1109/MC.2017.9.
  7. Google Cloud, “Cloud IoT API (google.cloud.iot.v1) reference,” Google Cloud documentation, states that the IoT Core service is deprecated with a retirement date of 16 August 2023; accessed 30 November 2026. [Online]. Available: https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/latest
  8. F. Bonomi, R. Milito, J. Zhu, and S. Addepalli, “Fog computing and its role in the Internet of Things,” in Proc. 1st Edition of the MCC Workshop on Mobile Cloud Computing, 2012, pp. 13–16, doi:10.1145/2342509.2342513.
  9. J. A. Stankovic, “Research directions for the Internet of Things,” IEEE Internet of Things Journal, vol. 1, no. 1, pp. 3–9, 2014, doi:10.1109/JIOT.2014.2312291.
  10. J. Lee, B. Bagheri, and H.-A. Kao, “A cyber-physical systems architecture for Industry 4.0-based manufacturing systems,” Manufacturing Letters, vol. 3, pp. 18–23, 2015, doi:10.1016/j.mfglet.2014.12.001.
  11. S. Raza, P. Misra, Z. He, and T. Voigt, “Building the Internet of Things with Bluetooth Smart,” Ad Hoc Networks, vol. 57, pp. 19–31, 2017, doi:10.1016/j.adhoc.2016.08.012.
  12. C. Kalembo and J. Mbale, “Cyber physical framework for mining pollution remediation using RISC-V and AI in Zambia,” Zambia ICT Journal, vol. 9, no. 2, pp. 13–17, 2025, doi:10.33260/zictjournal.v9i2.411.
  13. J. Gubbi, R. Buyya, S. Marusic, and M. Palaniswami, “Internet of Things (IoT): A vision, architectural elements, and future directions,” Future Generation Computer Systems, vol. 29, no. 7, pp. 1645–1660, 2013, doi:10.1016/j.future.2013.01.010.
  14. A. Zanella, N. Bui, A. Castellani, L. Vangelista, and M. Zorzi, “Internet of Things for smart cities,” IEEE Internet of Things Journal, vol. 1, no. 1, pp. 22–32, 2014, doi:10.1109/JIOT.2014.2306328.
  15. M. Mutchek and E. Williams, “Moving towards sustainable and resilient smart water grids,” Challenges, vol. 5, no. 1, pp. 123–137, 2014, doi:10.3390/challe5010123.
  16. R. A. Stewart, R. Willis, D. Giurco, K. Panuwatwanich, and G. Capati, “Web-based knowledge management system: linking smart metering to the future of urban water planning,” Australian Planner, vol. 47, no. 2, pp. 66–74, 2010, doi:10.1080/07293681003767769.
  17. T. R. Gurung, R. A. Stewart, C. D. Beal, and A. K. Sharma, “Smart meter enabled water end-use demand data: platform for the enhanced infrastructure planning of contemporary urban water supply networks,” Journal of Cleaner Production, vol. 87, pp. 642–654, 2015, doi:10.1016/j.jclepro.2014.09.054.
  18. U. Hunkeler, H. L. Truong, and A. Stanford-Clark, “MQTT-S—A publish/subscribe protocol for wireless sensor networks,” in Proc. 3rd Int. Conf. Communication Systems Software and Middleware (COMSWARE), 2008, pp. 791–798, doi:10.1109/COMSWA.2008.4554519.
  19. D. Thangavel, X. Ma, A. Valera, H.-X. Tan, and C. K.-Y. Tan, “Performance evaluation of MQTT and CoAP via a common middleware,” in Proc. IEEE 9th Int. Conf. Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), 2014, pp. 1–6, doi:10.1109/ISSNIP.2014.6827678.
  20. J. E. Luzuriaga, M. Perez, P. Boronat, J. C. Cano, C. Calafate, and P. Manzoni, “A comparative evaluation of AMQP and MQTT protocols over unstable and mobile networks,” in Proc. 12th IEEE Consumer Communications and Networking Conf. (CCNC), 2015, pp. 931–936, doi:10.1109/CCNC.2015.7158101.
  21. Amazon Web Services, “MQTT,” AWS IoT Core Developer Guide, sections on QoS and MQTT persistent sessions; accessed 30 November 2026. [Online]. Available: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html
  22. Espressif Systems, “Arduino core for the ESP32, release 2.0.17,” GitHub, source of the EEPROM library (NVS-backed) and the Arduino loop task; accessed 30 November 2026. [Online]. Available: https://github.com/espressif/arduino-esp32/releases/tag/2.0.17
  23. Espressif Systems, ESP32 Series Datasheet, 2026, version 5.3, July 2026; Tables 4-2 and 5-4. [Online]. Available: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
  24. Espressif Systems, ESP32-WROOM-32 Datasheet, version 3.8; the module is marked Not Recommended for New Designs. [Online]. Available: https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf
  25. Espressif Systems, “Non-volatile storage library,” ESP-IDF Programming Guide v4.4.7 (ESP32), accessed 30 November 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/v4.4.7/esp32/api-reference/storage/nvs_flash.html
  26. Espressif Systems, “SmartConfig,” ESP-IDF Programming Guide v4.4.7 (ESP32), accessed 30 November 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/v4.4.7/esp32/api-reference/network/esp_smartconfig.html
  27. N. O’Leary, “PubSubClient: Arduino client for MQTT, version 2.8,” GitHub, README, “Limitations”; accessed 30 November 2026. [Online]. Available: https://github.com/knolleary/pubsubclient
  28. OTAdrive, “OTAdrive library for ESP8266/ESP32, version 1.1.33,” GitHub, accessed 30 November 2026. [Online]. Available: https://github.com/otadrive/OTAdriveESP
  29. M. Brooker, “Exponential backoff and jitter,” AWS Architecture Blog, Mar. 2015, published 4 March 2015; accessed 30 November 2026. [Online]. Available: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
  30. Amazon Web Services, “AWS IoT device shadow service,” AWS IoT Core Developer Guide, accessed 30 November 2026. [Online]. Available: https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html
WhatsApp usCall us