Smartphone radar always goes to device away status

Posted on
Mon Apr 14, 2014 7:31 am
captcurrent offline
Posts: 440
Joined: Nov 28, 2005

Smartphone radar always goes to device away status

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

Posted on
Mon Apr 14, 2014 10:11 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Smartphone radar always goes to device away status

Try iTunes wireless syncing for the device and keep iTunes open.

Posted on
Mon Apr 14, 2014 10:25 am
captcurrent offline
Posts: 440
Joined: Nov 28, 2005

Re: Smartphone radar always goes to device away status

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

Posted on
Wed Apr 16, 2014 10:39 am
captcurrent offline
Posts: 440
Joined: Nov 28, 2005

Re: Smartphone radar always goes to device away status

found that script didn't always works

but this topic viewtopic.php?f=4&t=8664&hilit=ping+command

pervaded a solution to the ping issue

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest