FINGSCAN - discussion

Posted on
Sun Jan 08, 2017 8:04 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: FINGSCAN - discussion

shrxman
Every time when go to Plugin/fingscan/configure this command load very slowly.
When i open some ipDevice for settings and click to "Edit Device settings" to full configure, the Configuration window does not open.
If the window open and I make changes, then gives me this error.
fingscan v7.22.2


is there anything in the log file?

Karl

Posted on
Wed Jan 11, 2017 4:49 am
veritas offline
Posts: 16
Joined: Dec 04, 2016

Re: FINGSCAN - discussion

Jan 11, 2017, 12:38:21 PM
Z-Wave received "Study Veri temperature sensor" sensor update to 20.8 °C
Z-Wave received "Study Veri humidity sensor" sensor update to 20%
Z-Wave received "Study Veri luminance sensor" sensor update to 133 lux
Z-Wave received "Study Veri ultraviolet sensor" sensor update to 0
Error (client) timeout waiting for plugin response from com.karlwachs.fingscan for request UiGetValues1
Error (client) timeout waiting for plugin response from com.karlwachs.fingscan for request CallPluginFunc
Error (client) runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

Posted on
Mon Jan 23, 2017 11:37 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: FINGSCAN - discussion

Sorry just saw this...

these are error messages from indigo that it can not open the dialog for config.. that does not help it is too general

go to fingscan config and set
seconds to sleep between probing ==> "10"
enable PINGs .. ==> "do not use"

and check if that helps

Karl

Posted on
Fri Feb 03, 2017 10:48 am
yassi offline
Posts: 468
Joined: Sep 06, 2015
Location: Germany

Re: FINGSCAN - discussion

Hi Karl,

it seems so, fingscan has an issue with the Umlauts when trying to save the data:
Code: Select all
03.02.2017 17:46:23
   fingscan                        command: save
   fingscan                        saving indigo data to file
   fingscan Error                  Error in plugin execution MenuAction:

Traceback (most recent call last):
  File "plugin.py", line 2462, in inpSaveData
  File "plugin.py", line 2690, in writeToFile
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 112: ordinal not in range(128)


Plugin version is 7.22.2

Maybe you have the time to look into it.

Thanks,
Yassi

Posted on
Fri Feb 03, 2017 6:50 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: FINGSCAN - discussion

try v 7-22-3

SHOULD be fixed.. have no devices with special characters to test with

Karl

Posted on
Sat Feb 04, 2017 8:26 am
yassi offline
Posts: 468
Joined: Sep 06, 2015
Location: Germany

Re: FINGSCAN - discussion

Thx, Karl, will test and report.

Yassi


Sent from my iPhone using Tapatalk

Posted on
Sat Feb 04, 2017 10:06 am
yassi offline
Posts: 468
Joined: Sep 06, 2015
Location: Germany

Re: FINGSCAN - discussion

Perfect, works!
Thanks, Karl!

Yassi

Posted on
Tue Feb 07, 2017 11:10 am
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Re: FINGSCAN - discussion

Hello,

I just installed Fingscan but it doesn't seem to be working. Didn't see anything in your readme file to address this.

Every 2 minutes or so I get the following in the log:

Feb 7, 2017, 11:31:05 AM
fingscan Error seems that FING is not active - no change in data, restart fing
fingscan FING initializing
fingscan FING initialized .. created new data
fingscan Error fing restarted successfully

I reloaded the plugin and this is what is in the log following the reload:

Feb 7, 2017, 11:28:30 AM
Reloading plugin "fingscan 3.2.1"
Stopping plugin "fingscan 3.2.1" (pid 26157)
fingscan stopConcurrentThread called 1
fingscan exception StopThread triggered ... stopped, quitNOW was:no
fingscan stopConcurrentThread called 2
fingscan shutdown called
Stopped plugin "fingscan 3.2.1"
Starting plugin "fingscan 3.2.1" (pid 27185)
Started plugin "fingscan 3.2.1"
fingscan FINGSCAN initializing ... will take more than one minute ...
fingscan FING initializing
fingscan FING initialized .. created new data

The variable "ipDevice00" has the following entry in the variable tables:

