Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mqtt broker #55

Open
remko2000 opened this issue Apr 2, 2020 · 1 comment
Open

mqtt broker #55

remko2000 opened this issue Apr 2, 2020 · 1 comment

Comments

@remko2000
Copy link

remko2000 commented Apr 2, 2020

I followed al the steps in the wiki (I installed mongodb on my hostraspberry 3(10.0.1.22) and it's running) and updated my json in homebridge but get an error:
Error: listen EADDRINUSE: address already in use :::1883 at Server.setupListenHandle [as _listen2] (net.js:1309:16) at listenInCluster (net.js:1357:12) at Server.listen (net.js:1445:7) at /usr/lib/node_modules/homebridge-dafang/node_modules/mosca/lib/server.js:225:16 at makeCall (/usr/lib/nod

My homebridge is down because of this error.

With 'sudo lsof -i :1883' I get:

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mosquitto 10783 mosquitto 5u IPv4 45600 0t0 TCP *:1883 (LISTEN)
mosquitto 10783 mosquitto 6u IPv6 45601 0t0 TCP *:1883 (LISTEN)
mosquitto 10783 mosquitto 9u IPv4 43888 0t0 TCP 10.0.1.22:1883->10.0.1.67:65361 (ESTABLISHED)

10.0.1.22 is my hostraspberry 3 and it looks like there is also a tasmotaswitch(10.0.1.67) with some kind of mosquitobroker linked to my raspberry. How do I solve this error?

@mkormendy
Copy link
Contributor

@remko2000 it appears that you need to do more research on MQTT, there are plenty of guides out there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants