Uplink command to get day energies A+, R+, R- by default or selected energies (A+, R+, R- or A-, R+, R-) for 4 tariffs (T1-T4) for date.
A+
R+
R-
A-
T1
T4
The corresponding downlink command: getDayDemand.
getDayDemand
import * as getDayDemand from 'jooby-codec/mtx3/commands/uplink/getDayDemand.js';// default A+, R+, R- energiesconst bytes = [ 0x18, 0x03, 0x16, 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 = getDayDemand.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 24, month: 3, date: 22 }, energies: { wh: [40301230, 3334244, 15000, 2145623], vari: [25000, 1234567, 789456, 9876543], vare: [987654, 654321, 123456, 789012] }} Copy
import * as getDayDemand from 'jooby-codec/mtx3/commands/uplink/getDayDemand.js';// default A+, R+, R- energiesconst bytes = [ 0x18, 0x03, 0x16, 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 = getDayDemand.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 24, month: 3, date: 22 }, energies: { wh: [40301230, 3334244, 15000, 2145623], vari: [25000, 1234567, 789456, 9876543], vare: [987654, 654321, 123456, 789012] }}
Command format documentation
Uplink command to get day energies
A+
,R+
,R-
by default or selected energies (A+
,R+
,R-
orA-
,R+
,R-
) for 4 tariffs (T1
-T4
) for date.The corresponding downlink command:
getDayDemand
.Example: create command instance from command body hex dump
Command format documentation