Hi!
I have managed to install this Bluetooth monitor on a Pie:
And I can see that it is running perfectly, detecting both arrivals and departures, however I am having issues, getting it to connect to my MQTT brooker in Home Assistant (Mosquitto)
My Sonoffs works fine with Mosquitto, but the monitor is not capable of connecting.
I get (a lot of) these in my MQTT log:
1551357044: New connection from 192.168.1.129 on port 1883.
[INFO] found mqtt on Home Assistant
1551357045: New client connected from 192.168.1.129 as home2508 (c1, k60, u’mqtt’).
1551357045: Client home2508 disconnected.
1551357045: New connection from 192.168.1.129 on port 1883.
[INFO] found mqtt on Home Assistant
1551357045: New client connected from 192.168.1.129 as home2509 (c1, k60, u’mqtt’).
1551357045: Client home2509 disconnected.
My mqtt_preferences in the monitor looks like this:
MOSQUITTO PREFERENCES
mqtt_address=“192.168.1.112”
mqtt_port=“1883”
mqtt_user=“mqtt”
mqtt_password=“mqttpassword”
mqtt_topicpath=“monitor”
mqtt_publisher_identity=“home”
and my mosquitto config looks like this:
{
“logins”: [],
“anonymous”: false,
“customize”: {
“active”: false,
“folder”: “mosquitto”
},
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}
Anybody have any idea, what I am doing wrong here?