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.
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

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

Post by Dewster35 »

Karl,
With iOS 8 and this randomization of mac addresses, will this impact fing from tracking presence? I'm running into problems with my wife's phone knowing when she's home and when she's not. I'm also getting some odd information between her IP address, the mac address listed on her phone and the mac address listed on fing. Not sure where to go to fix this and can't find anything online on how to disable the randomization.
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 »

Could you be a bit more specific. Ie random.
Could you look at fing.log. It should show the information as presented by fing. Send me an email if you like.


Sent from my iPhone using Tapatalk
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

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

Post by RogueProeliator »

I am pretty sure that the fake MAC addresses are only used during the WiFi probing -- they are not actually changing the devices MAC address... once you connect to a WiFi network your device's real MAC address is presented to the network. Therefore, I would think fing would be unaffected by the feature.

Adam
wiery
Posts: 288
Joined: Mon Jun 02, 2008 2:52 am
Location: Ireland
Contact:

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

Post by wiery »

Anyone else having an issue with latest version of plugin crashing there system ? I wasn't sure what it was initially, thought it was sighthound or security spy causing too much load however as I disabled these one by one the problem still occurred. It now appears to have been the fing plugin as i've not had a hang since this was disabled.
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 »

if you have a device thats constantly changing the mac number it looks like a new device is joining every second. I have seen this kind of behavior happening in a hotel. A device was changing its MAC number several times a second .
This will make fingscan create and delete devices constantly.

You can check if that is happening at your home by looking at documents/fing/fing.log
normal behavior should look like:

Code: Select all

2014/11/14 08:49:31;up;192.168.1.71;;;F0:7D:68:06:F6:87;D-Link
2014/11/13 17:46:33;up;192.168.1.232;;mini;10:9A:DD:60:97:2C;Apple
2014/11/13 17:46:33;up;192.168.1.248;;;00:0E:58:BF:E0:D7;Sonos
2014/11/13 17:46:35;up;192.168.1.215;;karls-ipad;F0:F6:1C:D5:51:16;
2014/11/13 17:47:27;up;192.168.1.250;;iphone;F8:27:93:59:9D:B2;
2014/11/13 17:50:37;down;192.168.1.215;;karls-ipad;F0:F6:1C:D5:51:16;
2014/11/13 17:51:35;up;192.168.1.215;;karls-ipad;F0:F6:1C:D5:51:16;
2014/11/13 17:52:37;down;192.168.1.250;;iphone;F8:27:93:59:9D:B2;
2014/11/13 17:52:38;up;192.168.1.250;;iphone;F8:27:93:59:9D:B2;
2014/11/13 17:54:37;down;192.168.1.250;;iphone;F8:27:93:59:9D:B2;
2014/11/14 08:49:26;down;192.168.1.72;;;00:22:B0:E5:D4:C8;D-Link
2014/11/14 08:49:26;down;192.168.1.74;;;F0:7D:68:08:5F:D0;D-Link
2014/11/14 08:49:26;down;192.168.1.76;;;E8:AB:FA:16:21:80;
2
if you have this problem you will see MANY more entries.

I am using my iPhone with IOS8.1 without a problem

Karl
philc
Posts: 156
Joined: Tue May 17, 2011 8:36 pm

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

Post by philc »

wiery wrote:Anyone else having an issue with latest version of plugin crashing there system ? I wasn't sure what it was initially, thought it was sighthound or security spy causing too much load however as I disabled these one by one the problem still occurred. It now appears to have been the fing plugin as i've not had a hang since this was disabled.
I'm having this issue. I think it has to do with the applescript relaunch. I can get it to work just fine, but then overnight the problem happens.. Sometimes I'll log in to my (headless) server and I'll get a dialog that says the application is not running (fing). I have never gotten this plugin to run properly on my system...which sucks, because I could really use it. But I don't have time to do troubleshooting for the author, so I'm not gonna complain.
rm2014
Posts: 28
Joined: Sun Sep 14, 2014 11:01 pm

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

Post by rm2014 »

For some reason it looks like fingscan is making my indigo hang - I look in the logs and this is what I see:

