We are pleased to annouce our official launch of the SmartThings Integration.
So you just purchased a new SmartThings Multi-Sensor or Motion Detector, etc and now you want to make your Ubi control these devices. This guide will show you how to setup any SmartThings devices with our portal cloud and how to implement some basic custom behaviours.
First you will need to create an account for SmartThings at https://shop.smartthings.com/#/register. Once you have an account you will need to add a location, and add your hub/devices to your account so that Ubi Portal may authorize these devices. Download the SmartThings phone app to make this process easier.
Now that you have a SmartThings account and have added a location and a device, go to Portal and log in. Now click Add Device then click Add SmartThings Device.
You will be redirected to the SmartThings site to enter your email and password for the SmartThings account you just created.
After entering your email and password you will be presented with a location and device selection screen. Choose the location you have set earlier and choose the devices you wish Ubi Portal to access.
*Note: If you have a SmartThings account already, you can add extra SmartThings devices by clicking “Authorize SmartThings” on the same window.
*Note2: If the process does not complete within 30sec please do the following:
- Redo the Oauth by clicking on "Authorize SmartThings" and this time click on "Deny" button.
- Go back to Ubi portal and Add SmartThings account again. This time click on "Authorize" button.
Now select the devices you wish to add to Ubi portal. The items with the Ubi icon you see in the picture are prebuilt phrases from the SmartThings app, add them as well if you'd like.
After the SmartThings items are added successfully you will be able to see all available devices in the SmartThings hub which you can access from the homepage. You can check the status of each device and control specific devices like SmartPower outlets and Z-Wave Switches. You can also remove devices or completely remove your SmartThings access. This will subsequently delete all your rules that are using those devices.
Now when you login you can click on SmartThings to view the status of your devices.
We will now add a custom behaviour using your Ubi as a trigger and a SmartThings devices as an action. Custom behaviours are associated with individual Ubi units so at homepage click on an Ubi then click the Add New Behaviour button. You will get a window to build your custom behaviour. For trigger choose "Ubi", then chose "Utterance" for the type and enter "Turn on the light" without quotes or "(turn on the light)|(turn on the lights)|(turn the light on)" uses regular expressions and can cover multiple speech patterns in a single behaviour.
For action chose "ST - SmartPower Outlet", then "Turn on the light" for the action. We can also add an utterance to make Ubi speak something when it turns on the light, a confirmation phrase. Under Action choose your Ubi then "Voice announcement" for add an action and enter "Light has been turned on" in the text box.
Now the same thing to turn the light off using "(turn off the light)|(turn off the lights)|(turn the light off)" as our trigger.
We can use a SmartThings device as a trigger and make Ubi says something when the trigger activates. Great for alerts. We can setup a SmartThings motion sensor in the garage and when it trips we can make Ubi say a phrase. Select a device from the homepage and click Add New Behaviour. For trigger select "ST - SmartSense Motion" and "Active" for the type. Now for Action select an Ubi then select "Voice annoucement" for the type and enter "Garage door is open" in the text box.