Smartphone radar always goes to device away status

Smartphone presence detection.
captcurrent
Posts: 440
Joined: Mon Nov 28, 2005 6:46 pm

Smartphone radar always goes to device away status

Post by captcurrent »

Love the plugin... You did a great job on your installation guide even providing great links to get the syslog working

I think I may be missing something on the away feature

The way I read it and from my limited experience to date The smartphone status goes "away" automatically after the interval set in the configuration

This is probably a result that I imagine the syslog doesn't show the phone dropping its connection to the wifi

this in my use results in either a quick change to away status or a slow change when I actually physically leave

the best option i can come up is creating a script to ping the IP and keep they status at home when it is fact home....

is thee something simpler I am missing ? any help would be appreciated
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Smartphone radar always goes to device away status

Post by Dewster35 »

Try iTunes wireless syncing for the device and keep iTunes open.
captcurrent
Posts: 440
Joined: Mon Nov 28, 2005 6:46 pm

Re: Smartphone radar always goes to device away status

Post by captcurrent »

I am using an android smart phone.... I have been kind of backing away from Mac IOS thanks for the response though

What i threw together was the following applescript

Code: Select all

set IP_address to "10.0.1.51"
try
	set ping to (do shell script "ping -c 2 " & IP_address)
	log "good"
	using terms from application "IndigoServer"
		tell application "IndigoServer"
			set value of variable "DroidHome" to "true"
			set value of variable "AllPhonesAway" to "false"
		end tell
	end using terms from
on error
	using terms from application "IndigoServer"
		tell application "IndigoServer"
			set value of variable "DroidHome" to "false"
			set value of variable "AllPhonesHome" to "false"
		end tell
	end using terms from
end try
This took care of the problem in a non-graceful manner
what is strange is that Indigo 6 will only run it as an embedded script not as an attachment
captcurrent
Posts: 440
Joined: Mon Nov 28, 2005 6:46 pm

Re: Smartphone radar always goes to device away status

Post by captcurrent »

found that script didn't always works

but this topic http://www.perceptiveautomation.com/use ... ng+command

pervaded a solution to the ping issue
Post Reply

Return to “Smartphone Radar”