jooby-codec
    Preparing search index...

    The Observation Report uplink command is used for reporting by the OBIS observer. The command includes the OBIS content captured according to schedule and contain float values.

    import * as observationReport from 'jooby-codec/obis-observer/commands/uplink/observationReport.js';

    // report example
    const bytes = [0x00, 0x00, 0x00, 0x02, 0x2d, 0x18, 0xdf, 0x80, 0x32, 0x42, 0x09, 0x51, 0xec, 0x38, 0x42, 0x35, 0x51, 0xec];

    // decoded payload
    const parameters = observationReport.fromBytes(bytes);

    console.log(parameters);
    // output:
    {
    meterId: 2,
    time2000: 756604800,
    obisValueList: [
    {code: 50, content: 45.33},
    {code: 56, content: 34.33}
    ]
    }

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes