Uplink command to get the maximum daily power P- for all tariffs (T1-T4).
P-
T1
T4
The corresponding downlink command: getDayMaxDemandExport.
getDayMaxDemandExport
import * as getDayMaxDemandExport from 'jooby-codec/mtx1/commands/uplink/getDayMaxDemandExport.js';// response to getDayMaxDemandExport downlink commandconst bytes = [ 0x17, 0x03, 0x0c, 0x01, 0x00, 0x00, 0x00, 0x01, 0xc8, 0x03, 0x0c, 0x00, 0x00, 0x25, 0x02, 0x07, 0x1e, 0x00, 0x01, 0x32, 0xed, 0x0c, 0x3b, 0x00, 0x06, 0x09, 0x77];// decoded payloadconst parameters = getDayMaxDemandExport.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 23, month: 3, date: 12 }, power: [ { hours: 1, minutes: 0, power: 456 }, { hours: 3, minutes: 12, power: 9474 }, { hours: 7, minutes: 30, power: 78573 }, { hours: 12, minutes: 59, power: 395639 } ]} Copy
import * as getDayMaxDemandExport from 'jooby-codec/mtx1/commands/uplink/getDayMaxDemandExport.js';// response to getDayMaxDemandExport downlink commandconst bytes = [ 0x17, 0x03, 0x0c, 0x01, 0x00, 0x00, 0x00, 0x01, 0xc8, 0x03, 0x0c, 0x00, 0x00, 0x25, 0x02, 0x07, 0x1e, 0x00, 0x01, 0x32, 0xed, 0x0c, 0x3b, 0x00, 0x06, 0x09, 0x77];// decoded payloadconst parameters = getDayMaxDemandExport.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 23, month: 3, date: 12 }, power: [ { hours: 1, minutes: 0, power: 456 }, { hours: 3, minutes: 12, power: 9474 }, { hours: 7, minutes: 30, power: 78573 }, { hours: 12, minutes: 59, power: 395639 } ]}
Command format documentation
Uplink command to get the maximum daily power
P-
for all tariffs (T1
-T4
).The corresponding downlink command:
getDayMaxDemandExport
.Example: create command instance from command body hex dump
Command format documentation