Presence Sensors

I seem to be missing something. I cannot get anything to show up in my logs. Totally empty. Not just for this app/device, but for everything. What am I missing, I’m sure its probably pretty simple. Thanks in advance

Can you give the steps necessary to find my appid? Also the API #? I’m brand new here, so I may figure it out on my own, but it’s taking me a while to understand how to find these things. :slight_smile:

At this moment, I have the app installed, I added the debug code you provided. I even created a virtual presense sensor and used the app and pointed to that sensor. But cannot find the info to add to my router script.

Thanks in advance

For each copy of the AsusWRT Wifi Presence app you install, selecting the (i) will give you the app id in the url at the top <ipaddress>/installedapp/status/<appid>

And if you selected oAuth when you installed the app driver, the access token will be listed as well on that page.

Awesome thanks for the tip. I’ve now got two presence sensors working with my asus router. Same as I had with ST. I like to use wifi for unlocking doors, because it requires me to be even closer to the house.

In order to get the Asus presence i need to install HubDuino right? I have it all working on smartthings.

Ummmm, no. Asus Presence is a combination of an Asus Router and an OAUTH App running directly on the Hubitat hub.

HubDuino is used for integrating an Arduino or ESP8266 with Hubitat. Two completely different things.

Earlier, I was only suggesting that one could follow the HubDuino design in order to implement Asus Presence on Hubitat without the need for an OAUTH App.

Sorry for any confusion!

No? I have an app installed in Hubitat called AsusWRT wifi presence.

Asus also supports IFTTT and can trigger something (i.e. a Hubitat virtual switch) when a device connects. However, and for unknown reasons, they don't have an IFTTT service for when a device disconnects, unlike TP-Link and Google WiFi which support both connect and disconnect triggers.

can you point me to this app

Scroll up: I think it's just the smartthings app unedited.

Is there a ping command that we can use in a dh? If yes then this could be a way to detect presence. But only if our phone is getting static IP from the router. @mike.maxwell is this possible?

I installed the app and then added a virtual sensor. When i try to hit
http://192.168.2x.x/apps/api/324/home?access_token=xxx i get error 500 from a browser.

324 is the url when i goto http://192.168.2x.x/installedapp/status/324

any ideas what i am missing should this work in a browser?

You have AsusWRT Merlin installed on your router?

Yes everything works on smarthings. I installed the same app in hubitat.

All working i needed to check the app per Chuck's post and then use the curl -H commands.

1 Like

Been trying to get this to work with no success. This works fine in SmartThings but tried the various commands in this thread to no avail. Was there something that has changed in the recent firmware to cause this to no longer work?

OK. Finally got it working. Was using an older version of the app and not the one posted in this thread.

Is there any way to get IP based presence detection working on a Ubiquti / Unifi based network? Seems like pinging the static IP would be a straight forward method as well.

Have you looked at the following?

Found that right after I posted my question. Very helpful, installing now... Next time I'll search more before asking :slight_smile:

2 Likes