Command for retrieving daily consumption (absolute values) of device channels from the archive.
import * as getExAbsArchiveDaysMc from 'jooby-codec/analog/commands/uplink/getExAbsArchiveDaysMc.js';// response to getExAbsArchiveDaysMc downlink commandconst bytes = [0x2e, 0x6a, 0x08, 0x02, 0x83, 0x94, 0x2b, 0xaa, 0x2c];// decoded payloadconst parameters = getExAbsArchiveDaysMc.fromBytes(bytes);console.log(parameters);// output:{ startTime2000: 731721600, days: 2, channelList: [ { pulseCoefficient: 100, index: 4, dayList: [5524, 5674] } ]} Copy
import * as getExAbsArchiveDaysMc from 'jooby-codec/analog/commands/uplink/getExAbsArchiveDaysMc.js';// response to getExAbsArchiveDaysMc downlink commandconst bytes = [0x2e, 0x6a, 0x08, 0x02, 0x83, 0x94, 0x2b, 0xaa, 0x2c];// decoded payloadconst parameters = getExAbsArchiveDaysMc.fromBytes(bytes);console.log(parameters);// output:{ startTime2000: 731721600, days: 2, channelList: [ { pulseCoefficient: 100, index: 4, dayList: [5524, 5674] } ]}
Command format documentation
Command for retrieving daily consumption (absolute values) of device channels from the archive.
Example
Command format documentation