Using Fing as a new way to detect smartphone presence

Plugins that users have built. NOTE: plugins that were developed for Indigo versions older than 2022.1 will have to be updated to work with Indigo 2022.1 (Python 3 - see this blog post for details). If the plugin listed here is not in the Plugin Store (which will show updated plugins) then you will need to ask on the appropriate thread below if it has been updated and where you get get the update.
Wondercow
Posts: 15
Joined: Tue Sep 22, 2015 9:06 am

Re: Using Fing as a new way to detect smartphone presence

Post by Wondercow »

I'm sure I have :o

I have a keychain item for "fingrt" and when I turn on debug all I get this entry

Code: Select all

  fingscan                        getting password.. was already in system
  fingscan                        password entered=password: "&a3taC#5B"
My router password isn't normally "Cat", that was just to test :wink:
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

Ok I guess I need to send you a special version that gives more info on the router config. Will sometime later today.


Sent from my iPhone using Tapatalk
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

please download http://forums.indigodomo.com/viewtopic. ... 38#p105438
and run with wifi debug on and post output.

Karl
Wondercow
Posts: 15
Joined: Tue Sep 22, 2015 9:06 am

Re: Using Fing as a new way to detect smartphone presence

Post by Wondercow »

Thanks for your help Karl. The most recent log is below. Am I correct in assuming that the error shown there is what you're looking for? :D

Code: Select all

Nov 12, 2015, 12:25:12
  Reloading plugin "fingscan 4.16.6"
  Stopping plugin "fingscan 4.16.6" (pid 81060)
  fingscan                        stopConcurrentThread called 1
  fingscan                        exception StopThread triggered ... stopped,  quitNOW was:no
  fingscan                        stopConcurrentThread called 2
  fingscan                        shutdown called
  Stopped plugin "fingscan 4.16.6"
  Starting plugin "fingscan 4.16.6" (pid 83995)
  Started plugin "fingscan 4.16.6"
  fingscan                        FINGSCAN--V 4-16-6   initializing     will take ~ 2 minutes...
  fingscan                        killing ping jobs: all
  fingscan                        leaving WiFi parameters at default, not configured in 'fingscan/Configure...'
  fingscan                        indigo variables initialized
  fingscan                        getting password
  fingscan                        get password done
  fingscan                        Router wifi not reachable, userid password or ipnumber wrong?
error bad return from  curl ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                        loaded indigo data
  fingscan                        network info: inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
  fingscan                        ifind plugin: com.corporatechameleon.iFindplugBeta
  fingscan                        FING initializing
  fingscan                        FING initialized ..  created new data   waiting ~ 1 minute for stable operation
  fingscan                        settings:  iDevicesEnabled              False
  fingscan                        settings:  inbetweenPingType            0
  fingscan                        settings:  wifiRouter                   MERLIN
  fingscan                        settings:  wait seconds between cycles  5
  fingscan                        settings:  password entered             True
  fingscan                        settings:  debugLevel                   4
  fingscan                        settings:  FINGSCAN will scan Network   192.168.0.1-255
  fingscan                        

  fingscan                        

  fingscan                        printWiFi: no WiFi devices defined
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

ok this states that it can not login .. could you try option Merlin =.... _54
Wondercow
Posts: 15
Joined: Tue Sep 22, 2015 9:06 am

Re: Using Fing as a new way to detect smartphone presence

Post by Wondercow »

It's pretty much the same thing, but the 401 error keeps popping up. I was trying to avoid it, but I'll try a factory reset and re-entering my settings to see if that clears it up.

Code: Select all

Nov 12, 2015, 12:42:32
  Reloading plugin "fingscan 4.16.6"
  Stopping plugin "fingscan 4.16.6" (pid 84344)
  fingscan                        stopConcurrentThread called 1
  fingscan                        exception StopThread triggered ... stopped,  quitNOW was:no
  fingscan                        stopConcurrentThread called 2
  fingscan                        shutdown called
  Stopped plugin "fingscan 4.16.6"
  Starting plugin "fingscan 4.16.6" (pid 84874)
  Received INSTEON                "Water Heater Control" off (button 2)
  Started plugin "fingscan 4.16.6"
  fingscan                        FINGSCAN--V 4-16-6   initializing     will take ~ 2 minutes...
  fingscan                        killing ping jobs: all
  fingscan                        leaving WiFi parameters at default, not configured in 'fingscan/Configure...'
  fingscan                        indigo variables initialized
  fingscan                        getting password
  fingscan                        get password done
  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                        Router wifi not reachable, userid password or ipnumber wrong?
