DSMR.MBusDevice (DSMR v1.1.0)

Copy Markdown View Source

A device connected through the meter's M-Bus interface.

DSMR telegrams commonly use M-Bus entries for gas meters, but the same shape can represent water, heat, or other connected meters. Only channel is required; the remaining fields are present when the telegram includes the corresponding OBIS codes.

Summary

Types

t()

@type t() :: %DSMR.MBusDevice{
  channel: non_neg_integer(),
  device_type: String.t() | nil,
  equipment_id: String.t() | nil,
  last_reading_measured_at: DSMR.Timestamp.t() | nil,
  last_reading_value: DSMR.Measurement.t() | nil,
  valve_position: String.t() | nil
}