Better scratch your balls than your frozen windshield – MQTT warning for nightly low temperatures with Node-RED querying a weather API

Better scratch your balls than your frozen windshield – MQTT warning for nightly low temperatures with Node-RED querying a weather API

I have a talent to forget to cover my car before a night with temperature below zero and the next morning I have to scratch away all the ice. As I really don’t like that I decided to build a warning mechanism for that. I already had a Node-RED flow querying the weather API to…

Easy peasy – querying weather API in Node-RED and publishing the current temperature to a MQTT broker

Easy peasy – querying weather API in Node-RED and publishing the current temperature to a MQTT broker

Precondition: Have your lokal MQTT broker and Node-RED installed and setup or access to a remote one. I recently added a http request node querying a weather API to Node-RED. After extracting, the current temperature is then published on the local MQTT and can be used by all devices connected to the broker.In this example…

It was born like this – pre-enabling WiFi and SSH on Raspberry Pi OS and creating a user

It was born like this – pre-enabling WiFi and SSH on Raspberry Pi OS and creating a user

Most of my Raspberry Pis run headless (just remote console, no GUI). To remind myself and for your service I wrote this short memo how to set them up correctly. You can also find the same and much more Pi related information here, but I like to keep the stuff I need together in one…

Gordon knows how: Flashing Micropython on D1 mini and D1 mini lite

Gordon knows how: Flashing Micropython on D1 mini and D1 mini lite

As I really prefer Python for my little projects over C++, I flashed my Wemos boards with Micropython and wanted to share how I did it (it was pretty easy). You have to connect your board with USB to your computer, have Thonny installed and the desired micropython image downloaded. (You can do it with…

Dusting off the blood sucker – deleting sustained mosquitto messages

Dusting off the blood sucker – deleting sustained mosquitto messages

After expermienting alot with my MQTT server it was pretty polluted with sustained messages and I wanted to get rid of them. The fastest way I got this reliably to work was by deleting the persistence file while the MQTT server was offline. You could delete all or specific topics with a script, too, but…

It’s about time – how to auto-run your Python scripts on Raspberry Pi OS with Cron jobs

It’s about time – how to auto-run your Python scripts on Raspberry Pi OS with Cron jobs

This is a step by step reminder how to get your Python scripts run automatically on your Raspberry. We will be creating a cron job that is run once when booting. (This should be possible like this or pretty similar on every Linux distribution where Cron is available and is not limited to Python scripts…