Expand description
§teleinfo-nom
A lib to parse teleinfo (french power provider)
Modules§
Structs§
- Teleinfo
Date - TeleinfoDate struct represents a date sent in a teleinfo message in standard mode
- Teleinfo
Message - Representation of a full message from teleinfo
- Teleinfo
Value - TeleinfoValue represents the value and date of a message line from Teleinfo
Enums§
- Teleinfo
Message Type - TeleinfoMessageType describes if the message is a short message or a normal message
- Teleinfo
Meter Type - TeleinfoMeterType describes if the meter is monophasé or triphase
- Teleinfo
Mode - Describes the mode of a Teleinfo message
Functions§
- get_
message - Read message from an readable object
source, withleftoverbeing the unparsed string from a previous call Returns a tuple with to be parsed in a next call string asleftoverand the first found TeleinfoMessage - get_
message_ buf - Read message from an readable object
sourcebufferized, withleftoverbeing the unparsed string from a previous call Returns a tuple with data to be parsed in a next call string asleftoverand the first found TeleinfoMessage