tomw
July 3, 2020, 1:18pm
6
I use this solution on my AsusWRT router. It's the most reliable of any presence option they I have tried. I use @jwetzel1492 's Combined Presence app with this and the Hubitat mobile app presence on both Android and iOS devices.
SmartApps & Automations
Community Created SmartApps
I have created a pretty solid wifi presence solution for when my phones connect to the wifi network, its very quick to update ST. I use this alongside the ST app, Life360 & my own Tado presence device type, i use Rule machine to flip a...
Reading time: 65 mins 🕑
Likes: 104 ❤
I gave that code a shot, it works great. I added this to the update method so I could get the right urls:
def updated() {
log.debug "away url: ${fullLocalApiServerUrl('away')}?access_token=${state.accessToken}"
log.debug "home url: ${fullLocalApiServerUrl('home')}?access_token=${state.accessToken}"
}
Here is what I get in the logs:
2018-03-15 16:12:33.795:debughome url: http://192.168.1.15/apps/api/776/home?access_token=2a16f329-7e13-4d62-b925-7682abdc7985
2018-03-15 16:12:33.790:de…
1 Like