To make it easier to control the M-Bus Master Hat for Raspberry Pi I’ve just released an open source web server which exposes RESTful APIs to manage the Hat and perform common M-Bus operations - mbus-httpd.

mbus-httpd is written in Rust, and available as a pre-packaged container for both ARMv6 and ARMv7 variants of the Raspberry Pis (which covers all of them). An x86-64 container is also available.

As well as being able to control the M-Bus Master Hat, mbus-httpd can also control any M-Bus device which is either

  • controlled via the standard Raspberry Pi serial port
  • plugs in via a USB port, and is implemented using a USB-serial device (including some USB M-Bus Masters available on aliexpress and ebay).

mbus-httpd is licensed under the GPL v3.0 or later.

See the README for instructions on building and using mbus-httpd.

mbus-httpd makes uses of libmbus which is licensed under the BSD 3-clause license.

comments powered by Disqus