Home Assistant – integrating RESTful switches

I have started integrating my IoT-devices and services with the Home Assistant platform. See my previous post for details on getting started with Home Assistant and subscribing to MQTT messages: Home Assistant – getting started and using MQTT sensors My next attempt is to configure RESTful switches in HA for interacting with an existing web... Continue Reading →


Basic authentication with Python Flask

For a simple web application in a home automation scenario, basic authentication can be a sufficient solution. Setting up a REST API and a web app with Flask is very easy, and adding basic authentication requires just a few more steps that can be reused between different applications. Let's say we have a Flask application that... Continue Reading →

A web app for IoT data visualization

As described in some earlier posts, I have a setup at home with IoT devices that publish measurement messages to a Raspberry Pi via MQTT. The RPi stores the data in a database and also forwards the messages to a cloud service (Adafruit IO). In this post I have made a self-hosted data visualization web app... Continue Reading →

Blog at WordPress.com.

Up ↑