Перейти к содержанию

Навигация

ПО МКА-3/en: различия между версиями

Новая страница: «* Via the web interface in the Back relays section * With the command '''dbic_invoke_pcycle.sh''' in the console * By sending a command via MQT <pre> mosquitto_pu…»
(Новая страница: «The daemon listens to commands on the bus MQTT. There are three different ways to trigger a SCU reboot, i.e. send an MQTT command to the daemon:»)
(Новая страница: «* Via the web interface in the Back relays section * With the command '''dbic_invoke_pcycle.sh''' in the console * By sending a command via MQT <pre> mosquitto_pu…»)
Строка 12: Строка 12:
The daemon listens to commands on the bus MQTT. There are three different ways to trigger a SCU reboot, i.e. send an MQTT command to the daemon:
The daemon listens to commands on the bus MQTT. There are three different ways to trigger a SCU reboot, i.e. send an MQTT command to the daemon:


* Через веб-интерфейс в разделе Back relays
* Via the web interface in the Back relays section
* С помощью команды `dbic_invoke_pcycle.sh` в консоли
* With the command '''dbic_invoke_pcycle.sh''' in the console
* С помощью отправки команды через MQTT
* By sending a command via MQT
<pre>
<pre>
mosquitto_pub -h <ip-адрес МКА> -t "/devices/dbic-power-cycle/controls/power/on" -m "0" -q 2
mosquitto_pub -h <ip-адрес МКА> -t "/devices/dbic-power-cycle/controls/power/on" -m "0" -q 2
12 063

правки