[Install Instructions] webCoRE Presence Sensor on your iPhone (beta)


#1

UPDATE 12/22/2017:

The app has been released to the iOS AppStore. While it may take a while for it to show in the AppStore search, here is a direct link to the app.

Here’s a direct link.

Please note this is a beta product and requires that you request an invitation. Apple requires that you provide a first name, last name, and email address as part of the process. The application you will be installing via TestFlight is reviewed by Apple.

IMPORTANT UPDATE: It is no longer necessary to install a second webCoRE instance.

Steps to install the webCoRE Presence Sensor

  1. Install and publish the DTH
    Login to your IDE and go to the My Device Handlers tab.
  • if you installed webCoRE using the github integration, click on Update from Repo and select webCoRE (master) from the list. Select the webCoRE Presence Sensor from the list, make sure to check Publish, then click Execute Update
  • if you installed webCoRE using the source code, you need to add and publish a new DTH from code. Find the source code here.
  • Ensure the webCoRE Presence Sensor is now listed in your My Device Handlers list and is marked as Published.
  1. Install a blank instance of webCoRE (strongly recommended)
    This step is recommended because there is currently a feature of SmartThings that silently deletes a SmartApp instance when the user deletes the last child device. That means that adding a presence sensor to your main webCoRE instance and then deleting it from the ST app or IDE will silently and irrevocably delete that webCoRE instance along with all of its child apps (pistons). SmartThings is working on improving this feature and this step will no longer be required when that is done. Until then, it is just safer if you use a blank webCoRE instance for presence purposes as you do not risk any pistons. Go to your ST app and visit the Marketplace, go to My apps and install webCoRE the same way you did the first time - choose a name that’s different than your main instance’s name so that you can tell them apart, choose a password, don’t worry about adding any available devices or contacts, just tap Next, Next, Next, Done. A new (and blank) instance of webCoRE should now exist in your Automations > SmartApps tab.

  2. Add places using a desktop browser (optional - you can do this in step 6 by using the webCoRE app on your phone, it is just easier to use a desktop browser)
    Visit https://dashboard.webcore.co and register a new instance (click on the Options and Register another instance). Open the newly installed webCoRE instance in your ST app and tap Register a browser. Use the code provided in your browser and click Register - you are now logged into the new instance - you can switch between the instances by clicking the instance dropdown at the top left of the interface. Go to Settings and then Places.


    Click on the + button to add a place, if you allowed the browser access to your location, it should default that place to your current location, if not, pan to the right location and click there, the marker should move in the right place.

    The two circles default to 100m and 500m radii. Try to keep a good separation between the two for best results and less fake alerts. The minimum inner circle radius is 50m and the minimum separation between the circles is 200m. Give that place a name and click Save. Keep adding as many places as you need (up to 10). One of them (by default the first one) can be set as home by clicking the Set as home button. Only the home place will be driving the presence attribute of the sensor - the others provide other events for you to know when someone is arriving, has arrived, is leaving or has left each of them.
    When done, click Apply to save all changes.

  3. Request a TestFlight invitation
    Send @ady624 a PM with the following information (fill in the blanks). If the email address is an Apple ID then you will find it easier to install the app later on in step 5.

NOTE - You need to be at Trust Level 1 or above in order to send PM’s… spend 30 minutes browsing the forum to increase your trust level to 1. You will get a notification when TL 1 is achieved

