PHreader-UI - React PH Data Frontend

What is PHreader-UI? PHreader-UI is the display portion of the Hot Tub PH Monitoring System PHreader-UI is a SPA(single-page application) which was bootstrapped using Create React App. The application makes use of the Flux Pattern to manage the data flow. Stack * React + Flux Pattern * reactstrap »

PHrest - Node.js + ExpressJS REST API

What is PHrest? PHrest is a REST API that retrieves Ph data from a PostgreSQL database. It is a data source that PHreader retrieves from the Raspberry Pi circuit and stores. This post will not delve into technical details, as the API itself is constructed using the Node.js+ExpressJS »

PHreader - Storing PH Data into PostgreSQL

As mentioned in section 1, the Raspberry Pi PH Circuit (https://undiluted.org/raspberry-pi-ph-circuit/) was selected, incorporating a PH sensor from AtlasScientific (https://www.atlas-scientific.com/product_pages/kits/ph-kit.html) and a Raspberry Pi Zero. Summary - What PHreader is In short, PHreader is a »

Hot Tub PH Monitoring System

This blog post, will describe the process of building out a Hot Tub PH monitoring system. There will be four sections: * Raspberry Pi PH Circuit * Storing PH Data into PostgreSQL (PHreader) * Node.js+ExpressJS REST API to obtain PH data from PostgreSQL (PHrest) * React Frontend for display of PH Data »

Raspberry Pi PH Circuit

Raspberry Pi PH Circuit The first section of this project was building the Circuit which would be used to pull the PH from the Hot Tub's water. To build the circuit, I settled on a Raspberry Pi Zero v1, and not the newer Raspberry Pi Zero W. The »

JSON Parsing in Bash

About a month ago, I needed to parse JSON from in Bash scripts. This was an interesting problem/challenge, enter ./jq. jq is a sed like tool for JSON data, that can be used to parse JSON, from the command line, and from within Bash scripts. jq is written in »

REST API Boilerplate (Node.js + Express)

A few years ago, I was working with a Raspberry Pi with a Z-Wave adapter to talk to z-wave enabled devices, such as switches, dimmers, and door locks. I needed a method of keeping track and manipulating user account details, which seemed like the perfect time for me »