0 Nov 2014 19:15:35
fingscan Error ----------------------------------------------------------------------------------
fingscan Error seems that FING is not active - no change in data, restarting fing
fingscan Error ----------------------------------------------------------------------------------
fingscan FING initialized .. created new data waiting ~ 1 minute for stable operation
fingscan Error ----------------------------------------------------------------------------------
fingscan Error fing restarted successfully
fingscan Error ----------------------------------------------------------------------------------
fingscan Error ----------------------------------------------------------------------------------
fingscan Error seems that FING is not active - no change in data, restarting fing
fingscan Error ----------------------------------------------------------------------------------
fingscan FING initialized .. created new data waiting ~ 1 minute for stable operation
fingscan Error ----------------------------------------------------------------------------------
fingscan Error fing restarted successfully
fingscan Error ----------------------------------------------------------------------------------
fingscan Error ----------------------------------------------------------------------------------
fingscan Error seems that FING is not active - no change in data, restarting fing
fingscan Error ----------------------------------------------------------------------------------
fingscan FING initialized .. created new data waiting ~ 1 minute for stable operation
fingscan Error ----------------------------------------------------------------------------------
fingscan Error fing restarted successfully
fingscan Error ----------------------------------------------------------------------------------
fingscan Error ----------------------------------------------------------------------------------
fingscan Error seems that FING is not active - no change in data, restarting fing
fingscan Error ----------------------------------------------------------------------------------
fingscan FING initialized .. created new data waiting ~ 1 minute for stable operation
fingscan Error ----------------------------------------------------------------------------------
fingscan Error fing restarted successfully
fingscan Error ----------------------------------------------------------------------------------
Indigo Cocoa client disconnected
fingscan Error ----------------------------------------------------------------------------------
fingscan Error seems that FING is not active - no change in data, restarting fing
fingscan Error ----------------------------------------------------------------------------------
fingscan Error ----------------------------------------------------------------------------------
fingscan Error (re)started FING 5 times, quiting ... reloading the plugin
fingscan Error ----------------------------------------------------------------------------------
fingscan --> while loop break stopping ... quitNOW was:yes

I have to close out indigo and restart - but it keeps happening.

Any ideas?
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 »

rm2014 :

could you check the fing.log file is there are any new entries - just double click on it and the console view will pop up.

also try:
open terminal window and enter
sudo fing

then you will need to enter your password.

if you see things happening without issues fing is installed properly. if you see error messages your will need to reinstall ring,

Karl
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'm having this issue. I think it has to do with the applescript relaunch. I can get it to work just fine, but then overnight the problem happens.. Sometimes I'll log in to my (headless) server and I'll get a dialog that says the application is not running (fing). I have never gotten this plugin to run properly on my system...which sucks, because I could really use it. But I don't have time to do troubleshooting for the author, so I'm not gonna complain. " ...

which version of FIGSCAN are you using. the applescript version is more than a year old, check out the fingscan program download
philc
Posts: 156
Joined: Tue May 17, 2011 8:36 pm

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

Post by philc »

Nov 22, 2014, 3:50:09 AM
Script FINGSCAN-2-0-5 PID-11947: cant read debug level

Nov 22, 2014, 3:51:15 AM
Script FINGSCAN-2-0-5 PID-11947: cant read debug level

Nov 22, 2014, 3:52:20 AM
Script FINGSCAN-2-0-5 PID-11947: cant read debug level

Nov 22, 2014, 3:53:26 AM
Script FINGSCAN-2-0-5 PID-11947: cant read debug level

Nov 22, 2014, 3:54:31 AM
Script FINGSCAN-2-0-5 PID-11947: cant read debug level
I had been on 13, but now I've upgraded to 21. Still getting the above error, and I get a dialog on the screen that says " FINGSCAN cannot communicate with Indigo, please restart Indigo"
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 »

philc:
Are you sure you are using the python version? This looks like version 2-0-5. That is about 1 year old and has the general OSX applescript issue with communicating with indigo.

could you check out version 4-10-21? http://forums.indigodomo.com/viewtopic. ... 34&t=12787

you might have the apple script version still running in the background: check if in activity monitor you find an application: FINGSCAN. you should kill that one.
Also if you find 2 FING applications, kill both. The new version will handle it and restart FING. Having 2 FING running at the same time might create some issues.

Karl


ps:
this is the code in the apple script 2-0-5 version that displays the error message

Code: Select all

	on error
		doDisplayError()
		debLog(-1, " cant read debug level")
	end try
that message is not in version 3...4 ...
philc
Posts: 156
Joined: Tue May 17, 2011 8:36 pm

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

Post by philc »

Karl,
I just tried to uninstall find and fingscan completely so that I could erase all previous versions/scripts/etc. Thought I did - even deleted the preferences file - but when I reinstalled fingscan it already knew my password, so clearly I missed something. Can you tell me how to make sure the old one is completely uninstalled?
I have, I think, upgraded pretty regularly but I suspect there are vestiges of old versions hanging out on my system.
BTW, don't think I've said it before, I really appreciate you working on this. Ever since I upgraded my routers to the new 802.11ac, I've missed being able to do presence checking with the smartphones. I've yet to get fingscan to work reliably for more than a few days, but that may be an issue with my system. So thank you, and sorry to be a pain. If you have uninstall instructions that will completely wipe fingscan from my system, along with any associated scripts, etc., I'll give it a shot.

Best,
Phil
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 »

The password is stored in the keychain not in indigo. Does it show the version number when you start it? It should be 4-... Don't recall the number. I am out right now. If it shows the 4-xxx we are at the next step. The old AppleScript version is fingscan.app. The plugin is fingscan.plugin Delete / rename the .app


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 »

Also fingscan.app gets relaunched by an action/schedule. Check if you have something like fingscan relaunch schedule. And disable it.


Sent from my iPhone using Tapatalk
philc
Posts: 156
Joined: Tue May 17, 2011 8:36 pm

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

Post by philc »

Now I think we're onto something. The relaunch schedule was enabled....
So about that "fing" folder in my Documents folder...does it still need to be there? Can I delete anything else besides fingscan.app?
Post Reply

Return to “User Plugins”