Downlink command to get the meter archive data.
import * as readMeterArchive from 'jooby-codec/obis-observer/commands/downlink/readMeterArchive.js';const parameters = { requestId: 3, archiveType: 1, index: 4, meterId: 2};const bytes = readMeterArchive.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[17, 10, 3, 1, 0, 0, 0, 4, 0, 0, 0, 2] Copy
import * as readMeterArchive from 'jooby-codec/obis-observer/commands/downlink/readMeterArchive.js';const parameters = { requestId: 3, archiveType: 1, index: 4, meterId: 2};const bytes = readMeterArchive.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[17, 10, 3, 1, 0, 0, 0, 4, 0, 0, 0, 2]
Command format documentation
Downlink command to get the meter archive data.
Example
Command format documentation