MAC-Number ; IP-Number ; Time-Of-Last-Change ;Status; N.of-Ch. ; Nick-Name ; Hardware-Vendor ; DeviceInfo ; newIPNumber

While writing this, I just got the following log entry:

Feb 7, 2017, 11:37:21 AM
fingscan Error seems that FING is not active - no change in data, restart fing
fingscan FING initializing
fingscan Error ----------------------------------------------------------------------------------
fingscan Error (re)started FING 5 times, quiting ... reloading the plugin
fingscan Error ----------------------------------------------------------------------------------
fingscan Error ----------------------------------------------------------------------------------------------
fingscan Error fing not active, tried to restart fing, did not work, stopping fingscan, may be wrong password
fingscan Error in plugins/fingscan/configure: set password
fingscan Error ----------------------------------------------------------------------------------------------
fingscan Error --> while loop break <-- error in logic or variables mixed up ... stopping ... quitNOW was:yes

So now, I uninstalled Fing and the plugin, restarted the Indigo server, reinstalled Fing and the plugin and I still have the same problem. I turned on debugging and here's what it shows:

Feb 7, 2017, 12:00:38 PM
Installing and enabling plugin fingscan v3.2.1
Loading plugin "fingscan 3.2.1"
Starting plugin "fingscan 3.2.1" (pid 31228)
Started plugin "fingscan 3.2.1"
fingscan FINGSCAN initializing ... will take more than one minute ...
fingscan Debug my pid: 31228
fingscan Debug indigo variables initialized
fingscan Debug password entered=password: "&a3!!11vfcdX#5B"

fingscan Debug get password done
fingscan Debug FING initializing
fingscan FING initializing
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug testing if FING is running
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug killing FING Processes pids all []
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug FING cmd= echo 'Xdcfv11!!' | sudo -S /usr/bin/fing -o table,csv,'/Users/ralph/Documents/fing/fing.data' log,csv,'/Users/ralph/Documents/fing/fing.log' >> '/Users/ralph/Documents/fing/fingerror.log' 2>&1 &
fingscan Debug waiting for FING to start and produce output
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug testing if FING is running
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug killing FING Processes pids onlyParents []
fingscan Debug ----------------------------------------------------------------------------------
fingscan FING initialized .. created new data

Feb 7, 2017, 12:02:20 PM
fingscan Debug FING LOG data new 0 2

Feb 7, 2017, 12:02:40 PM
fingscan Error seems that FING is not active - no change in data, restart fing
fingscan FING initializing
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug testing if FING is running
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug killing FING Processes pids all []
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug FING cmd= echo 'Xdcfv11!!' | sudo -S /usr/bin/fing -o table,csv,'/Users/ralph/Documents/fing/fing.data' log,csv,'/Users/ralph/Documents/fing/fing.log' >> '/Users/ralph/Documents/fing/fingerror.log' 2>&1 &
fingscan Debug waiting for FING to start and produce output
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug testing if FING is running
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug killing FING Processes pids onlyParents []
fingscan Debug ----------------------------------------------------------------------------------
fingscan FING initialized .. created new data
fingscan Error fing restarted successfully

Feb 7, 2017, 12:04:14 PM
fingscan Error seems that FING is not active - no change in data, restart fing
fingscan FING initializing
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug testing if FING is running
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug killing FING Processes pids all []
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug FING cmd= echo 'Xdcfv11!!' | sudo -S /usr/bin/fing -o table,csv,'/Users/ralph/Documents/fing/fing.data' log,csv,'/Users/ralph/Documents/fing/fing.log' >> '/Users/ralph/Documents/fing/fingerror.log' 2>&1 &
fingscan Debug waiting for FING to start and produce output
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug testing if FING is running
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug ----------------------------------------------------------------------------------
fingscan Debug killing FING Processes pids onlyParents []
fingscan Debug ----------------------------------------------------------------------------------
fingscan FING initialized .. created new data
fingscan Error fing restarted successfully


There's one line in the above dump (in BOLD) that has me confused.
fingscan Debug password entered=password: "&a3!!11vfcdX#5B"
The password that I entered, "Xdcfv11!!" is in that debug line but backwards. Any ideas on what I'm doing wrong? Thanks for any help.

