htmbus is the measuring and visualization of a project for an energy measurement system using a heat exchanger. The scope of the project will be described later.
- htmbus consists of several wired M-Bus Meter-Bus devices.
- A BeagleBone Black as gateway between M-Bus and Ethernet - running this htmbus software (And a little extra hardware - described elsewhere)
- For the low level M-Bus protocol conversion htmbus use rscada/libmbus
- A Intel NUC13ANHI3000 running ThingsBoard
See: Hardware installation (Dont install anyting on your Beaglebone black - see "software installation" below)
- Remove micro-SD card (If any)
- Boot from buildin image on on-board flash (mmcblk1)
- insert micro-SD card (Minimum 8 GB)
- Run: sudo bash
- Run:
wget -qO- https://files.beagle.cc/file/beagleboard-public-2021/images/am335x-debian-12.2-iot-armhf-2023-10-07-4gb.img.xz | xzcat | dd bs=10M of=/dev/mmcblk0 status=progress
- Run: shutdown -r 0
- login after boot and check boot device is mmcblk0p1 - run: df -h
- login as debian - or another added user with a home directory
- run: git clone https://github.com/heth/htmbus.git
- run: cd htmbus
- run: sudo ./install-stage1
- run: sudo ./install-stage2
- run: sudo shutdown -r 0
- login as same user again
- run: cd htmbus
- run: sudo ./install-stage3
- If everything works - check all four daemons running with: systemctl | grep -P "display|mbus"
Most used configuration variables are in mbus.yaml (Installed in /etc/mbus/ directory on running system)