Downlink command to set full date and time on the meter.
Supported in MTX1 and MTX3 devices.
import * as setDateTime from 'jooby-codec/mtx1/commands/downlink/setDateTime.js';const parameters = { isSummerTime: false, seconds: 55, minutes: 31, hours: 18, day: 2, date: 19, month: 2, year: 24};const bytes = setDateTime.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[8, 8, 0, 55, 31, 18, 2, 19, 2, 24] Copy
import * as setDateTime from 'jooby-codec/mtx1/commands/downlink/setDateTime.js';const parameters = { isSummerTime: false, seconds: 55, minutes: 31, hours: 18, day: 2, date: 19, month: 2, year: 24};const bytes = setDateTime.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[8, 8, 0, 55, 31, 18, 2, 19, 2, 24]
Command format documentation
Downlink command to set full date and time on the meter.
Supported in MTX1 and MTX3 devices.
Example
Command format documentation