dsmr

package
v0.0.0-...-f7240c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package dsmr handles dsmr specific things

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telegram

type Telegram struct {
	Identification          string  `json:"identification"`
	P1Version               string  `json:"p1_version"`
	Timestamp               string  `json:"timestamp"`
	EquipmentID             string  `json:"equipment_id"`
	EnergyDeliveredTariff1  float64 `json:"energy_delivered_tariff1"`
	EnergyDeliveredTariff2  float64 `json:"energy_delivered_tariff2"`
	EnergyReturnedTariff1   int     `json:"energy_returned_tariff1"`
	EnergyReturnedTariff2   int     `json:"energy_returned_tariff2"`
	ElectricityTariff       string  `json:"electricity_tariff"`
	PowerDelivered          float64 `json:"power_delivered"`
	PowerReturned           int     `json:"power_returned"`
	ElectricityFailures     int     `json:"electricity_failures"`
	ElectricityLongFailures int     `json:"electricity_long_failures"`
	ElectricityFailureLog   string  `json:"electricity_failure_log"`
	ElectricitySagsL1       int     `json:"electricity_sags_l1"`
	ElectricitySwellsL1     int     `json:"electricity_swells_l1"`
	MessageLong             string  `json:"message_long"`
	VoltageL1               float64 `json:"voltage_l1"`
	CurrentL1               int     `json:"current_l1"`
	PowerDeliveredL1        float64 `json:"power_delivered_l1"`
	PowerReturnedL1         int     `json:"power_returned_l1"`
	GasDeviceType           int     `json:"gas_device_type"`
	GasEquipmentID          string  `json:"gas_equipment_id"`
	GasDelivered            float64 `json:"gas_delivered"`
}

Telegram can store contents of a p1 telegram

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL