DEV Community

Cover image for Debugging a Hot Tub Time (Series) Machine
Rob Lauer for Blues

Posted on • Originally published at blues.io

1

Debugging a Hot Tub Time (Series) Machine

I don't mean to sound like a prude or anything, but when a neighbor invites me over for a hot tub party, I'm gonna hope the hot tub itself looks a little more like the one on the left, than the one on the right:

hot tub comparison

You might not know it, but even a clean-looking hot tub or pool can still harbor nasty bacteria! So how can we make hot tubs and pools around the world safer, and frankly, more fun? In this Hackster project, I walk through how I built an IoT project with:

  • A variety of water quality sensors from DFRobot;
  • A new Feather-compatible microcontroller (spoiler: Swan);
  • A cellular device-to-cloud data pump (another spoiler: Notecard);
  • A cloud-based dashboard from Losant populated by time series data;
  • PLUS an SMS notification from Twilio for chlorine emergencies!

Interested in a preview of this project? Check out the project trailer on YouTube:

As an owner (or even user) of a hot tub, it's a pain to keep your water clean. You have to maintain the proper chlorine and pH levels by regularly sampling the water, running tests, waiting for the results, adding chlorine, sampling again, and repeating until your levels stabilize appropriately.

This whole process of sampling the water, running tests, waiting for the results, adding chlorine, sampling again, and repeating until your levels stabilize appropriately is dying for automation. The beauty of the IoT too, is that we can take a semi-traditional sensor project and build it out into a robust cloud-based dashboard with proactive SMS text messages for alerting.

hot tub dashboard and sms

Check out the completed project on Hackster!

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay