Uplink command to get energy A- for 4 tariffs (T1-T4) for a given month.
A-
T1
T4
The corresponding downlink command: getMonthDemandExport.
getMonthDemandExport
import * as getMonthDemandExport from 'jooby-codec/mtx1/commands/uplink/getMonthDemandExport.js';// received energiesconst bytes = [0x18, 0x03, 0x02, 0x66, 0xf2, 0xae, 0x00, 0x32, 0xe0, 0x64, 0x00, 0x00, 0x09, 0x1d, 0x00, 0x20, 0xbd, 0x57];// decoded payloadconst parameters = getMonthDemandExport.fromBytes(bytes);console.log(parameters);// output:{ year: 24, month: 3, energies: [40301230, 3334244, 2333, 2145623]} Copy
import * as getMonthDemandExport from 'jooby-codec/mtx1/commands/uplink/getMonthDemandExport.js';// received energiesconst bytes = [0x18, 0x03, 0x02, 0x66, 0xf2, 0xae, 0x00, 0x32, 0xe0, 0x64, 0x00, 0x00, 0x09, 0x1d, 0x00, 0x20, 0xbd, 0x57];// decoded payloadconst parameters = getMonthDemandExport.fromBytes(bytes);console.log(parameters);// output:{ year: 24, month: 3, energies: [40301230, 3334244, 2333, 2145623]}
Command format documentation
Uplink command to get energy
A-
for 4 tariffs (T1
-T4
) for a given month.The corresponding downlink command:
getMonthDemandExport
.Example: create command instance from command body hex dump
Command format documentation