Home Assistant & Smartthings MQTT advice

Firstly, I am no expert in MQTT. I understand what it’s there to do, but am struggling to suss why I have the issue I have.

I have Hass.io installed on my Raspberry Pi, as well as the following addons

Mosquitto
Smartthings-MQTT-Bridge (from Smartthings-MQTT-bridge

The issue I have is that I am seeing no MQTT messages, I get the smartthings messages which changes the status on the Home Assistant panels. But if I try to change any on the panel in the hope that it triggers in smartthings it just toggles the switch to the opposite state and then back to its original state (e.g if it was ON, it goes to Off then back to On).

I have my Smartthings MQTT bridge all setup in Smartthings etc

I just don’t know why I can’t see any MQTT messages inbound. I can see in the MQTT log when I restart mosquitto etc it connects ok.

Has anyone got any ideas on how to progress, happy to supply config files etc.

The number one issue I see with this is the MAC ID from the Pi isn’t set correctly in ST.

I will say, I had this running for a couple months and always want to smash the ST hub in a million pieces as it was always breaking or switch states becoming unsync’d. I highly recommend moving away from this when you can.

Moving away from Smartthings? I bought the Samsung hub so as not to need 400 other hubs and the need for a million accounts on Chinese cloud servers I don’t know anything about.

The MAC address is deffo the right one I am using.

1 Like

I had this issue several times. I ran mqtt-bridge in a docker container. Come to find out, I needed to set the MAC in the mqtt device to the MAC address of the host Running docker, not the MAC identified inside the docker container.

wow… thats a lot to take in… so I am running Hass.io and then installed it via Add-ons store.

I am using the physical MAC address of my wired ethernet port on the Raspberry Pi for the smartthings side

Oddly I had traffic going both ways when I manually installed everything on Hassbian, but never got as far as getting Home Assistant to turn stuff on/off in Smartthings before I switched to Hass.io

Still playing around with this… Do these logs help at all from Mosquitto

starting version 3.2.2
1528137820: mosquitto version 1.4.12 (build date 2017-06-01 13:03:48+0000) starting
1528137820: Config loaded from /etc/mosquitto.conf.
1528137820: Opening ipv4 listen socket on port 1883.
1528137820: Opening ipv6 listen socket on port 1883.
1528137820: Warning: Mosquitto should not be run as root/administrator.
1528137820: New connection from 192.168.0.189 on port 1883.
1528137820: New client connected from 192.168.0.189 as mqttjs_25a5fbe7 (c1, k10).
1528137821: New connection from 192.168.0.189 on port 1883.
1528137822: Socket error on client , disconnecting.
1528137822: New connection from 192.168.0.189 on port 1883.
1528137822: New client connected from 192.168.0.189 as hass-1 (c1, k60).

Yep I bought a Zwave/Zigbee stick and pulled the plug on the ST Hub. It’s really a hack to get stuff back and forth with ST through MQTT, I went through the code as I had several issues. Some really awesome work by the developer with the constraints he has with ST.

Can you see the actual log from the ST MQTT Bridge?

I was thinking of doing the same, any suggestions as to what to purchase. It would appear the one everyone talks about is not available anymore.

The log from the bridge looks like this

info: Incoming message from SmartThings: smartthings/3rd Bedroom Window/battery/state = 100
info: Incoming message from SmartThings: smartthings/Heating Hive Heating/temperature/state = 23
info: Incoming message from SmartThings: smartthings/Aqara Button WXKG11LM/battery/state = 100
info: Saving current state
info: Saving current state
info: Subscribing to smartthings/Lounge Bulb Hive Colour Bulb/hue/cmd, smartthings/Front Door/acceleration/cmd, smartthings/Front Bedroom Temp/temperature/cmd, smartthings/Front Door/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Motion Sensor/temperature/cmd, smartthings/Weather Station/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Emma’s Bulb Hive Light Tunable/level/cmd, smartthings/Hallway Bulb Hive Light Tunable/level/cmd, smartthings/Kitchen Bulb Hive Light Tunable/level/cmd, smartthings/Landing bulb Hive Light Tunable/level/cmd, smartthings/Lounge Bulb Hive Colour Bulb/level/cmd, smartthings/Office Bulb Hive Light Tunable/level/cmd, smartthings/Aqara Button WXKG11LM/button/cmd, smartthings/Plug 1 Hive Plug/power/cmd, smartthings/Samsung Power/power/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Duncan’s Presence/rssi/cmd, smartthings/BI Cam - Garden/motion/cmd, smartthings/Motion Sensor/motion/cmd, smartthings/Emma’s Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Hallway Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Kitchen Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Landing bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Lounge Bulb Hive Colour Bulb/colorTemperature/cmd, smartthings/Office Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Front Door/threeAxis/cmd, smartthings/Heating Hive Heating/thermostatFanMode/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Front Bedroom Temp/humidity/cmd, smartthings/Weather Station/humidity/cmd, smartthings/Weather Station/illuminance/cmd, smartthings/Heating Hive Heating/thermostatSetpoint/cmd, smartthings/Heating Hive Heating/coolingSetpoint/cmd, smartthings/Fan Switch/switch/cmd, smartthings/Office Bulb Hive Light Tunable/switch/cmd, smartthings/4K TV/switch/cmd, smartthings/Emma’s Bulb Hive Light Tunable/switch/cmd, smartthings/BI Cam - Garden/switch/cmd, smartthings/Hallway Bulb Hive Light Tunable/switch/cmd, smartthings/Kitchen Bulb Hive Light Tunable/switch/cmd, smartthings/Landing bulb Hive Light Tunable/switch/cmd, smartthings/Lounge Bulb Hive Colour Bulb/switch/cmd, smartthings/Speakers/switch/cmd, smartthings/Samsung Power/switch/cmd, smartthings/Plug 1 Hive Plug/switch/cmd, smartthings/3rd Bedroom Window/contact/cmd, smartthings/Back Door/contact/cmd, smartthings/Front Door/contact/cmd, smartthings/Lounge Window/contact/cmd, smartthings/Contacts/notify/cmd, smartthings/System/notify/cmd, smartthings/3rd Bedroom Window/battery/cmd, smartthings/Aqara Button WXKG11LM/battery/cmd, smartthings/Back Door/battery/cmd, smartthings/Duncan’s Presence/battery/cmd, smartthings/Front Bedroom Temp/battery/cmd, smartthings/Front Door/battery/cmd, smartthings/Lounge Window/battery/cmd, smartthings/Motion Sensor/battery/cmd, smartthings/Duncan’s Presence/lqi/cmd, smartthings/Catherine/presence/cmd, smartthings/Duncan/presence/cmd, smartthings/Duncan Smith’s Galaxy S9+/presence/cmd, smartthings/Duncan’s Presence/presence/cmd, smartthings/Emma/presence/cmd, smartthings/Lounge Bulb Hive Colour Bulb/saturation/cmd, smartthings/Lounge Bulb Hive Colour Bulb/color/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd
info: Incoming message from SmartThings: smartthings/Weather Station/humidity/state = 74
info: Incoming message from SmartThings: smartthings/Heating Hive Heating/temperature/state = 23.02
info: Incoming message from SmartThings: smartthings/Front Bedroom Temp/battery/state = 95
info: Incoming message from SmartThings: smartthings/Motion Sensor/temperature/state = 25
info: Incoming message from SmartThings: smartthings/Back Door/contact/state = closed
info: Saving current state
info: Saving current state
info: Subscribing to smartthings/Lounge Bulb Hive Colour Bulb/hue/cmd, smartthings/Front Door/acceleration/cmd, smartthings/Front Bedroom Temp/temperature/cmd, smartthings/Front Door/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Motion Sensor/temperature/cmd, smartthings/Weather Station/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Emma’s Bulb Hive Light Tunable/level/cmd, smartthings/Hallway Bulb Hive Light Tunable/level/cmd, smartthings/Kitchen Bulb Hive Light Tunable/level/cmd, smartthings/Landing bulb Hive Light Tunable/level/cmd, smartthings/Lounge Bulb Hive Colour Bulb/level/cmd, smartthings/Office Bulb Hive Light Tunable/level/cmd, smartthings/Aqara Button WXKG11LM/button/cmd, smartthings/Plug 1 Hive Plug/power/cmd, smartthings/Samsung Power/power/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Duncan’s Presence/rssi/cmd, smartthings/BI Cam - Garden/motion/cmd, smartthings/Motion Sensor/motion/cmd, smartthings/Emma’s Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Hallway Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Kitchen Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Landing bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Lounge Bulb Hive Colour Bulb/colorTemperature/cmd, smartthings/Office Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Front Door/threeAxis/cmd, smartthings/Heating Hive Heating/thermostatFanMode/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Front Bedroom Temp/humidity/cmd, smartthings/Weather Station/humidity/cmd, smartthings/Weather Station/illuminance/cmd, smartthings/Heating Hive Heating/thermostatSetpoint/cmd, smartthings/Heating Hive Heating/coolingSetpoint/cmd, smartthings/Fan Switch/switch/cmd, smartthings/Office Bulb Hive Light Tunable/switch/cmd, smartthings/4K TV/switch/cmd, smartthings/Emma’s Bulb Hive Light Tunable/switch/cmd, smartthings/BI Cam - Garden/switch/cmd, smartthings/Hallway Bulb Hive Light Tunable/switch/cmd, smartthings/Kitchen Bulb Hive Light Tunable/switch/cmd, smartthings/Landing bulb Hive Light Tunable/switch/cmd, smartthings/Lounge Bulb Hive Colour Bulb/switch/cmd, smartthings/Speakers/switch/cmd, smartthings/Samsung Power/switch/cmd, smartthings/Plug 1 Hive Plug/switch/cmd, smartthings/3rd Bedroom Window/contact/cmd, smartthings/Back Door/contact/cmd, smartthings/Front Door/contact/cmd, smartthings/Lounge Window/contact/cmd, smartthings/Contacts/notify/cmd, smartthings/System/notify/cmd, smartthings/3rd Bedroom Window/battery/cmd, smartthings/Aqara Button WXKG11LM/battery/cmd, smartthings/Back Door/battery/cmd, smartthings/Duncan’s Presence/battery/cmd, smartthings/Front Bedroom Temp/battery/cmd, smartthings/Front Door/battery/cmd, smartthings/Lounge Window/battery/cmd, smartthings/Motion Sensor/battery/cmd, smartthings/Duncan’s Presence/lqi/cmd, smartthings/Catherine/presence/cmd, smartthings/Duncan/presence/cmd, smartthings/Duncan Smith’s Galaxy S9+/presence/cmd, smartthings/Duncan’s Presence/presence/cmd, smartthings/Emma/presence/cmd, smartthings/Lounge Bulb Hive Colour Bulb/saturation/cmd, smartthings/Lounge Bulb Hive Colour Bulb/color/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd
info: Incoming message from SmartThings: smartthings/Heating Hive Heating/temperature/state = 23
info: Incoming message from SmartThings: smartthings/Motion Sensor/temperature/state = 26
info: Incoming message from SmartThings: smartthings/Heating Hive Heating/temperature/state = 23.02
info: Saving current state
info: Saving current state
info: Subscribing to smartthings/Lounge Bulb Hive Colour Bulb/hue/cmd, smartthings/Front Door/acceleration/cmd, smartthings/Front Bedroom Temp/temperature/cmd, smartthings/Front Door/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Motion Sensor/temperature/cmd, smartthings/Weather Station/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Emma’s Bulb Hive Light Tunable/level/cmd, smartthings/Hallway Bulb Hive Light Tunable/level/cmd, smartthings/Kitchen Bulb Hive Light Tunable/level/cmd, smartthings/Landing bulb Hive Light Tunable/level/cmd, smartthings/Lounge Bulb Hive Colour Bulb/level/cmd, smartthings/Office Bulb Hive Light Tunable/level/cmd, smartthings/Aqara Button WXKG11LM/button/cmd, smartthings/Plug 1 Hive Plug/power/cmd, smartthings/Samsung Power/power/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Duncan’s Presence/rssi/cmd, smartthings/BI Cam - Garden/motion/cmd, smartthings/Motion Sensor/motion/cmd, smartthings/Emma’s Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Hallway Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Kitchen Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Landing bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Lounge Bulb Hive Colour Bulb/colorTemperature/cmd, smartthings/Office Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Front Door/threeAxis/cmd, smartthings/Heating Hive Heating/thermostatFanMode/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Front Bedroom Temp/humidity/cmd, smartthings/Weather Station/humidity/cmd, smartthings/Weather Station/illuminance/cmd, smartthings/Heating Hive Heating/thermostatSetpoint/cmd, smartthings/Heating Hive Heating/coolingSetpoint/cmd, smartthings/Fan Switch/switch/cmd, smartthings/Office Bulb Hive Light Tunable/switch/cmd, smartthings/4K TV/switch/cmd, smartthings/Emma’s Bulb Hive Light Tunable/switch/cmd, smartthings/BI Cam - Garden/switch/cmd, smartthings/Hallway Bulb Hive Light Tunable/switch/cmd, smartthings/Kitchen Bulb Hive Light Tunable/switch/cmd, smartthings/Landing bulb Hive Light Tunable/switch/cmd, smartthings/Lounge Bulb Hive Colour Bulb/switch/cmd, smartthings/Speakers/switch/cmd, smartthings/Samsung Power/switch/cmd, smartthings/Plug 1 Hive Plug/switch/cmd, smartthings/3rd Bedroom Window/contact/cmd, smartthings/Back Door/contact/cmd, smartthings/Front Door/contact/cmd, smartthings/Lounge Window/contact/cmd, smartthings/Contacts/notify/cmd, smartthings/System/notify/cmd, smartthings/3rd Bedroom Window/battery/cmd, smartthings/Aqara Button WXKG11LM/battery/cmd, smartthings/Back Door/battery/cmd, smartthings/Duncan’s Presence/battery/cmd, smartthings/Front Bedroom Temp/battery/cmd, smartthings/Front Door/battery/cmd, smartthings/Lounge Window/battery/cmd, smartthings/Motion Sensor/battery/cmd, smartthings/Duncan’s Presence/lqi/cmd, smartthings/Catherine/presence/cmd, smartthings/Duncan/presence/cmd, smartthings/Duncan Smith’s Galaxy S9+/presence/cmd, smartthings/Duncan’s Presence/presence/cmd, smartthings/Emma/presence/cmd, smartthings/Lounge Bulb Hive Colour Bulb/saturation/cmd, smartthings/Lounge Bulb Hive Colour Bulb/color/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd
info: Incoming message from SmartThings: smartthings/Lounge Window/battery/state = 100
info: Incoming message from SmartThings: smartthings/Weather Station/temperature/state = 17
info: Incoming message from SmartThings: smartthings/Weather Station/humidity/state = 77
info: Incoming message from SmartThings: smartthings/Weather Station/illuminance/state = 46
info: Incoming message from SmartThings: smartthings/Plug 1 Hive Plug/power/state = 2
info: Incoming message from SmartThings: smartthings/Heating Hive Heating/temperature/state = 23.05
info: Incoming message from SmartThings: smartthings/Front Door/acceleration/state = inactive
info: Incoming message from SmartThings: smartthings/3rd Bedroom Window/battery/state = 100
info: Saving current state
info: Saving current state
info: Subscribing to smartthings/Lounge Bulb Hive Colour Bulb/hue/cmd, smartthings/Front Door/acceleration/cmd, smartthings/Front Bedroom Temp/temperature/cmd, smartthings/Front Door/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Motion Sensor/temperature/cmd, smartthings/Weather Station/temperature/cmd, smartthings/Heating Hive Heating/temperature/cmd, smartthings/Emma’s Bulb Hive Light Tunable/level/cmd, smartthings/Hallway Bulb Hive Light Tunable/level/cmd, smartthings/Kitchen Bulb Hive Light Tunable/level/cmd, smartthings/Landing bulb Hive Light Tunable/level/cmd, smartthings/Lounge Bulb Hive Colour Bulb/level/cmd, smartthings/Office Bulb Hive Light Tunable/level/cmd, smartthings/Aqara Button WXKG11LM/button/cmd, smartthings/Plug 1 Hive Plug/power/cmd, smartthings/Samsung Power/power/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Heating Hive Heating/thermostatOperatingState/cmd, smartthings/Duncan’s Presence/rssi/cmd, smartthings/BI Cam - Garden/motion/cmd, smartthings/Motion Sensor/motion/cmd, smartthings/Emma’s Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Hallway Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Kitchen Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Landing bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Lounge Bulb Hive Colour Bulb/colorTemperature/cmd, smartthings/Office Bulb Hive Light Tunable/colorTemperature/cmd, smartthings/Front Door/threeAxis/cmd, smartthings/Heating Hive Heating/thermostatFanMode/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Heating Hive Heating/heatingSetpoint/cmd, smartthings/Front Bedroom Temp/humidity/cmd, smartthings/Weather Station/humidity/cmd, smartthings/Weather Station/illuminance/cmd, smartthings/Heating Hive Heating/thermostatSetpoint/cmd, smartthings/Heating Hive Heating/coolingSetpoint/cmd, smartthings/Fan Switch/switch/cmd, smartthings/Office Bulb Hive Light Tunable/switch/cmd, smartthings/4K TV/switch/cmd, smartthings/Emma’s Bulb Hive Light Tunable/switch/cmd, smartthings/BI Cam - Garden/switch/cmd, smartthings/Hallway Bulb Hive Light Tunable/switch/cmd, smartthings/Kitchen Bulb Hive Light Tunable/switch/cmd, smartthings/Landing bulb Hive Light Tunable/switch/cmd, smartthings/Lounge Bulb Hive Colour Bulb/switch/cmd, smartthings/Speakers/switch/cmd, smartthings/Samsung Power/switch/cmd, smartthings/Plug 1 Hive Plug/switch/cmd, smartthings/3rd Bedroom Window/contact/cmd, smartthings/Back Door/contact/cmd, smartthings/Front Door/contact/cmd, smartthings/Lounge Window/contact/cmd, smartthings/Contacts/notify/cmd, smartthings/System/notify/cmd, smartthings/3rd Bedroom Window/battery/cmd, smartthings/Aqara Button WXKG11LM/battery/cmd, smartthings/Back Door/battery/cmd, smartthings/Duncan’s Presence/battery/cmd, smartthings/Front Bedroom Temp/battery/cmd, smartthings/Front Door/battery/cmd, smartthings/Lounge Window/battery/cmd, smartthings/Motion Sensor/battery/cmd, smartthings/Duncan’s Presence/lqi/cmd, smartthings/Catherine/presence/cmd, smartthings/Duncan/presence/cmd, smartthings/Duncan Smith’s Galaxy S9+/presence/cmd, smartthings/Duncan’s Presence/presence/cmd, smartthings/Emma/presence/cmd, smartthings/Lounge Bulb Hive Colour Bulb/saturation/cmd, smartthings/Lounge Bulb Hive Colour Bulb/color/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd, smartthings/Heating Hive Heating/thermostatMode/cmd
info: Incoming message from SmartThings: smartthings/Plug 1 Hive Plug/power/state = 1
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/Aqara Button WXKG11LM/battery/state = 100
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = inactive
info: Incoming message from SmartThings: smartthings/BI Cam - Garden/motion/state = active

I can see things happening if I trigger them from Smartthings (or the devices themselves), the smartthings messages are coming through fine. Just nothing the other way.

I use this USB stick (US Zwave freq) https://www.amazon.com/GoControl-CECOMINOD016164-Linear-HUSBZB-1/dp/B01GJ826F8

I don’t see any messages of it trying to send to ST. Could you post the config of a switch/light from HA that you are using?

Here is the config of a light / Sonoff (flashed with ESPEasy firmware)

The device below updates Home Assistant when its on/off via Smartthings, but not the other way

light:

  • platform: mqtt
    name: “Office Light”
    state_topic: “smartthings/Office Bulb Hive Light Tunable/switch/state”
    command_topic: “smartthings/Office Bulb Hive Light Tunable/switch/cmd”
    payload_on: “on”
    payload_off: “off”
    retain: true

Here is a Sonoff one (again the status in Home Assistant always updates from Smartthings etc, not the other way)

switch:

  • platform: mqtt
    name: “Speakers”
    icon: mdi:speaker
    state_topic: “smartthings/Speakers/switch/state”
    command_topic: “smartthings/Speakers/switch/cmd”
    payload_on: “on”
    payload_off: “off”
    optimistic: false
    retain: true

That looks right… can you post the configs you have for the ST Bridge itself? And the MAC address in the ST config itself is capitalized with no colons or dashes right?

Hi, here is the ST Bridge config (I don’t use any passwords currently)

{
“broker_host”: “192.168.0.189”,
“broker_port”: 1883,
“preface”: “smartthings”,
“state_suffix”: “state”,
“command_suffix”: “cmd”,
“login”: “”,
“password”: “”,
“bridge_port”: 8080
}

App on phone is configured as such:

Name: MQTT Bridge
IP: 192.168.0.189 (this is IP for Pi)
MQTT Bridge Port: 8080
Mac: B8:27:EB:7C:D8:9C

I will try and remove the colons from MAC and retry…

I can’t seem to find a UK compliant Zigbee USB adapter as an alternative, I never thought that something would be so hard to find! There is one on the market, but I am not sure its HA compatible.

I recall someone saying this one worked natively with HA. https://www.tindie.com/products/Elelabs/elelabs-zigbee-usb-adapter/?pt=ac_prod_search

I will give this a go, ordering.

Removing the : from the MAC address on the ST app on the MQTT Bridge device didnt make any difference btw

Ordered the Elelabs USB device… fingers crossed

I’m running the ST MQTT Bridge as well and things were acting a little wonky. After finding a post (I’ve lost it since), the issue is for some dumb reason the ST Hub/Server wanted the WiFi IP and MAC Address for my RPi 3 B instead of the Ethernet IP and MAC Address. Switched it to the WiFi one and it works solidly since. I don’t use Hassio, just a Debian flavored Distro for it though. Not sure how that affects the Docker installations for Hassio.

Were you using the WiFi interface? I am using the Eth0 connection via wired cable

Not sure if this is any help, but I run the same setup with the MQTT bridge running on a docker container in my QNAP NAS and everything has been running great for months. QNAP has the option of selecting a random MAC address for my container when it runs the container in bridge mode, so I did that and set the smartapp MAC address field. Everything works fine with this setting.

You could try running the docker container in bridge mode with a custom MAC address on your Pi and try that way.

I was using both wired and WiFi. I spoke too soon tho. I’ve had to disable WiFi and just use Ethernet. Later today I’m going to try creating a MQTT Bridge device in ST for both Ethernet and WiFi along with two SmartApps to test.

I’m not using docker, so that could be a big difference.

Hi, I don’t know enough about Dockers to action this. I understand the concept of Docker, but not any technicalities about it (E.g how to get mac address etc)