discovergy

package
v0.0.0-...-3371691 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const API = "https://api.discovergy.com/public/v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Meter

type Meter struct {
	MeterID          string `json:"meterId"`
	SerialNumber     string `json:"serialNumber"`
	FullSerialNumber string `json:"fullSerialNumber"`
}

type Reading

type Reading struct {
	Time   int64
	Values struct {
		EnergyOut                    int64
		Energy1, Energy2             int64
		Voltage1, Voltage2, Voltage3 int64
		EnergyOut1, EnergyOut2       int64
		Power1, Power2, Power3       int64
		Power                        int64
		Energy                       int64
	}
}

Jump to

Keyboard shortcuts

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