установила.
у меня брокер под паролем.
Код: Выделить всё
[smarthome]
ip = 192.168.10.111
outgoing_socket =
token =
terminal = md01
username = qwerty
password = qwerty
object_name =
object_method =
heartbeat_timeout = 0
pool_size = 1
allow_addresses =
disable_http = on
disable_server = off
unsafe_rpc = off
send_rms = off
async_notify = on
в логах мпд
Код: Выделить всё
2021.10.08 16:04:39.717 Plugins->Mqtt: start.
2021.10.08 16:04:39.721 Plugins->Mqtt: MQTT connected, subscribing to: md01/cmd
2021.10.08 16:04:39.723 Plugins->Mqtt: MQTT Disconnected, reconnecting: {}
2021.10.08 16:04:39.815 SYSTEM: You are using latest mdmTerminal2 version 0.18.7.
2021.10.08 16:04:40.734 Plugins->Mqtt: MQTT connected, subscribing to: md01/cmd
2021.10.08 16:04:40.736 Plugins->Mqtt: MQTT Disconnected, reconnecting: {}
2021.10.08 16:04:42.747 Plugins->Mqtt: MQTT connected, subscribing to: md01/cmd
202
поднимаем логи брокера...
Код: Выделить всё
2021.10.08 (16:04:39): New connection from 192.168.10.7:43193 on port 1883.
2021.10.08 (16:04:39): Sending CONNACK to 192.168.10.7 (0, 5)
2021.10.08 (16:04:39): Client <unknown> disconnected, not authorised.
2021.10.08 (16:04:39): New connection from 192.168.10.7:49599 on port 1883.
2021.10.08 (16:04:40): Client <unknown> closed its connection.
2021.10.08 (16:04:40): New connection from 192.168.10.7:48339 on port 1883.
2021.10.08 (16:04:40): Sending CONNACK to 192.168.10.7 (0, 5)
2021.10.08 (16:04:40): Client <unknown> disconnected, not authorised.
2021.10.08 (16:04:40): New connection from 192.168.10.7:47843 on port 1883.
2021.10.08 (16:04:42): Client <unknown> closed its connection.