Reviewing January 2024

Most of my free time in January was spent on MOROS, my hobby operating system.

First I explored the idea of printing its source code on archival paper which gave me a second reason to refactor the code to fit the lines under 80 chars. The first reason has always been that the VGA Text Mode is limited to 80x25 in size, but I prefer to go up to 100 or even 120 chars on the host system.

It took quite a bit of work because I didn't like the result of simply running cargo fmt. When I was done I wrote a small script to download all the source code inside the OS to /src in case one want to read or edit it.

After that I started a serie of small features to improve the system. The first one was adding ANSI OSC color palette support to the userspace like Linux does to avoid calling a kernel function for that. And then I added a simple but very usefull implementation of hashbang support to run scripts in /bin as if they were binaries.

The rest of the time was spent buying some devices to create a Zigbee network to monitor the home. I want to see how much electricity the house is using in real time and control the electric heaters to heat the house in a smarter way.

I already have 1-wire temperature sensors everywhere but I added some devices with a screen to measure and display the temperature and humidity in various rooms.

I bought a couple of old but inexpensive Lenovo ThinkCentre M83 SFF computers instead of using yet another Raspberry Pi to install Home Assistant in a virtual machine. I will also test Proxmox as an hypervisor. And if all goes well I will install it on the big Dell PowerEdge R710 servers in my homelab rack instead of Ubuntu.

Tags: news, moros, osdev, domotics