mqtt 的日志里提示
1518276634: Warning: Mosquitto should not be run as root/administrator.
这个错误什么意思??
starting version 3.2.2
1518276634: mosquitto version 1.4.12 (build date 2017-06-01 13:03:48+0000) starting
1518276634: Config loaded from /etc/mosquitto.conf.
1518276634: Opening ipv4 listen socket on port 1883.
1518276634: Opening ipv6 listen socket on port 1883.
1518276634: Warning: Mosquitto should not be run as root/administrator.
1518276637: New connection from 192.168.0.108 on port 1883.
1518276637: New client connected from 192.168.0.108 as DVES_71C4AB (c1, k15, u'mqtt').
SyntaxError: Unexpected token { in JSON at position 904
at JSON.parse (<anonymous>)
at Server._loadConfig (/usr/lib/node_modules/homebridge/lib/server.js:201:19)
at new Server (/usr/lib/node_modules/homebridge/lib/server.js:57:38)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:26:16)
at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat? ... =DNSServiceRegister>
[2018-2-11 10:20:12] Loaded plugin: homebridge-broadlink-rm
[2018-2-11 10:20:12] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[2018-2-11 10:20:12] ---
[2018-2-11 10:20:13] Loaded plugin: homebridge-homeassistant
[2018-2-11 10:20:13] Registering platform 'homebridge-homeassistant.HomeAssistant'
[2018-2-11 10:20:13] ---
[2018-2-11 10:20:13] There was a problem reading your config.json file.
[2018-2-11 10:20:13] Please try pasting your config.json file here to validate it: http://jsonlint.com
[2018-2-11 10:20:13]
/usr/lib/node_modules/homebridge/lib/server.js:207
throw err;
^