Presence Sensors

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

Has anyone tried this on an Asus-86U. The wl -i eth0 is no longer supported. Does anyone have an output of the command. I am wondering if the ip neig command could be used to get the data instead

Do you think you could send your code for CheckTV for AsusWRT wifi presence app as a sample. I have this working properly on ST, but I am in process of moving to HE and don't really know how to modify the code properly.