Uplink command to get halfhours energies by 4 tariffs (T1-T4).
T1
T4
This command can be transmitted only via Lora.
Supported in MTX3 devices.
import * as getHalfHourEnergies from 'jooby-codec/mtx3/commands/uplink/getHalfHourEnergies.js';// response to getHalfHourEnergies downlink commandconst bytes = [0x2a, 0x43, 0x11, 0x01, 0x02, 0x10, 0x00, 0x20, 0x00, 0x30, 0x00, 0x40, 0x00];// decoded payloadconst parameters = getHalfHourEnergies.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 21, month: 2, date: 3 }, firstHalfhour: 1, halfhoursNumber: 2, energies: { 'A+': [0x1000, 0x2000], 'A-R+': [0x3000, 0x4000] }} Copy
import * as getHalfHourEnergies from 'jooby-codec/mtx3/commands/uplink/getHalfHourEnergies.js';// response to getHalfHourEnergies downlink commandconst bytes = [0x2a, 0x43, 0x11, 0x01, 0x02, 0x10, 0x00, 0x20, 0x00, 0x30, 0x00, 0x40, 0x00];// decoded payloadconst parameters = getHalfHourEnergies.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 21, month: 2, date: 3 }, firstHalfhour: 1, halfhoursNumber: 2, energies: { 'A+': [0x1000, 0x2000], 'A-R+': [0x3000, 0x4000] }}
Command format documentation
Uplink command to get halfhours energies by 4 tariffs (
T1
-T4
).This command can be transmitted only via Lora.
Supported in MTX3 devices.
Example: create command instance from command body hex dump
Command format documentation