Uplink command to get active energy for a previous day by 4 tariffs (T1-T4).
T1
T4
The corresponding downlink command: getEnergyExportDayPrevious.
getEnergyExportDayPrevious
import * as getEnergyExportDayPrevious from 'jooby-codec/mtx1/commands/uplink/getEnergyExportDayPrevious.js';// response with A- energy by T1, T4const bytes = [0x18, 0x03, 0x16, 0x90, 0x02, 0x66, 0xf2, 0xae, 0x00, 0x20, 0xbd, 0x57];// decoded payloadconst parameters = getEnergyExportDayPrevious.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 24, month: 3, date: 22 }, energyType: 2, energies: [40301230, null, null, 2145623]} Copy
import * as getEnergyExportDayPrevious from 'jooby-codec/mtx1/commands/uplink/getEnergyExportDayPrevious.js';// response with A- energy by T1, T4const bytes = [0x18, 0x03, 0x16, 0x90, 0x02, 0x66, 0xf2, 0xae, 0x00, 0x20, 0xbd, 0x57];// decoded payloadconst parameters = getEnergyExportDayPrevious.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 24, month: 3, date: 22 }, energyType: 2, energies: [40301230, null, null, 2145623]}
Command format documentation
Uplink command to get active energy for a previous day by 4 tariffs (
T1
-T4
).The corresponding downlink command:
getEnergyExportDayPrevious
.Example: create command instance from command body hex dump
Command format documentation