Room Assistant and MQTT

Hi. I’m moving HA off my Pi and onto Docker running on Synology NAS. All is working well but I’m having an issue with Room Assistant. This was all working on the Pi. Room Assistant is publishing to my Mosquito MQTT and I can see that with MQTT.fx I can also publish from HA to MQTT and see that. HA however does not appear to be making the state change on my sensor. My HA configuration is

#Room Assistant
  - platform: mqtt_room
    device_id: 74278BDA-B644-4520-8F0C-720EAF059935-1-1700
    name: 'Car'
    state_topic: 'room_presence'
    timeout: 5
    away_timeout: 30
#mqtt broker on NAS
mqtt:
  broker: 192.168.0.122
  port: 1883
  discovery: true
  client_id: home-assistant

Any help greatly appreciated!

Ian

Shouldn’t the device_id be the MAC address of the device you want to track? Can you show some messages you receive fromo room-assistant on the Mosquitto MQTT?

No, it’s an iBeacon. Config was working perfectly on my Pi but haven’t been able to get it going since moving HA onto my NAS. Here’s what Room Assistant is publishing to MQTT -

{"id":"74278bdab64445208f0c720eaf059935-1-1700","name":"My beacon00000","rssi":-81,"uuid":"74278bdab64445208f0c720eaf059935","major":1,"minor":1700,"distance":9.688199276229902}

I think the device_id in the room assistant configuration should exactly match “id” from the mqtt message.

Try like this:

#Room Assistant
  - platform: mqtt_room
    device_id: 74278bdab64445208f0c720eaf059935-1-1700
    name: 'Car'
    state_topic: 'room_presence'
    timeout: 5
    away_timeout: 30

Could you please reply to me instead of the thread the next time. I only saw that you answered on accident.