Metermaid, Programming, WordPress

Metermaid: Easy Water Meter Tracking, Powered By WordPress

My house’s water is supplied by a well. This well is shared with a dozen other houses, all of which have water meters to track usage. Several years ago, I was volunteered to be the president of this water association, and with this position came the responsibility for tracking water usage to ensure that we’re not losing water to leaks or unauthorized usage.

For a couple of years, I just used a spreadsheet to track meter readings, but I felt like the data I was collecting could be so much more useful in a custom-built application, so I built Metermaid.

Metermaid is a WordPress plugin that adds a dashboard for tracking meter readings. Once you’ve entered some readings, it will begin charting gallons per day over time, comparing usage from this year against previous years, and even highlighting situations where water is potentially being lost due to broken pipes. It’s useful for tracking a single meter or tracking hundreds of meters.

To get started, install and activate Metermaid (available on Github) and then open the “Metermaid” menu item:

Click “Add Meter” to add your meters.

Once you enter meter readings, you will see charts showing gallons per day compared across years and gallons YTD compared across years.

Scroll down, and you’ll see all previous readings.

What are child meters and parent meters?

Metermaid supports the concept of “child meters” and “parent meters.”

A child meter is a meter that only counts usage that is already counted by a meter further upstream (the parent meter).

Imagine you have a well. At the well, there is a pump, and the pump pushes water to three houses. Directly after the pump, there is a meter that counts all gallons that the pump outputs. This is the parent meter. The three house meters are child meters. Their combined readings should equal the reading of the parent meter.

When you set up child and parent meters and then enter readings for all meters in a system on the same days, Metermaid will calculate how much water might be getting lost in the system, either through leaks or unmetered usage. For example, this real-world example shows a parent meter that measured 6.3% higher than the sum of its children meters across a six-month period.

This discrepancy could be due to unmetered water usage, inaccurate meters, or a leak in the distribution system. (It was a leak in the distribution system — an old repair had failed, but with this Metermaid feature, I was able to track it down and get it fixed.)

What is a supplement?

Metermaid also supports the concept of supplementary water. “Supplements” are a way to track water that is added to a system between a parent and a child meter.

Imagine you have a well, and a pump pumps water from the well into a holding tank, from which three houses draw. Your well pump breaks, so you have water delivered directly into your holding tank. Without tracking this supplementary water, it will appear that the houses have used more water than the well provided.

“Real” readings

Metermaid also solves the annoying issue of meter rollovers by using “real readings.” Imagine you have a water meter that reads 999999. The next day, you check the meter, and it reads 000001. Even though the meter shows a single gallon, its real reading is actually 1,000,001 gallons. Metermaid automatically calculates what the true reading of a meter is based on previous readings.

Real readings are recalculated any time you add or delete a reading, so adding historical meter data will only make them more accurate.

It is possible for the real reading to be wrong due to lack of data. If you read a 6-wheel meter on January 1 and it reads 500000 and then you check it again on February 1, and it reads 600000, there’s no way to know whether it measured 100,000 gallons or 1,100,000, and Metermaid will assume 100,000. If you added a reading from January 15 of 900000, then Metermaid would correctly update the real reading to 1600000.

Metermaid is available for free on Github. Contact me with any questions.

Standard
Audio, The Sloppy Boys

Hey There, Jeff Mike Tim – A “Booze News” Theme for the Sloppy Boys Podcast

The Sloppy Boys is a podcast about cocktails and comedy. In each episode, they play a listener-submitted audio clip to introduce their “Booze News” segment. This is one that I made.

This theme was a collaboration with Dave Mulhern. What’s up Dave!

Standard
Backyard Chickens, Woodworking

I Designed and Built a Simple Roll-Out Chicken Nesting Box

Chickens lay eggs — this much is true. Chickens also eat eggs — this much is also true. If you want to have chickens, and you want to have eggs, you need to either quickly collect them or prevent the chickens from reaching them. I designed and built a simple plywood nesting box that allows the eggs to roll out of reach of the chickens so you can collect them later.

The nesting box is built entirely out of less than a sheet of plywood, costing about $40 in materials. From start (a single, uncut sheet of plywood) to finish (chickens sitting in the box in their coop), it took me about 90 minutes to build while following my plans.

The idea is simple: roughly cubic nesting areas with a sloped floor (about 9º), and a barrier that prevents the chickens from pecking at their eggs after they’ve rolled away. Add some padding underneath the chickens and against the back wall to prevent eggs from cracking, and you’ve got a recipe for success (and you’ll need recipes for eggs).

Obviously, she loves it.

The eggs don’t always roll directly to the back, but every time a chicken moves around in the nesting area, she’ll push the egg further back until it is eventually unreachable.

If you want a copy of the plans, either leave a comment below or email me at cfinke@gmail.com.

Standard