MicroPython and ESP8266
During the past 6 months I have grown into a big fan of the Python programming language. I have also found a new passion in tinkering with the versatile and…
Learning, IoT, programming & experiments
During the past 6 months I have grown into a big fan of the Python programming language. I have also found a new passion in tinkering with the versatile and…
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,…
This blog post describes how I have set up a door-open detector at home. It uses a small ATtiny85 board that broadcasts a 433 MHz signal every time the door…
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…
In the last post in this series, I will add persisting of sensor data to a database. I will also use an additional subscriber as a proxy for sending the…
MQTT (MQ Telemetry Protocol) is a lightweight machine-to-machine communication protocol that works on top of TCP/IP and it is very much suited for usage in an Internet-of-Things scenario. MQTT uses the publish-subscribe pattern…
This post builds on a previous experiment where I made a remote control app for my outlets with a Raspberry Pi, Python/Flask and AngularJS. For the backend to be really useful,…
In two previous posts, I used the RCSwitch and pi-switch libraries for communication between an Arduino Uno and a Raspberry Pi. I touched briefly on the main purpose with these libraries…