Use Locative for Presence

In the Locative App, under SETTINGS, make sure you have Global Http Settings configured for "GET", not "POST"

You can easily test by pasting in the following two URL's on that same page and clicking "Send Test-Request"

Your URL format posted above is a little bit off...

Go back to your MAKER API App on your hub, and scroll to the bottom where you should find the following section:

Send Device Command (replace [Device ID] with actual subscribed device id and [Command] with a supported command. Supports optional [Secondary value]

https://cloud.hubitat.com/api/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apps/294/devices/[Device ID]/[Command]/[Secondary value]?access_token=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
https://cloud.hubitat.com/api/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apps/294/devices/[Device ID]/arrived?access_token=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

https://cloud.hubitat.com/api/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apps/294/devices/[Device ID]/departed?access_token=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

In the above two URL's, you will need to replace the entire "[Device ID]" with the 3 digit numeric device ID of your virtual presence device. (Be sure to remove the brackets!)

The easiest way to figure out that numeric ID is to simply click the "Get All Devices" link on the Maker API App page. This will return the list of devices that you have exposed via the Maker API and will show you their 3 digit numeric device IDs.

Hopefully this gets things working for you. I am pretty impressed with how little battery Locative uses. It has triggered the presence sensor changes 4 out of 4 times so far. Not a huge data set, but definitely looking good so far.

5 Likes