• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
ESPHome Gas Meter Reader Case 3D Printer File Image 1
ESPHome Gas Meter Reader Case 3D Printer File Image 2
ESPHome Gas Meter Reader Case 3D Printer File Image 3
ESPHome Gas Meter Reader Case 3D Printer File Image 4
ESPHome Gas Meter Reader Case 3D Printer File Image 5
ESPHome Gas Meter Reader Case 3D Printer File Image 6
ESPHome Gas Meter Reader Case 3D Printer File Image 7
ESPHome Gas Meter Reader Case 3D Printer File Image 8
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 1
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 2
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 3
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 4
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 5
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 6
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 7
ESPHome Gas Meter Reader Case 3D Printer File Thumbnail 8

ESPHome Gas Meter Reader Case

Glen Bayley avatarGlen Bayley

December 26, 2025

printables-icon
DescriptionCommentsTags

Description

This is part of an ESPHome project to read a gas meter with Home Assistant.  With this you can see your gas usage in real time and track history, build automations, data visualizations etc.

It works by reading the small magnetic field variations created by the rotating drive inside your gas meter. These changes correspond to the meter’s mechanical movement. 

See: the ESPHome Gas and Water Meter project page for more details.

This is a weather resistant case to house the electrical components I recommend to use.  It is designed so it can be mounted to a Sensus R-275 gas meter, which my utility (PG&E in California) uses.  This case is likely to fit other gas meters.

There are 5 components:

  • a base.  This is designed to mount to the gas meter.  You can leave this mounted and remove the insert to service the components easily.

  • an insert.  The insert secures the electrical components and is removable.

  • a lid.  This is secured with screws.

  • 2 clips to secure the electronic components to the insert.

What else you need:

  • M4 threaded inserts + M4 bolts (8 mm long) to secure the lid

  • Mounting:

    • Preferably: a piece of 12 gauge (20 amp) romex wire + a piece of thinner wire for mounting

    • You can also just use duct tape

Electrical components:

  • M5Stack NanoC6 - this is the ESP32 SoC that runs ESPHome firmware.

  • Adafruit MMC5603 Triple-axis magnetometer - this reads the movement of the gas meters internal diaphragm.

  • Adafruit Grove to STEMMA QT Cable - this makes it solderless.

  • a USB-C cable and power supply.  This is just for power.  The ESP32 talks to Home Assistant over wifi.  The case is design to accept a 3.5mm cable.

Model features

Weather resistant design - the primary concern is keeping the electronics dry.  The model has a number of design features to help:

  • I opted to design the case to shed water rather than rely on perfect gasket seals.

  • 3 walls with 2 seals

  • curved shapes and lips to make water flow down and away from seals

  • if water gets past the first seal, it will be directed internally to a drainage hole in the bottom.

  • the insert has an internal shield to protect from water shooting up from the cable exit.

A robust mounting solution - my gas meter is full of curved surfaces making it a challenge to mount this case.  You can just use duct tape, but my gas meter is in direct sunlight and i wanted something that will last.  It is designed to mount with wire:

  • A primary wire - a piece of 12 gauge (20 amp) romex is ideal.  Bend and wrap it over the meter's gauges and through holes in the base.  You can simply bend the wire tips slightly to secure it.

  • Then wrap two smaller wires around the primary wire in the slots where they are exposed and supported.  Tie together at the back of the meter to secure laterally.  There is just enough of a lip on my gas meter to have this wire not slip off.

A single USB cable is needed - this project and design requires no soldering and houses both the ESP32 and the sensor.  You just need to supply power via a USB-C power cable .. and the gas meter needs to be in range of your wifi.

Recommended:

I did this, but I don't think it is absolutely necessary ... spray clear coat over the parts that can get wet to make them water tight.  That includes the back and sides of the insert.

Included:

  • STEP and Fusion 360 files for easy remixing 

  • 3MF file for easy printing

License:

Creative Commons — Attribution — Share Alike

Related Models

Thor Mjolnir Hammer Bic Pen preview image

Thor Mjolnir Hammer Bic Pen

effektz profile image

effektz

9,096

Diverse Schilder / various labels  for hobby & makers preview image

Diverse Schilder / various labels for hobby & makers

RPK profile image

RPK

2

Cute Fluffy Puppy Figurine to Print preview image

Cute Fluffy Puppy Figurine to Print

bonowski. profile image

bonowski.

3

Vorpal The Hexapod Walking Robot preview image

Vorpal The Hexapod Walking Robot

vorpal profile image

vorpal

4,987

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi preview image

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi

Fails&Makes profile image

Fails&Makes

Customizable EU License Plate Keychain preview image

Customizable EU License Plate Keychain

John_M profile image

John_M

45

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED preview image

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED

scottrlindsey profile image

scottrlindsey

4,457

Small Parts Storage Drawers - Organizer preview image

Small Parts Storage Drawers - Organizer

GT 3D Makers profile image

GT 3D Makers

30

10