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…

Knock-knock- a door or window sensor prototype in (Micro)Python on the Pico, D1 mini and Pi Zero

Knock-knock- a door or window sensor prototype in (Micro)Python on the Pico, D1 mini and Pi Zero

Jump to: Pico – D1 mini – Pi Zero Raspberry Pico A short Python implementation of a magnetic switch turning on a LED when it is not connected (e.g. window is opened). For simplicity reasons I used the builtin LED on the Pico. You have to use the pull=Pin.PULL_DOWN parameter for the input pin (sensor)….

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…