MTBlog Marcus' Technology Blog

Using state charts and finite state-machines in node-red

I have been using node-red running on a raspberry pi 3 for two years now in order to control my custom cloudless smart-home system. While this node.js based software package allows for easy drag&click programming of message based flows it always bugged me that it is quite user-unfriendly to create systems that keep track of their state and react to external events. It is exactly where state machines should come into play.

Read more

Extracting and Repacking a Red Pitaya's initramdisk

It took me some time to figure out on how to quickly extract, modify and then repack a Red Pitaya’s initramdisk without installing a full build environment. In this post I provide some easy to use Linux shell scripts to do just that.

Read more

Building Android ADB from minimal sources

At some point I wanted to have a new version of Android’s adb utility as mine was lacking the show-progress capability during adb push -p which is very helpful for me as I often push large files over adb and by default no progress information is shown at all. However, having to download the whole 2 GB of Android sources just to be able to build adb was daunting which made me look for possibilities on how to setup a minimal build environment.

Read more