Integration for SmartThings to use UniFi wireless clients as presence sensors This will allow you to select from a list of known UniFi wireless clients to monitor their presence. By selecting device(s) to monitor, a script will run every 5 seconds to check the UniFi controller's current status of the monitored device(s). If the device can't be seen by any UniFi Access Point, then the device is reported offline. A device is "offline" when it is not connected to an UniFi wireless network.
You can also monitor guest connected to a UniFi hotspot by enabling the guest option.
These instructions will help you get this solution implemented. I'm going to assume a working local UniFi Controller already exist on the network.
Here are the things that we will need to install / configure
First things first. Get the UniFi Bridge up and running before proceeding
There are two ways you can install the SmartThings SmartApp and Device Handler.
Instead of describing the two methods of installation here, I'm going to refer you to the documentation for installing the SmartThings Community Installer as it's well laid out. You will need to be familiar with "Installation" section, specifically installing from code, installing from GitHub and OAuth setup.
Setup Steps:
Publish
and enabled OAuth
for this appPublish
this device handlerNOTE: The UniFi Controller Site is NOT the name of the site but rather the id of the site. Take "https://x.x.x.x:8443/manage/site/default/dashboard" as an example; the site id is what is listed directly after /site/. In this cause, it would be default.
After setup has been completed, we can begin to monitor device(s)
Tap to select
Notes: