Skip to content

Create the smartthings devices and smartapp

rhamblen edited this page Nov 24, 2019 · 1 revision

Create the smartthings devices and smartapp

  1. Install the [MBS-Bridge Device Handler] in the by selecting Add a new device handler by using the "Create via code" option. Copy and paste in the code.

  2. Add the "MQTT Bridge" device in the by selecting . Create a new device, and call it MQTT Bridge (or something memorable!) for the name. Select "MBS Bridge" for the type.

  3. Configure the "MQTT Bridge" device either in the smartthings IDE or in the mobile application. Enter the IP Address, Port, and MAC Address of the machine running the mbs-server process, service or docker container.

  4. Install the MBS SmartApp Lite or MBS SmartApp Full on the by selecting . Create a new SmartApp by using the "Create via code" option. Copy and paste in the code.

  5. If using a Tasmota device install the [Tasmota SwitchSensor] or any other Tamota device from the Tasmota Device Type folder.

  6. Install the [Tasmota SwitchSensor] or any other Tamota device from the Tasmota Device Type folder, in the by selecting Add a new device handler by using the "Create via code" option. Copy and paste in the code.

  7. Add the "tasmota" device in the by selecting . Create a new device, and call it a friendly name. Select the appropriate tasmota device handler, as created above, for the type.

  8. Configure the Smartthings MQTT Bridge SmartApp, from your mobile device. Select the devices you want to subscribe to. Select the bridge device (MQTT Bridge) that you just installed.

  9. From your mobile device, select your MQTT device from . Check to confirm if the device is populated with events.

  10. If ST is receiving messages from the bridge but the bridge is not receiving any messages from ST then most liley IP Address, Port, and MAC Address configuration is not correct

  11. If neccessary go back to the device.yml and edit (or create) the devices and ensure the name of the device matches the friendly name given to the smartthings device created above.