Downlink command to get halfhours energies by 4 tariffs (T1-T4).
T1
T4
This command can be transmitted only via Lora.
Supported in MTX1 and MTX3 devices.
import * as getHalfHourEnergies from 'jooby-codec/mtx1/commands/downlink/getHalfHourEnergies.js';const parameters = { date: { year: 21, month: 2, date: 3, }, firstHalfhour: 5, halfhoursNumber: 4, energies: { 'A+': true, 'A+R+': true, }};const bytes = getHalfHourEnergies.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[111, 5, 42, 67, 3, 5, 4] Copy
import * as getHalfHourEnergies from 'jooby-codec/mtx1/commands/downlink/getHalfHourEnergies.js';const parameters = { date: { year: 21, month: 2, date: 3, }, firstHalfhour: 5, halfhoursNumber: 4, energies: { 'A+': true, 'A+R+': true, }};const bytes = getHalfHourEnergies.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[111, 5, 42, 67, 3, 5, 4]
Command format documentation
Downlink command to get halfhours energies by 4 tariffs (
T1
-T4
).This command can be transmitted only via Lora.
Supported in MTX1 and MTX3 devices.
Example
Command format documentation