Smartthings Arrival Sensor via MQTT?

Hi,

I have been trying to get my ST communicating with my HASS. I am running it with Docker on a Synology DS1515+. I am using CloudMQTT as my broker, and am running StJohnJohnson’s MQTT bridge as a Docker container on the Synology as well.

So I tried adding the ST arrival sensor to HASS with no luck. I can see it in the frontend but no data is showing. I tried both binary sensor and sensor configurations. I tried adding a WeMo switch as well, it didn’t even show up in the HASS frontend.

Here are some questions in addition to the obvious ones:

  1. I’m not even sure if my MQTT is working because I don’t know how to test the communication. Is there a way to test it?
  2. How do I refer to an ST device in Home Assistant? Do they have UIDs?
  3. The MQTT bridge config file is located at /usr/src/app/_config.yml instead of ~/config.yml. Is there something wrong?

MQTT Bridge settings (I have changed port number, username and password for protection):

mqtt:                                                                                                                                                                                                       
    # Specify your MQTT Broker's hostname or IP address here                                                                                                                                                
    host: mqtt://m10.cloudmqtt.com:port                                                                                                                                                                    
    # Preface for the topics $PREFACE/$DEVICE_NAME/$PROPERTY                                                                                                                                                
    preface: smartthings                                                                                                                                                                                    
                                                                                                                                                                                                            
    # Suffix for the state topics $PREFACE/$DEVICE_NAME/$PROPERTY/$STATE_SUFFIX                                                                                                                             
    # state_suffix: state                                                                                                                                                                                   
    # Suffix for the command topics $PREFACE/$DEVICE_NAME/$PROPERTY/$COMMAND_SUFFIX                                                                                                                         
    # command_suffix: cmd                                                                                                                                                                                   
                                                                                                                                                                                                            
    # Other optional settings from https://www.npmjs.com/package/mqtt#mqttclientstreambuilder-options                                                                                                       
    username: username                                                                                                                                                                                  
    password: password                                                                                                                                                                                   
                                                                                                                                                                                                            
# Port number to listen on                                                                                                                                                                                  
port: 8080

My MQTT Configuration under configuration.yaml:

mqtt:
  broker: m10.cloudmqtt.com
  port: !secret cloudmqtt_port
  client_id: !secret cloudmqtt_client_id
  keepalive: 60
  username: !secret cloudmqtt_username
  password: !secret cloudmqtt_password

Relevant Sensor Configurations under configuration.yaml:

binary_sensor:
  - platform: mqtt
    name: "Binary Arrival Sensor Presence"
    picture: https://pbs.twimg.com/profile_images/833435180282974208/yOBGupTn_400x400.jpg
    state_topic: "smartthings/Arrival Sensor/presence"
    command_topic: "smartthings/Arrival Sensor/presence"
    retain: true
sensor:
  - platform: mqtt
    name: "Arrival Sensor Presence"
    picture: https://pbs.twimg.com/profile_images/833435180282974208/yOBGupTn_400x400.jpg
    state_topic: "smartthings/Arrival Sensor/presence"
    command_topic: "smartthings/Arrival Sensor/presence"
    retain: true
  - platform: mqtt
    name: "Arrival Sensor Battery"
    icon: mdi:battery
    state_topic: "smartthings/Arrival Sensor/battery"
    command_topic: "smartthings/Arrival Sensor/battery"
    unit: '%'
    retain: true

Some screenshots: