This is a custom PicoC program to parse the SML energy readings in a tibber+Loxone setup.
Our system runs a [tibber Pulse], connected to a [EMH ED300L][ED300L] energy meter. We run this code on a [Loxone Miniserver][loxone], which can run custom PicoC code.
We use the TCP stream method to read the current SML data packet from the tibber bridge