jooby-codec
    Preparing search index...

    Downlink command to get the meter archive data for the specific date.

    import * as readMeterArchiveWithDate from 'jooby-codec/obis-observer/commands/downlink/readMeterArchiveWithDate.js';

    const parameters = {
    requestId: 3,
    archiveType: 2,
    index: 0,
    meterId: 1,
    time2000: 496333462
    };
    const bytes = readMeterArchiveWithDate.toBytes(parameters);

    // output command binary in hex representation
    console.log(bytes);
    // output
    [19, 14, 3, 2, 0, 0, 0, 0, 0, 0, 0, 1, 29, 149, 114, 150]

    Command format documentation

    Interfaces

    IReadMeterArchiveWithDateParameters

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes