v1.0.0
First stable release.
Go library for reading M-Bus (Meter-Bus, EN 13757) meters over TCP or serial.
Highlights since the fork:
- Decoding errors are explicit. Undecodable values (BCD filler, invalid dates) set
ValueErron the record instead of silently producing a zero, and structural errors fail the frame withErrInvalidFrame. - VIF type codes (
VIFEnergyWh,VIFPowerW, ...) and record function names (FunctionInstantaneous, ...) are exported, so records can be selected without magic numbers. - Record lookup helpers on
DecodedFrame:Find/FindAllwith composable matchers, plusRecord,Records,ValueandTimestampfor the common cases. Historic values, tariff registers and sub-device readings are reachable without scanningDataRecordsby hand.
Install:
go get github.com/yottabytesolutions/gombus@v1.0.0