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.
ryanbuckner
Posts: 1409
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

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

Post by ryanbuckner »

I deleted it and re-added it. It's being updated so I'm not sure why the sporadic errors.
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 »

Will check a little bit more in the next days. One explanation is the extra space. The variable looks identical you can see the blank. Had that before. Took me a long time to figure it out.


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 »

I looked at the logic:
it tries to update the variable. if it can not do that it will restart.
then at restart if will try to create that variable.

so if it works again after restart variable must be either unavailable or does not exist.
does not exist: something has deleted it.
can not update due to .?: could be that indigo is busy. That happens when an applescript runs and blocks indigo ( one of my favorite.) You will find that in the indigo or the general system log file as a timeout.

Karl
User avatar
roquej
Posts: 628
Joined: Sun Jan 04, 2015 4:56 pm
Location: South Florida, USA

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

Post by roquej »

Karl,

Incorrect file attached to the latest version. It points to the uniFi plugin.

JP
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 »

sorry.. should be fixed now
Rjay
Posts: 41
Joined: Tue Feb 12, 2019 12:38 am

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

Post by Rjay »

hey mate, after the recent issue with change to Mac OS Catalina the command line changes you specified worked. Since then the new version of Fingscan that came out I upgraded to but I am now seeing this in the log Windows consistently;

Traceback (most recent call last):
File "plugin.py", line 4531, in runConcurrentThread
File "plugin.py", line 4578, in dorunConcurrentThread
AttributeError: 'Plugin' object has no attribute 'quitNOW'

fingscan Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

19 Nov 2019 at 9:56:04 pm
fingscan Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 4531, in runConcurrentThread
File "plugin.py", line 4578, in dorunConcurrentThread
AttributeError: 'Plugin' object has no attribute 'quitNOW'

fingscan Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

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 »

could you a disable and enable plugin

then I need the FIRST error message. The quitNOW can not be the first one.
the log should start w:
FINGSCAN-- initializing will take ~ 2 minutes...; sending logs to ....

also check the plugin.log file /Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.karlwachs.fingscan/plugin.log


Karl
Rjay
Posts: 41
Joined: Tue Feb 12, 2019 12:38 am

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

Post by Rjay »

No problems :)

Ok Error1 below I think is the full error while running from the top


Error2 is after a restart of plugin :)


thanks
Attachments
Error2.txt
(3.78 KiB) Downloaded 479 times
Error1.txt
(1.17 KiB) Downloaded 451 times
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 look at the restart logfile it states the plugin name is not correct

You like had an old plugin in download and the new one is now named -2

Stop the plugin
Rename the plugin to the correct name - remove the -2
And reload

Karl


Sent from my iPhone using Tapatalk
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

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

Post by howartp »

Karl

Out of interest, why does this affect the plugin running?

A few of my plugins have ended up being named-2 but other than annoying my OCD, it doesn’t affect the plugin...?

Peter


Sent from my iPhone using Tapatalk Pro
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 »

All Kind of indigo function stop working and the path references are screwed up

There is the fileName and the plugin name in the props files- they must be the same at least after the first install no change is good

It’s not a plugin issue but driven by indigo functions.

This is a common mistake that’s why I added the log statement explicitly stating that this is wrong and what to do.
Then a sleep 1000 seconds after that to give the user the opportunity to fix it.

Karl



Sent from my iPhone using Tapatalk
Rjay
Posts: 41
Joined: Tue Feb 12, 2019 12:38 am

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

Post by Rjay »

thanks mate.

Yep still a learning path structures in MacOS so didn't make much sense to me initially. All good looks to be going now :)

I am hoping this is the cause of the lag I have been seeing post Catalina upgrade.

thanks again
Post Reply

Return to “User Plugins”