Linux Format

Visualise smart- home sensor data

HOME ASSISTANT

Credit: www.home-assistant.io

Over the past decade or so, the computing world has changed immensely and we’re going to capitalise on one particular area to grab data from a source and display it on the screen in a fancy Dan interface. It’s a useful ability to have because you can quickly prototype displaying important information from a range of sources when needed.

We’re going to work on an application that pulls data from the Home Assistant API and displays it in a GUI. This GUI enables the entities that are shown to be selected by the user and displayed in a table, and the values to be updated at regular intervals. As an added bonus feature, we are implementing a way to display whether the value has stayed the same, increased or decreased since the last reading.

is an amazing project and provides the glue that allows many different home automation tools to be used together. For example, data from a Nest thermostat could be used to switch on and off smart plugs, rather than just your boiler. This is a tiny example of what can do. It consists of

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format5 min read
Some Ansible Advice For Around The Home!
Of late, this writer has been busy creating new virtual hosts for different things and decided that it would be an ideal time to get stuck into Ansible. Things have evolved in system management since Bash. Ansible is a great way to deploy software c
Linux Format14 min read
Ubuntu at 20
Without Ubuntu, the current Linux landscape would be unrecognisable. Back in October 2004, the first 4.10 (2004.10) release of Ubuntu, with its intriguing Warty Warthog code name, leapt from obscurity to being one of the most downloaded Linux distrib
Linux Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o

Related Books & Audiobooks