Uplink command to get day energies by 4 tariffs (T1-T4).
T1
T4
This command can be transmitted only via Lora.
import * as getDayEnergies from 'jooby-codec/mtx1/commands/uplink/getDayEnergies.js';// response to getDayEnergies downlink commandconst bytes = [0x2a, 0x43, 0x11, 0x22, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x20, 0x00];// decoded payloadconst parameters = getDayEnergies.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 21, month: 2, date: 3 }, energies: [ null, { 'A+': 0x1000, 'A-R+': 0x2000 }, null, null ]} Copy
import * as getDayEnergies from 'jooby-codec/mtx1/commands/uplink/getDayEnergies.js';// response to getDayEnergies downlink commandconst bytes = [0x2a, 0x43, 0x11, 0x22, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x20, 0x00];// decoded payloadconst parameters = getDayEnergies.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 21, month: 2, date: 3 }, energies: [ null, { 'A+': 0x1000, 'A-R+': 0x2000 }, null, null ]}
Command format documentation
Uplink command to get day energies by 4 tariffs (
T1
-T4
).This command can be transmitted only via Lora.
Example: create command instance from command body hex dump
Command format documentation