Platform: iOS
First name:
Last name:
Email address:

  1. Install TestFlight and then the webCoRE app
    You will receive an email instructing you to install TestFlight from the Apple Store - this is an Apple provided platform to installing beta software. Once you open the app, you will need to login with the email provided in step 4. If that is not an Apple ID, you will need to create one for it. Once logged in, the webCoRE app should show there and can be installed. Go ahead and install it. When opening the webCoRE app for the first time, you will be asked for location access - make sure you select Always.

  2. Set up the presence sensor
    Open the webCoRE app and follow the same instructions from step 3 to register the newly installed webCoRE instance. If you skipped step 3, you will need to add the places at this time. Once you have at least one place added to the list, a green button should appear with the Setup sensor caption. Tap on it and you will get a dialog asking you to provide a name - this is the ST device name for the new presence sensor. Add a name, making sure it is easy to distinguish for any other existing devices you have in ST (i.e. add (beta) at the end of the name) and click Save. The green button should now disappear from the list. When it does, click Apply to close that window. A new device should now be present in your ST app - it’s your brand new presence sensor.

  3. Make the presence sensor available to your pistons
    If you took the advice on step 2 and installed the sensor in a new and blank webCoRE instance, you need to visit your primary instance in the ST app and go to Settings > Available devices > Sensors and add the newly created presence sensor to the list so your main webCoRE instance can access it. By default, the webCoRE instance used to create the presence sensor will automatically gain access to them so you don’t have to add the sensors to the available devices list, but remember you installed the sensors in a different instance.

  4. Pretend you need to go buy something just to test how it works
    Grab your keys and leave with your ST app open :smiley: Look awkward as you walk down the street with your eyes pinned to your phone. You know what to do next.

    If you’re interested in information on the nested Sleep capability in this DTH, click here to read the corresponding thread. (Edited to add this statement by cozdabuch)


Using the Locations available in Settings to find out when you're away from work
WebCore presence notifications for leaving a place
Using presence and geofence
Nest out of Eco when leaving work
Places - How are you using
Lights on when someone arrive
How to setup webcore presence sendor
#2

#3

Is this iOS only?


#4

Yeah, for now, sorry. Started working on the Android last weekend - will resume work this weekend - hoping to get something ready by end of this weekend or the next.


#5

@Bamarayne This.
DDE9557C-DF6E-490B-A813-0B0580ED9670


#6

Haha they wish!


#7

Something wrong not working. The device shows in my IOS app but never changes to away. I have it set to the smallest possible geo fence. Also in the Sensor page, something is wrong. It says JoEL Home for location, but in the Dashboard and the app it is Joel Home. Everything is correct within Dashboard. And device is available in WebCoRe.


#8

If you made changes to the places after installing the app, please open the app and go to Settings from it and Apply - for now places don’t update into the app automatically, you have to manually hit Apply. That may explain the name case issue. You don’t need to make the circles the smallest possible, you need to make them meaningful. Have you walked away enough to exit the outside circle? If you open the webCoRE app and wait for a few seconds, does it suddenly update?


#9

Perhaps an easily answered question. Can you give this over to friends/relatives without giving them access to the smartt home?

If so this is amazing


#10

Yes, you can register the browser, set it up, then log out and kill the app - it will keep working.


#11

OK maybe I am not understanding clearly. I opened the new instance of webCoRe then went to the Dashboard, settings, then places. It was correct there so I hit apply. It is still wrong in the SmartThings app for the motion detector. What am I missing?

You I assume are referring to the DashBoard for the new instance?


#12

Open the webCoRE app and go to Settings and Apply to update the places in the app that actually tracks your location. Also, the DTH only updates when something changes - like you leaving home, getting far enough for the app to consider you left.


#13

OK went to Dashboard >Settings in upper right>Places, then clicked on map then saved. Is that correct?


#14

Apply…


#15

Did that but it still says JoEL not Joel don’t even know where that is coming from.


#16

OK The location on map never changes. So something is amiss. The name is correct now. We are talking about the map in the we dashboard. Correct?


#17

the location on the map is the location of the place, not your current location - it will never change - the presence changes, when you leave or arrive home… it will NOT show you on the map, sorry.


#18

OK then why doesn’t the sensor show away when I leave the zone?


#19

How far away did you go? You need to exit the larger circle, that’s about 500m away.


#20

OK maybe when I changed the diameter of the circle it remained the same at 500m. But I thought I changed it to 50m. When I go back in it looks like the 500m. I am not sure. In the IOS App it says under Awake 175 feet.is that the circle? If yes I went way farther than that. Tomorrow I will take a drive. I will check back in.