Downlink command to get energies (A+ for MTX1 and A+, R+, R- for MTX3) for 4 tariffs (T1-T4) for a given month.
A+
MTX1
R+
R-
MTX3
T1
T4
Supported in MTX1 and MTX3 devices.
import * as getMonthDemand from 'jooby-codec/mtx1/commands/downlink/getMonthDemand.js';const parameters = { year: 24, month: 3};const bytes = getMonthDemand.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[23, 2, 24, 3] Copy
import * as getMonthDemand from 'jooby-codec/mtx1/commands/downlink/getMonthDemand.js';const parameters = { year: 24, month: 3};const bytes = getMonthDemand.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[23, 2, 24, 3]
Command format documentation
Downlink command to get energies (
A+
forMTX1
andA+
,R+
,R-
forMTX3
) for 4 tariffs (T1
-T4
) for a given month.Supported in MTX1 and MTX3 devices.
Example
Command format documentation