p1_parser v0.1.0 P1Parser
Understands the P1 format of Smartmeters and translates them to elixir types
Link to this section Summary
Functions
Parses a line of text according to the P1 protocol
Link to this section Functions
Link to this function
parse(line)
Parses a line of text according to the P1 protocol
Examples
iex> P1Parser.parse("1-0:1.7.0(01.193*kW)")
{:ok, [:consume, 1.193, :current_energy]}