Skip to content
Manjunath R
All work

Freelance · 2023 – 2024

IoT water-level dashboard. Live readings from 5+ ponds.

A live dashboard of pond water levels. About 20 devices were already sending readings into the client’s database. I built the backend that makes sense of them, and the screens that show them.

Role
Solo full-stack developer
Timeline
2023 – 2024
Stack
MongoDB, Express, React, Node.js, Redux
Client
A client in agricultural research

01 · Context and problem

Lots of data, and no way to read it.

Devices in the field were already writing water levels from 5+ ponds into the client’s database, every few seconds. The data was there, but there was no way to watch it or analyse it.

The client needed a way to watch the ponds live, and to look back over the readings.

Point at a tank to read it.

tanksrest

02 · My part

Solo full-stack developer

  • 01
    I was the only engineer. I built the backend that queries, groups and filters the raw readings into the shapes the client wanted, and the frontend that shows them.
  • 02
    I reworked the Redux state and the data fetching, so loading and updates got faster.

03 · Key decisions

The calls that shaped it.

  • q1

    Change how the devices send data, or build on what’s there?

    Build on what’s there. The devices and their database were the client’s, so I built on them and did all the shaping in a backend between the database and the screen.Trade-off · The backend has to fit a data layout I didn’t design.
  • q2

    Where should the readings be added up?

    On the server. The backend groups and filters the readings before they leave, so the browser only draws what it’s given.Trade-off · More backend work for every new view.
  • q3

    How does the dashboard stay live?

    With polling and server-sent events, so new readings reach the screen every few seconds without a page reload.Trade-off · Two ways of updating to keep working together.

04 · Outcome

Every pond, live, on one screen.

The client could watch all of its ponds at once and look back over the readings, without touching the devices or their database.

~20Devices reporting
5+Ponds watched
−30%Load and update time

The 30% figure was reported by the client.

05 · In hindsight

In hindsight

It taught me to build on data I didn’t design: how IoT devices send their readings, how they’re stored, and how to turn them into something people can use.