Uplink command to get A-, R+, R- energies (II - III quadrant) for 4 tariffs (T1-T4) for a given month.
A-
R+
R-
II
III
T1
T4
The corresponding downlink command: getMonthDemandExport.
getMonthDemandExport
import * as getMonthDemandExport from 'jooby-codec/mtx3/commands/uplink/getMonthDemandExport.js';// received energiesconst bytes = [ 0x18, 0x03, 0x02, 0x66, 0xf2, 0xae, 0x00, 0x00, 0x61, 0xa8, 0x00, 0x0f, 0x12, 0x06, 0x00, 0x32, 0xe0, 0x64, 0x00, 0x12, 0xd6, 0x87, 0x00, 0x09, 0xfb, 0xf1, 0x00, 0x00, 0x3a, 0x98, 0x00, 0x0c, 0x0b, 0xd0, 0x00, 0x01, 0xe2, 0x40, 0x00, 0x20, 0xbd, 0x57, 0x00, 0x96, 0xb4, 0x3f, 0x00, 0x0c, 0x0a, 0x14];// decoded payloadconst parameters = getMonthDemandExport.fromBytes(bytes);console.log(parameters);// output:{ year: 24, month: 3, energies: { wh: [40301230, 3334244, 15000, 2145623], vari: [25000, 1234567, 789456, 9876543], vare: [987654, 654321, 123456, 789012] }} Copy
import * as getMonthDemandExport from 'jooby-codec/mtx3/commands/uplink/getMonthDemandExport.js';// received energiesconst bytes = [ 0x18, 0x03, 0x02, 0x66, 0xf2, 0xae, 0x00, 0x00, 0x61, 0xa8, 0x00, 0x0f, 0x12, 0x06, 0x00, 0x32, 0xe0, 0x64, 0x00, 0x12, 0xd6, 0x87, 0x00, 0x09, 0xfb, 0xf1, 0x00, 0x00, 0x3a, 0x98, 0x00, 0x0c, 0x0b, 0xd0, 0x00, 0x01, 0xe2, 0x40, 0x00, 0x20, 0xbd, 0x57, 0x00, 0x96, 0xb4, 0x3f, 0x00, 0x0c, 0x0a, 0x14];// decoded payloadconst parameters = getMonthDemandExport.fromBytes(bytes);console.log(parameters);// output:{ year: 24, month: 3, energies: { wh: [40301230, 3334244, 15000, 2145623], vari: [25000, 1234567, 789456, 9876543], vare: [987654, 654321, 123456, 789012] }}
Command format documentation
Uplink command to get
A-
,R+
,R-
energies (II
-III
quadrant) 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