Uplink command to get halfhours energies by 4 tariffs (T1-T4).
T1
T4
This command can be transmitted only via Lora.
Supported in MTX1 devices.
import * as getHalfHourEnergies from 'jooby-codec/mtx1/commands/uplink/getHalfHourEnergies.js';// response to getHalfHourEnergies downlink commandconst bytes = [0x2a, 0x43, 0x11, 0x01, 0x02, 0x40, 0x00, 0x80, 0x2f, 0x44, 0xd2, 0xb0, 0x39];// decoded payloadconst parameters = getHalfHourEnergies.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 21, month: 2, date: 3 }, firstHalfhour: 1, halfhoursNumber: 2, energies: { 'A+': [ {tariff: 1, energy: 0}, {tariff: 2, energy: 47} ], 'A-R+': [ {tariff: 1, energy: 1234}, {tariff: 2, energy: 12345} ] }} Copy
import * as getHalfHourEnergies from 'jooby-codec/mtx1/commands/uplink/getHalfHourEnergies.js';// response to getHalfHourEnergies downlink commandconst bytes = [0x2a, 0x43, 0x11, 0x01, 0x02, 0x40, 0x00, 0x80, 0x2f, 0x44, 0xd2, 0xb0, 0x39];// decoded payloadconst parameters = getHalfHourEnergies.fromBytes(bytes);console.log(parameters);// output:{ date: { year: 21, month: 2, date: 3 }, firstHalfhour: 1, halfhoursNumber: 2, energies: { 'A+': [ {tariff: 1, energy: 0}, {tariff: 2, energy: 47} ], 'A-R+': [ {tariff: 1, energy: 1234}, {tariff: 2, energy: 12345} ] }}
Command format documentation
Uplink command to get halfhours energies by 4 tariffs (
T1
-T4
).This command can be transmitted only via Lora.
Supported in MTX1 devices.
Example: create command instance from command body hex dump
Command format documentation