Page 5 of 7

Re: FINGSCAN - download program

PostPosted: Mon Oct 12, 2020 10:29 am
by kw123
Code: Select all
Added features / changes in v7.31.57 @ 2020-10-12
===================================================

1. if a devices is not found (indigo return error), it is not auto-removed from events
   the user is asked to remove device from event list
   this should cover the cases where indigo has timeouts

Re: FINGSCAN - download program

PostPosted: Sat Oct 17, 2020 10:20 am
by kw123
Added features / changes in v7.31.58 @ 2020-10-17
===================================================

1. added check if vendor field is empty
2. added a lot of unicode ie u" instead of " and unicode() instead of str()

Re: FINGSCAN - download program

PostPosted: Wed Oct 21, 2020 7:37 am
by kw123
Added features / changes in v7.31.61 @ 2020-10-21
===================================================

1. set enableBroadCastEvents to default if not set in config


Karl

Re: FINGSCAN - download program

PostPosted: Thu Feb 18, 2021 10:16 am
by kw123
Added features / changes in v7.32.65 @ 2021-2-18
===================================================

1. fixed error message: fingscan Error error in Line# 788 ; error=list index out of range
replaced with a more meaning full error message
happens when fing is not (properly) installed or password is not set


Added features / changes in v7.32.64 @ 2020-11-24
===================================================

1. added variables: nAwayX and nHomeX = number of devices in event group X being away / home)
you can use that to trigger on eg 2 or more devices in the event group being home or away.
eg: assume you have defined an event group X with 5 members
set up trigger with "variable changed" nAwayX and becomes >1
it would trigger if it goes from 1 to 2 devices away, not from 2 to 3
and similar to nHomeX


Karl

Re: FINGSCAN - download program

PostPosted: Tue Mar 29, 2022 1:43 pm
by kw123
There is a new version 7.33.66 available now,
That can run under MAC OS 12.3.. AFTER indigo 2022 is released

!!! do not upgrade to MAC OS12.3 (Monterey) yet !!!,

But this release should work fine with indigo 2021 and 2022 and older versions

I would appreciate if someone could test this with the current indigo releases ie 2021 and older.
It was tested under indigo 2022 Mac OS 12.3 and Indigo 2021 and MAC OS 12.2, but naturally not all functions.

The older versions of this plugin (< 7.33.66) will NOT run under MAC OS 12.3 (even with indigo 2022 )

Karl

Re: FINGSCAN - download program

PostPosted: Tue Apr 12, 2022 3:09 pm
by kw123
Added features / changes in v7.32.67 @ 2022-04-12
===================================================

fixed ''unicode' object has no attribute 'pid''

Re: FINGSCAN - download program

PostPosted: Wed Apr 13, 2022 3:17 am
by McJohn
Karl,

Thanks again for all your work and the update.
I can confirm the Fingscan plugin 7.32.67 works perfect with:

Mac OS 10.14.6 and Indigo 7.4.1

But with:

Mac OS 10.14.6 and Indigo 2021 2.0

The only strange thing into the log every ~ 2 minutes:
(But it seems to be it’s working well and I have saved the config again a couple of times)

Did a downgrade to 7.32.65 and errors are gone.


fingscan Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 4659, in runConcurrentThread
File "plugin.py", line 4836, in dorunConcurrentThread
File "plugin.py", line 854, in sendWakewOnLanAndPing
File "plugin.py", line 887, in sendWakewOnLan
error: [Errno 65] No route to host

fingscan Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
fingscan myLogSet setting parameters -- debug settings :[]
fingscan FINGSCAN-- initializing will take ~ 2 minutes..
fingscan Warning leaving WiFi parameters at default, not configured in 'fingscan/Configure...'
fingscan getting password
fingscan get password done; checking if FING is installed
fingscan fing install check done
fingscan loaded indigo data
fingscan Warning network info: {'netWorkId': '192.168.178.1', 'broadcast': '192.168.178.254', 'netMask': '255.255.255.0', 'maxHosts': 254, 'hostRange': '192.168.178.1 - 192.168.178.254'}, netwType:24
fingscan ifind plugin: com.corporatechameleon.iFindplugBeta
fingscan MAP2Vendor initializing
fingscan MAP2Vendor downloading raw files, will take some minutes
fingscan /usr/bin/curl -L https://standards.ieee.org/develop/regauth/oui/oui.csv | tail -n +2 | cut -d',' -f'2,3' | sed 's/"//'> '/Library/Application Support/Perceptive Automation/Indigo 2021.2/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/oui' &
fingscan /usr/bin/curl -L https://standards.ieee.org/develop/rega ... 28/mam.csv | tail -n +2 | cut -d',' -f'2,3' | sed 's/"//'> '/Library/Application Support/Perceptive Automation/Indigo 2021.2/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/mam' &
fingscan /usr/bin/curl -L https://standards.ieee.org/develop/rega ... /oui36.csv | tail -n +2 | cut -d',' -f'2,3' | sed 's/"//'> '/Library/Application Support/Perceptive Automation/Indigo 2021.2/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/oui36' &
fingscan MAP2Vendor initializing still waitinmg for download
fingscan Initializing parameters for FING
fingscan Waiting for first data from FING

