Not receiving any MQTT messages 馃し #1056
-
I鈥檔 running a raspberry pi 3b with Hyperiot and a docker-compose configuration with an MQTT server which doesn't show any updates. Here is my docker-compose.yml version: '3.6'
services:
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
restart: unless-stopped
ports:
- "1883:1883"
- "9001:9001"
network_mode: host
room-assistant:
container_name: room-assistant
image: mkerix/room-assistant
network_mode: host
restart: unless-stopped
depends_on:
- mosquitto
volumes:
- /var/run/dbus:/var/run/dbus
- ./volumes/room-assistant/config:/room-assistant/config And here is my config. I added the tag and the beacon ID of the same device. global:
instanceName: pats
integrations:
- mqtt
- bluetoothLowEnergy
bluetoothLowEnergy:
maxDistance: 5
allowlist:
- 4XXXXXXXXXX6
- 6XXXXXXE-BXX6-4XXE-9216-9XXXXXXXXXX9
tagOverrides:
4XXXXXXXXXX6:
name: patsIPhone
6XXXXXXE-BXX6-4XXE-9216-9XXXXXXXXXX9:
name: patsIPhoneBeacon The logs seem more or less fine... apart from some warnings !? MQTT is connected and the device is being detected but still no mqtt message.
A channel I am listening to is As I said at the beginning I don't get any messages on the outgoing end of MQTT. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I figured out by subscribing to all mqtt topics using "#" that the topic I have to listen to looks like that: "room-assistant/entity/pats/bluetooth-low-energy-presence-sensor/ble-6xxxxxxe-bxx6-4xxe-9xx6-9xxxxxxxxxx9". For people with the same problem try the following:
|
Beta Was this translation helpful? Give feedback.
I figured out by subscribing to all mqtt topics using "#" that the topic I have to listen to looks like that: "room-assistant/entity/pats/bluetooth-low-energy-presence-sensor/ble-6xxxxxxe-bxx6-4xxe-9xx6-9xxxxxxxxxx9".
For people with the same problem try the following: