NOVUS AUTOMATION
24/85
8.2
INSCRIPTION TOPIC
When connected to a Broker,
LogBox Wi-Fi
can receive commands that will be answered through the
novus/<sn>
*
/response
topic, as can be
seen below.
Commands in this topic can only be sent to the Broker if they have written permission enabled in the NXperience
software (see
section of the
chapter).
•
novus/<sn>
*
/command:
Topic for receiving commands sent via MQTT.
Example:
{"buzzer_state":0}
Command
Type
Example
Description
sp_alarm_01
Double
{“sp_alarm_01”:125.37}
Allows you to change the alarm channel 1 setpoint.
sp_alarm_02
Double
{“sp_alarm_02”:50.37}
Allows you to change the alarm channel 2 setpoint.
sp_alarm_03
Double
{“sp_alarm_03”:50.37}
Allows you to change the alarm channel 3 setpoint.
sp_alarm_04
Double
{“sp_alarm_04”:50.37}
Allows you to change the alarm channel 4 setpoint.
sp_alarm_05
Double
{“sp_alarm_05”:50.37}
Allows you to change the alarm channel 5 setpoint.
sp_alarm_06
Double
{“sp_alarm_06”:50.37}
Allows you to change the alarm channel 6 setpoint.
sp_alarm_07
Double
{“sp_alarm_07”:50.37}
Allows you to change the alarm channel 7 setpoint.
sp_alarm_08
Double
{“sp_alarm_08”:50.37}
Allows you to change the alarm channel 8 setpoint.
sp_alarm_09
Double
{“sp_alarm_09”:50.37}
Allows you to change the alarm channel 9 setpoint.
sp_alarm_10
Double
{“sp_alarm_10”:67.35}
Allows you to change the alarm channel 10 setpoint.
buzzer_state
Boolean
{"buzzer_state":1}
It informs the current state of the buzzer, according to the parameter
established in the Boolean settings of the sent command.
For this command to work, it is necessary that the
Buzzer
option of the
tab of the NXperience has been selected.
See the
section of this chapter for more information about
Boolean types and formats.
internal_clock
Unix Timestamp or
TDateTime
{"internal_clock":1533294048}
If Unix format
{"internal_clock":43277.40465278}
If TDateTime format
Displays the device's internal clock.
This parameter must be written with the same Timestamp format defined in
NXperience
.
For this command to work, it is necessary that the
Intern Clock
option of
the
tab of the NXperience has been selected.
See the
section of this chapter for more information on the
formats supported by the device.
set_download
Unix Timestamp or
TDateTime
{"set_download":1533294048}
If Unix format
{"set_download":43277.40465278}
If TDateTime format
Command used to request that
LogBox Wi-Fi
resend all logs from the
requested date in the "
/log/channels
" and "
/log/event
" topics (see
section of this chapter).
For this command to work, it is necessary that the
Set Download
option of
the
tab of the NXperience has been selected.
This parameter must be written with the same Timestamp format defined in
NXperience
.
See the
section of this chapter for more information on the
formats supported by the device.
accumulator_reset
Boolean
{"accumulator_reset":1}
Command used to reset the 32-bit accumulator count if configured to allow
reset via MQTT.
The only values allowed are
1
and
true
, according to the parameter
established in the Boolean settings of the command sent.
For this command to work, it is necessary to select the option
Via MQTT
on
the tab
See
section of this chapter for more information on
Boolean types and formats.
Table 5 –
Command list
If successful, the device will send a message that can be viewed in the response topic
novus/<sn>
*
/response
, as described in the
If there is any kind of error during the command request, the device will still send a response via the
novus/<sn>
*
/response
topic, but it will inform
the type of error found, as described in
Table 6
.
Example:
Command:
{"buzzer_state":0}
Answer:
{"config_receive":"fail","error_type":"NOT_AUTHORIZED_ERROR","parameter":"buzzer_state"}
*
The
<sn>
is the device serial number. That way, there will be no clash of topics in the Broker.