peak-load / energomera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Energomera protocol encoder / decoder package

This Go package is fully based on Python code which is used to encode and decode Energomera protocol messages,
which can be used to communicate with electricity meter(s) over rs-485 protocol.

For more information check the source code documentation.

Projects using energomera package

Usage / available functions

import (
     "github.com/peak-load/energomera"
)

Package provides two functions:

  • energomera.DataDecode(sdata []byte) (msg map[string]string)
  • energomera.DataEncode(msg map[string]string) (sdata []byte)

Credits

Original Python code:

Documentation / resources

License

MIT License, see LICENSE

About

License:MIT License


Languages

Language:Go 100.0%