Inetd

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