IoT Dashboard & Supplies (Gas + Water)

Objective

Monitor critical supply levels (LP Gas and Water) in real time to automate restocking and prevent operational shutdowns.

Proposed Architecture

1. LP Gas (Stationary Tank)

  • Challenge: Safe measurement in pressurized/explosive environment.
  • Solutions:
    • Option A (Magnetic/Hall): Sensor compatible with Rochester gauges (TwinSite). Magnetically attaches and reads the needle position. (e.g., industrial brands or DIY with ESP32 + Hall).
    • Option B (Computer Vision): ESP32-CAM pointing at the analog gauge. Takes periodic photo OCR/AI Digital data. (Cheaper, less invasive).

2. Water (Cistern)

  • Solutions:
    • Ultrasonic (JSN-SR04T): Waterproof sensor on the lid. Measures distance to the surface.
    • Hydrostatic Pressure: Submersible sensor at the bottom (4-20mA). Greater precision, unaffected by condensation.

3. Technology Stack

  • Edge: ESP32 (WiFi Microcontroller) at each branch collecting data.
  • Protocol: MQTT or HTTP POST to central server.
  • Backend: Node.js/Python processing readings.
  • Alert Logic:
    • IF level < 15% THEN Trigger Alert (WhatsApp/Telegram).
    • Consumption prediction (“Runs out in 3 days”).
  • Frontend: Integration into the v0-lcx-pwa PWA (Historical graphs and current gauge).