mbmd (S0 Zähler / SDM630)
Find a file
renovate bot cef0c04922
All checks were successful
pre-commit-check / pre-commit (push) Successful in 8s
CI Pipeline for building and pushing Docker images (staging and latest) / build_and_push_temp (push) Successful in 13m19s
CI Pipeline for building and pushing Docker images (staging and latest) / trivy_scan (push) Successful in 1m48s
CI Pipeline for building and pushing Docker images (staging and latest) / push_final (push) Successful in 9s
Merge pull request 'chore(docker): update aquasec/trivy docker tag to v0.68.1' (#90) from renovate/aquasec-trivy-0.x into master
2025-12-04 12:15:21 +00:00
.forgejo/workflows chore(docker): update aquasec/trivy docker tag to v0.68.1 2025-12-03 10:06:39 +00:00
.editorconfig chore(forgejo-admin): update pre-commit, forgejo workflows, ./editorconfig + renovate.json 2025-07-22 07:08:37 +02:00
.markdownlint.json typo 2023-06-28 22:18:03 +02:00
.pre-commit-config.yaml chore: update .pre-commit-config.yaml 2025-07-26 08:22:50 +02:00
docker-compose.yml fix: make linter happy 2025-07-13 22:03:54 +02:00
Dockerfile fix: go build command 2025-11-09 15:51:14 +01:00
mbmd.yaml fix: add missing renovate update info 2025-11-09 10:36:24 +01:00
README.md chore: text re-formatted 2025-04-10 22:04:24 +02:00
renovate.json chore: disable goland renovate updates 2025-11-10 04:57:16 +01:00

mbmd

Build Status

A daemon for collecting measurement data from smart meters and grid inverters over modbus. mbmd provides an http interface to smart meters and grid inverters with modbus interface. Meter readings are made accessible through REST API and MQTT. Modbus communication is possible over RS485 connections as well as TCP sockets.

Package Support

This is a customized version for SDM630 smartmeter. NOTE: Only ARM devices are currently supported.

Interactive docker start

docker run --rm -it \
  -v $(pwd):/src \
  git.bueraner.de/murdoc/mbmd:latest

docker-compose


version: '3'

services:
  sdm630:
     container_name: fhem_sdm630
     image: git.bueraner.de/murdoc/mbmd:latest
     restart: unless-stopped
     devices:
        - /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AG0KG3PT-if00-port0:/dev/ttyUSB1
     ports:
         - 9999:8080
     volumes:
        - "./mbmd/:/mbmd"

Execution

./mbmd run -a /dev/ttyUSB1 --api 0.0.0.0:8080 -d sdm:1 \
    --mqtt-broker 192.168.1.119:1883 --mqtt-topic stromzaehler