Posted on
Tue Feb 07, 2017 3:53 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: FINGSCAN - discussion

the password is ok that how it is stored ..

could you open a terminal and type
sudo fing
or
sudo /usr/bin/fing

and see it does something

Karl

Posted on
Wed Feb 08, 2017 12:44 am
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Re: FINGSCAN - discussion

kw123 wrote:
the password is ok that how it is stored ..

could you open a terminal and type
sudo fing
or
sudo /usr/bin/fing

and see it does something

Karl


sudo fing:

| State | Host | MAC Address | Last change |
|-----------------------------------------------------------------------------|
| UP | 10.0.1.1 | A0:04:60:14:80:51 | |
| UP | 10.0.1.2 | 00:0E:58:4A:A6:AA | |
| UP | 10.0.1.3 | B8:E9:37:55:62:A6 | |
| UP | 10.0.1.4 | 00:0E:58:72:3D:EE | |
| UP | 10.0.1.5 | 00:0E:58:73:5A:20 | |
| UP | 10.0.1.6 | 00:0E:58:72:59:3C | |
| UP | 10.0.1.7 | AC:BC:32:F1:14:37 | |
| UP | 10.0.1.8 | D4:F4:6F:29:82:9E | |
| UP | 10.0.1.9 | B0:65:BD:E4:AD:B8 | |
| UP | 10.0.1.10 | A0:04:60:1C:17:29 | |
| UP | 10.0.1.11 | DC:2B:2A:10:1D:EC | |
| UP | 10.0.1.15 | 34:D2:70:BE:69:F5 | |
| UP | 10.0.1.16 | 18:EE:69:1F:06:EE | |
| UP | 10.0.1.17 | A8:60:B6:20:7A:D3 | |
| UP | 10.0.1.23 | 00:90:A9:6B:02:EC | |
| UP | 10.0.1.24 | 00:1E:C0:15:8D:81 | |
| UP | 10.0.1.25 | 34:6F:92:02:59:51 | |
| UP | 10.0.1.26 | 90:48:9A:96:05:3B | |
| UP | 10.0.1.27 | 60:D8:19:57:55:6F | |
| UP | 10.0.1.29 | F4:F5:D8:B3:F1:A6 | |
| UP | 10.0.1.50 | 00:0B:78:66:7D:C4 | |
| UP | 10.0.1.100 | E8:AB:FA:0A:2C:7B | |
| UP | 10.0.1.103 | 00:12:7B:51:0D:2A | |
| UP | 10.0.1.105 | E8:AB:FA:88:0D:1E | |
-------------------------------------------------------------------------------

01:41:22 > Discovery round completed in 4.628 seconds.
01:41:22 > Network 10.0.1.0/24 has 24/24 hosts up.

Posted on
Wed Feb 08, 2017 7:24 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: FINGSCAN - discussion

And the 2. Command?


Sent from my iPhone using Tapatalk

Posted on
Wed Feb 08, 2017 12:25 pm
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Re: FINGSCAN - discussion

kw123 wrote:
And the 2. Command?

sudo: /usr/bin/fing: command not found


Sent from my iPhone using Tapatalk

Posted on
Wed Feb 08, 2017 2:14 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: FINGSCAN - discussion

sorry, no :

sudo /usr/bin/fing

Posted on
Wed Feb 08, 2017 2:34 pm
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Re: FINGSCAN - discussion

kw123 wrote:
sorry, no :

sudo /usr/bin/fing


Terminal Readout:
Last login: Wed Feb 8 13:24:22 on ttys000
MacMini2:~ ralph$ sudo /usr/bin/fing
Password:
sudo: /usr/bin/fing: command not found
MacMini2:~ ralph$

I never used the ":". That was just the return format of the command itself. Sorry I wasn't clearer on that.

Posted on
Wed Feb 08, 2017 3:26 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: FINGSCAN - discussion

I guess that's the problem.

Which os are your using?

Fingscan wants to jnstall in /usr/bin.

If that does not work ... it will fail


Sent from my iPhone using Tapatalk

Who is online

Users browsing this forum: No registered users and 4 guests