A self-hosted MQTT environment for Internet of Things – Part 1

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 where the clients subscribe to topics and publish messages through a broker. There are many different framework implementations of MQTT as well as complete cloud services […]

Read More A self-hosted MQTT environment for Internet of Things – Part 1

Daemonize that Python script!

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, I want to make it behave as a service in Linux. It should start automatically after a reboot and there should be some control mechanism for […]

Read More Daemonize that Python script!

Major Tom to Ground Control – simple radio communication between Arduino and Raspberry

The Arduino computers are excellent for reading sensor data, and they are so inexpensive and consume very little power that you can use plenty of them in your home without breaking your wallet. The Raspberry on the other hand, is more powerful, a bit pricier, but can easily be programmed to perform more challenging tasks […]

Read More Major Tom to Ground Control – simple radio communication between Arduino and Raspberry

Raspberry Pi & PS2 EyeToy

Last week I finally got around and bought my first Raspberry Pi. Getting it up and running with Raspbian via Noobs was a breeze and after playing around with the OS and Python for a while I decided to get some real use out of this little machine. My first experiment aimed at a home security […]

Read More Raspberry Pi & PS2 EyeToy