Consumer IR/en: различия между версиями

Новая страница: «Example: <pre> root@wirenboard:~# mosquitto_sub -v -t '/devices/wb-lirc/#' /devices/wb-lirc/meta/name IR Remote Control /devices/wb-lirc/controls/Key/meta/order 1…»
(Новая страница: «'''wb-mqtt-lirc''' creates a device "/devices/wb-lirc/", accepted clicks are published in the topic "/devices/wb-lirc/controls/Key" in the format '''<switch_name>…»)
(Новая страница: «Example: <pre> root@wirenboard:~# mosquitto_sub -v -t '/devices/wb-lirc/#' /devices/wb-lirc/meta/name IR Remote Control /devices/wb-lirc/controls/Key/meta/order 1…»)
Строка 60: Строка 60:
'''wb-mqtt-lirc''' creates a device "/devices/wb-lirc/", accepted clicks are published in the topic "/devices/wb-lirc/controls/Key" in the format '''<switch_name>:<button_name>:<repeat>'''. After releasing the button, a message with an empty body is published in this topic.
'''wb-mqtt-lirc''' creates a device "/devices/wb-lirc/", accepted clicks are published in the topic "/devices/wb-lirc/controls/Key" in the format '''<switch_name>:<button_name>:<repeat>'''. After releasing the button, a message with an empty body is published in this topic.


Пример:
Example:
<pre>
<pre>
root@wirenboard:~# mosquitto_sub -v -t '/devices/wb-lirc/#'
root@wirenboard:~# mosquitto_sub -v -t '/devices/wb-lirc/#'
12 063

правки