Challenge Project

020_Open Habitation

Aggregating data to search the sustainability of offered real estate

⛶  Fullscreen ↓  Download 📂 Demo

Presentation slides

We created a minimal API that aggregates data from GeoAdmin (Swisstopo) and PVGIS (EU) to calculate a score for any building property which is in the Open Data sources. Plans to build on this and add crowdsourcing capabilites have been discussed.

Please note: At the moment, the calculation of PV production does not work properly. But the rough procedure as well as the API-queries are correct. We have to change little things and we will update as soon as possible.


Next steps

(1) Complete basic functionality of the prototype

(2) Build on the (Falcon based) Web API

(3) Make further improvements to the data model


How sustainable is this property?

  • The building sector still has huge impact on climate change, altough co2-reduction is relatively easy (and cheap) to reach.
  • When choosing the next property (rental or buying), the environment plays a role that is too small. As a result, investors are less interested in green solutions. One reason why ecological aspects are not taken into account in the selection is that no (or not enough) information is available for home-seekers.
  • let's provide this information!
  • "collect and combine" public information of offered real estate (heating system and - if time remains - photovoltaics, building standard, access to green mobility ...). Provide this information for real estate marketplaces.

Open Habitation API

This is a project started at the Energy Data Hackdays 2021. Please see our project page for background and have fun.


This repository contains a minimal backend service API based on the Falcon framework, Pandas DataPackage Reader, and the Falcon plugin for apispec.

Use pip with requirements.txt or install the Poetry dependency manager, and:

poetry install
poetry shell

To update the requirements file:

poetry export --without-hashes -f requirements.txt > requirements.txt


This package is licensed by its maintainers under the MIT License.

If you intended to use these data in a public or commercial product, please check the data sources themselves for any specific restrictions.

This content is a preview from an external site.

Event finished

Repository updated

25.09.2021 14:02 ~ ?


25.09.2021 14:02 ~ ?

Repository updated

25.09.2021 12:18 ~ ?

Adding a simple test page and DB cache

25.09.2021 12:18 ~ ?


25.09.2021 12:17 ~ ?


Added basic static index

Form body request

Fixes and more bugs :)

Added requirements

calculate yearly production (

calculate yearly production

Joined the team

25.09.2021 09:33 ~ ?

Initial API :gear:

Requirements Engineering, Selections of Tools and Data to use

24.09.2021 16:12 ~ EcoHabitas


Event started

Contributed 2 years ago by EcoHabitas for Energy Data Hackdays 2021
All attendees, sponsors, partners, volunteers and staff at our hackathon are required to agree with the Hack Code of Conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to ensure a safe environment for everybody. For more details on how the event is run, see the Guidelines on our website.

Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.