All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.joblo2213.sma.speedwire.protocol.telegrams.EnergyMeterTelegram Maven / Gradle / Ivy

Go to download

SMA-Speedwire is an api for communicating with SMA products over Ethernet using the speedwire interface. It allows listening for exchanged data between your devices and logging meter readings.

There is a newer version: 1.0.2
Show newest version
package io.github.joblo2213.sma.speedwire.protocol.telegrams;

import io.github.joblo2213.sma.speedwire.protocol.InvalidTelegramException;
import io.github.joblo2213.sma.speedwire.protocol.OBISIdentifier;
import io.github.joblo2213.sma.speedwire.protocol.measuringChannels.EnergyMeterChannels;
import io.github.joblo2213.sma.speedwire.protocol.measuringChannels.MeasuringChannel;
import tech.units.indriya.quantity.Quantities;

import javax.measure.Quantity;
import javax.measure.quantity.Time;
import java.math.BigInteger;
import java.net.InetAddress;
import java.util.HashMap;

/**
 * A telegram from an SMA Energy Meter or an SMA Sunny Home Manager (2.0)
 */
public class EnergyMeterTelegram extends Telegram {

    private final int SUSyID;
    private final BigInteger serNo;
    private final Quantity




© 2015 - 2024 Weber Informatics LLC | Privacy Policy