Blog

By Matthias Petermann / on 12 May, 2024

From Zero to Cloud: Building a Smart Meter Network Bridge with NetBSD

Now to the first practical example. We have had two smart meters from the energy supply company installed in our metering station for around two years. These meters have an optical interface on which a read head can be placed magnetically and without contact. The data stream supplied by the meter can be transferred via this read head, which provides information on meter readings and current consumption. This is a prerequisite for the storage, analysis and optimization of consumption data. Read heads are available as a kit with USB connection. These are essentially USB serial adapter logic. In my case, the read data is not to be processed on site but made available for collection by a separate system that is connected via a network. We will therefore configure a Raspberry Pi here, which will act as a smart meter to network bridge. It will be shown how such a simple requirement can be implemented using only NetBSD’s built-in capabilities.

...

Read more
By Matthias Petermann / on 11 May, 2024

From Zero to Cloud: Building NetBSD From Source

Unlike other systems like Linux, where the kernel and userland components are often built separately, NetBSD offers the unique advantage of generating the entire operating system - kernel and userland - from a single source code tree. This unified approach simplifies the build process and ensures a cohesive and consistent system environment.

...

Read more
By Matthias Petermann / on 08 May, 2024

From Zero to Cloud: Building Modern Yet Simple Architectures with NetBSD

Welcome to ‘From Zero to Cloud: Building Modern Yet Simple Architectures with NetBSD.’ Throughout this series, I’ll be your guide on an exploration of NetBSD’s versatility and capabilities as a highly portable Unix-like operating system. Join me as we compile the system from source code, install it on various hardware, and deploy a plethora of sophisticated services, showcasing how NetBSD can effectively power modern architectures across diverse platforms.

...

Read more