Files
energy-meter/Makefile
Thomas Klaehn 066fa5ca51 Initial implementation: MQTT-based energy meter subscriber
Subscribes to Eastron SDM630 power meter data via MQTT broker,
decodes Modbus RTU frames, and writes readings to InfluxDB.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 08:01:17 +02:00

13 lines
150 B
Makefile

BIN := bin/energy-mqtt-sub
.PHONY: build run clean
build:
go build -o $(BIN) .
run: build
./$(BIN) -c ./config/config.json
clean:
rm -f $(BIN)