Custom History Charts

Introduction

Because HomeKit does not support updating values from the background, I used the Tado and Awair api’s to get history information for room temperature, humidity and co2 level.

This guide will show you another solution for other Homekit devices. You will have to have some familiarity with shortcuts, Homekit automation and web api’s. In this example we will use a firebase database to update the json file that the app will read to update the charts.

The firebase database as setup in this guide is not secured and will be accessible to anybody that has the url that links to it. If you don’t feel comfortable with that, then don’t uses this method.

Get a free firebase account.

Export the home setup in json format from the HomeWatch app.

Import the exported json file into the firebase database

Setup a hourly HomeKit automation that updates the firebase database.

Setup HomeWatch to use the json file from the firebase database.