13 Apr 2022 at 11:09:36
fingscan Checking if FING created output, old timeStamp:1649840922.69; new timeStamp:1649840958.43
fingscan Initializing .. FING created new data waiting ~ 1 minute for stable operation
fingscan FING Pids active after step3 = [u'97123']
fingscan (re)started FING, initialized
fingscan MAP2Vendor initializing still waitinmg for download
fingscan MAP2Vendor initializing still waitinmg for download

fingscan Error --> setup config, save, then a manual reload of plugin
fingscan --> while loop break stopping ... quitNOW was: please setup config , waiting
fingscan Error --> you have 2 minutes to fix config, before restart

Re: FINGSCAN - download program

PostPosted: Wed Apr 13, 2022 11:21 am
by kw123
could you download the latest version and set debug startfing pgm to on and restart

then check the fing plugin.log file
/Library/Application Support/Perceptive Automation/Indigo 2021.2/Logs/com.karlwachs.fingscan/plugin.log

Karl

Re: FINGSCAN - download program

PostPosted: Wed Apr 13, 2022 2:51 pm
by kw123
John,
this looks like a network issue

"No route to host" means that the network is not setup properly in config

could you do a screen shot of your config and email me?


Karl

Re: FINGSCAN - download program

PostPosted: Fri Apr 15, 2022 2:21 am
by kw123
Added features / changes in v7.32.70 @ 2021-04-15
===================================================

1. ip broadcast calculatiuon was messed up
was x.x.x.254 instead of x.x.x.255
error was:
max_range = copy.copy(broadcast) # copy.copy is needed, otherwise broadcast itself is changed
max_range[-1] -= 1


Karl

Re: FINGSCAN - download program

PostPosted: Wed Apr 20, 2022 4:12 pm
by kw123
Added features / changes in v7.32.71 @ 2022-04-20
===================================================

1. some cleanup for migration py2 --> py3
2. faster down --> up state change (up to 60 secs faster ), read from fing.log file did not work, only fing.data was used

Re: FINGSCAN - download program

PostPosted: Tue May 10, 2022 3:48 pm
by jay (support)
NOTE: Indigo 2022.1 has solved the compatibility issue with macOS Monterey 12.3+.

Re: FINGSCAN - download program

PostPosted: Fri May 13, 2022 5:02 pm
by EagleDTW
Hi Karl,

I'm getting this error after having issues with a 2022.1 downgrade back to 2021.2 - I completely removed the plugin and it's preferences files, but now when I reinstall I get the following error and the plugin looks to reset in the log file again:
fingscan Error '[Errno 2] No such file or directory: u'/Library/Application Support/Perceptive Automation/Indigo 2021.2/Preferences/Plugins/com.karlwachs.fingscan/ignoredMAC''
getIgnoredMAC @line 2764: 'f = open (self.ignoredMACFile , "r")'
fingscan Error 'local variable 'xx' referenced before assignment'
getIgnoredMAC @line 2772: 'self.indiLOG.log(40, u"getIgnoredMAC file read:{}".format(xx))'

Any advice would be much appreciated. Thank you, Daniel

Re: FINGSCAN - download program

PostPosted: Sat May 14, 2022 1:11 pm
by kw123
thats an error message in an error message

1. the file ... Preferences/Plugins/com.karlwachs.fingscan/ignoredMAC does not exist, that is not a problem
2. then in the error procedure it tries to print the contents of the file read and that does not exist.
3. then it exists as there is nothing that catches the 2. error.

A quick fix:
open terminal
echo "" > '/Library/Application Support/Perceptive Automation/Indigo 2021.2/Preferences/Plugins/com.karlwachs.fingscan/ignoredMAC'

with the ' and "

That will create an empty file and will enable the plugin to continue

I will fix the missing file error handling, but I will be out of town until Tuesday evening.
Sorry for that

Karl

ps just pushed a version that should fix the

Added features / changes in v7.33.72 @ 2022-05-14
===================================================

1. fixed:
getIgnoredMAC @line 2772: 'self.indiLOG.log(40, u"getIgnoredMAC file read:{}".format(xx))'

Re: FINGSCAN - download program

PostPosted: Sun May 15, 2022 11:37 pm
by EagleDTW
Hi Karl,

Awesome, will spin up the new release when you get back! I appreciate the active development you do on this and your other plugins!

Thank you,
Daniel