error bad return from  curl ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                        loaded indigo data
  fingscan                        network info: inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
  fingscan                        ifind plugin: com.corporatechameleon.iFindplugBeta
  fingscan                        FING initializing
  fingscan                        FING initialized ..  created new data   waiting ~ 1 minute for stable operation
  fingscan                        settings:  iDevicesEnabled              False
  fingscan                        settings:  inbetweenPingType            0
  fingscan                        settings:  wifiRouter                   MERLIN378_54
  fingscan                        settings:  wait seconds between cycles  5
  fingscan                        settings:  password entered             True
  fingscan                        settings:  debugLevel                   4
  fingscan                        settings:  FINGSCAN will scan Network   192.168.0.1-255
  fingscan                        

  fingscan                        

  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                        printWiFi: no WiFi devices defined
  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  Received INSTEON                "Water Heater Control" on (button 2)
  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
  fingscan                         wifi data received not complete(wificlients): ['<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>\n<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>\nAuthorization required.\n</BODY></HTML>\n']
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

ignore my last msg

1. password/userid is wrong
or
2. another mac/pc is already logged in, asus only allows ONE client to be connected at anytime. if you are logged in from another mac logout and wait 15 minutes

Karl
farberm
Posts: 393
Joined: Sun Feb 24, 2008 2:14 pm

Re: Using Fing as a new way to detect smartphone presence

Post by farberm »

Quick question:

I am using fingscan in conjunction with iFindStuff and HomeBridge 2.0. Everything works extremely well except that I have a large number of ipDevices that I would need to input their device ID into the homeBridge config file to exclude them because there is a limit of 100 devices. Many of these devices are just network devices such as printers etc. Is there any way to have fingscan output the device ID's to a file so that I do not need to manually enter them?
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

half way there:
fingscan/ menu/ save IpDevices ==> creates a copy of the variables in documents/fing/fings.save

you might also try:
fingscan/ menu/ log details.. ==> see log file output.

hoep that helps,
If you need a specific format let me know


Karl
farberm
Posts: 393
Joined: Sun Feb 24, 2008 2:14 pm

Re: Using Fing as a new way to detect smartphone presence

Post by farberm »

Do I need to create a specific file name?

Halfway there?

Nov 30, 2015, 5:21:50 AM
fingscan command: log IP-Services of your network
fingscan starting log IP-Services of your network, might take 1-2 minutes
fingscan fing network scan: 192.168.1.0/24
fingscan fing details failed , no output file
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

"fingscan fing details failed , no output file"
see the fixed post in fingscan download. should work again

Karl
bluenoise
Posts: 143
Joined: Sat Aug 23, 2008 3:21 pm

Re: Using Fing as a new way to detect smartphone presence

Post by bluenoise »

Last night, I replaced my AirPort Extreme with an Asus RT-AC88U and am having trouble getting it to work with Smartphone Radar. I've installed Fing and the associated plugin, updated SPR to 1.1.4, and configured everything (I thought) to use Fing as a source of data for SPR. I am not currently configured to poll the router directly from the Fing plugin.

The Fing plugin is generating all the appropriate data and I see my assorted iPhones in the list of "up" devices, but SPR still thinks they're all away. In the SPR configuration, I have the path to the Fing.log file and the password to my Mac is stored.

What should I try to get this working?

Thanks!
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

what is SPR?
bluenoise
Posts: 143
Joined: Sat Aug 23, 2008 3:21 pm

Re: Using Fing as a new way to detect smartphone presence

Post by bluenoise »

Oops, I shouldn't have been so lazy in my typing. :oops:

SPR = "Smartphone Radar"
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Using Fing as a new way to detect smartphone presence

Post by kw123 »

I don't know about SPR, I am using FINGSCAN (have written)
Post Reply

Return to “User Plugins”