Добрый день!
Устанавливал авторизацию на MQTT по инструкции (MQTT в контроллерах Wiren Board — Wiren Board). После установки веб интерфейс не смог получать данные (скрин), хотя пишет, что connected.
Без авторизации - все работает, естественно.
Перегружал сервисы mosquitto и wb-mqtt-serial (на всякий), и даже контроллер - не помогло.
В чем может быть дело?
Файлы конфигурации следующие:
/mnt/data/etc/mosquitto/acl.conf:
user zebra
topic readwrite #
topic readwrite $SYS/#
/etc/mosquitto/mosquitto.conf:
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example
pid_file /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
/etc/mosquitto/passwd.conf:
zebra:$6$AjXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXMGbw==
/etc/mosquitto/auth.conf:
acl_file /etc/mosquitto/acl.conf
password_file /etc/mosquitto/passwd.conf
allow_anonymous false
allow_anonymous_localhost true
/etc/mosquitto/listeners.conf:
listener 1883 0.0.0.0
listener 18883 0.0.0.0
protocol websockets
/etc/mosquitto/bridge.conf:
#see bridge.conf.example for the example