Check your gas consumption!

Track and compare your gas consumption across the city

Initial situation

Landlords and gas companies have few incentive to reduce gas consumption. The more you consume, the more they earn. In the city of Zurich probably still more than 50% of the houses are heated by gas.

Also you usually get a feedback of your consumption once a year, with the annual bill. But to track your consumption and also reduce it, a neartime feedback and visualisation is helpful. Gas companies usually only check the gas meter 4 times a year and will also not provide the data to you for privacy reasons.

Experiencing with weekly visualisations in the building I live, showed that 30% would easily possible if everyone would take their part.


Implement a low cost sensor which tracks the gas consumption from the gas meter. Such meters have different options for measuring consumption, from a luminicent digit to connectors to an internal bus system. Alternatively a LoRaWAN-ready add-on such as the Cyble 5 could be used. They cost CHF ~100, but not sure what LoRaWAN they support.

The sensor would send the current consumption to a server, where further analysis and visualisation can be done. As consumption heavily depends on the weather and temperature it would be wise to also track weather data from the region.

A funny and playful visualisation would help the residents from the house to save CO2 and money.

Data could also be compared between houses on a larger scale, a very interesting data set for the city, to prioritize and stear the replacement of such heating in the city. If we know the number of appartments or total living space, a map could show which houses are well isolated and which ones would eg need some adjustments, or would be replaced first to have the biggest impact.

Thinking further the consumption could also be estimated for the future depending on weather forecast.

Some data

I live in an (old) house with 3 residential appartments and 2 offices. Last winter we roughly consumed 13 tons of CO2 or 4000m3 of gas! For a certain period of time 2 parties where well motivated, which showed a reduction of 35% compared to last year. Later on, only one party was palying the game seriously, which still led to a reduction of 10%.

Useful links

This content is a preview from an external site.

Event finished

10.06.2023 16:00

add data (@adrianrupp88)

added useful links

face detection somehow works. Returns number of faces

added some useful links

Add files via upload

This file can be used for reading numbers from an image. (@Halil-Kuray)

add requirements (@adrianrupp88)

Update (@adrianrupp88)

Create (@adrianrupp88)

Add second gasmeter (@clelange)

added some basic code to configure the groove ai camera


10.06.2023 08:00

Joined the team

10.06.2023 08:00 ~ pierre
  1. Definition of MVP: camera reads value, consumption compared to type of house, output shown as smiley
  2. currently stuck on camera. We tried several, but none worked out so far (with circuitpython). Hope lies on the groove vision ai camera.
09.06.2023 17:02 ~ 2ni

Edited content version 33

09.06.2023 16:08 ~ adrian_rupp

Joined the team

09.06.2023 16:03 ~ adrian_rupp


04.06.2023 21:10

Nice find! The 3D-printed cover seems to be too obtrusive for my taste since nobody else would be able to read the meter anymore. Maybe one can still read the values by having the camera on some kind of arm. For prototyping, we can actually use the RPi Pico, hopefully easier.

04.06.2023 21:10 ~ clange

Edited content version 25

03.06.2023 12:03 ~ 2ni


03.06.2023 11:58

Some 1st ideas came up from @Alex Shyshko to use an esp32+cam, we then found a similar project:

03.06.2023 11:58 ~ 2ni

added some ideas


03.06.2023 11:33

Joined the team

03.06.2023 11:33 ~ clange

Edited content version 18

02.06.2023 20:12 ~ 2ni

Edited content version 15

02.06.2023 20:11 ~ 2ni

Edited content version 12

02.06.2023 20:10 ~ 2ni

Repository updated

02.06.2023 20:10 ~ 2ni

Edited content version 8

02.06.2023 20:09 ~ 2ni

Edited content version 6

02.06.2023 20:09 ~ 2ni

Edited content version 4

02.06.2023 19:51 ~ 2ni

Joined the team

02.06.2023 13:44 ~ 2ni

Event started

02.06.2023 09:00

Challenge posted

01.06.2023 19:53 ~ 2ni
Contributed 4 months ago by 2ni for Make Zurich 2023

Creative Commons CC-BY logo The contents of this website, unless otherwise stated, are shared
under a Creative Commons Attribution 4.0 License.

Everyone at the event is required to agree with our Code of Conduct:

Be excellent to each other!

Make Zurich 2023