andrewjfreyer / monitor

Distributed advertisement-based BTLE presence detection reported via mqtt
1.62k stars 193 forks source link

Networking issues #405

Open infinitejest opened 2 years ago

infinitejest commented 2 years ago

Hi:

I installed monitor in the raspberry pi and it seems to working fine. It can detect the devices perfectly. Having trouble to set up the network settings and Home assistant or any mqtt clients are not able to connect to the device. It says connection failed. Do you know what is the IP address that we have to put on the MQTT settings. I put localhost 127.0.0.1 ; and it was no good; monitor works well but client not able to connect. I tried localhost, made a new IP connection and still having trouble.

Any suggestions

infinitejest commented 2 years ago

I figured it out; I am posting here for others. It seems that in Mosquitto MQTT 2.0 you need to edit the /etc/mosquitto/mosquitto.conf file.

If you go to the last line you need to put listener 1883 if you do that you will be able to connect following andrew instructions.