A few errors in v2022.34.81

Posted on
Thu Sep 01, 2022 10:48 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

A few errors in v2022.34.81

For the Harvard vendor info

Switch on debug logic and restart the plugin

It should show you what info is available for each device.

Karl

The hardware info gets checked at start of plugin and at x:29 every hour

Sent from my iPhone using Tapatalk

Posted on
Fri Sep 02, 2022 1:50 pm
Monstergerm offline
Posts: 274
Joined: Sep 01, 2009

Re: A few errors in v2022.34.81

Here is the printout of the device states and the corresponding line from fing.data (the file inside your pref folder).

1) Device has a name "iMac (Ethernet)" but nickName is MAC_XX:XX:XX:XX:XX:XX. Many devices are like this, others show a nickName identical to the device name and still others show a wrong nickName.

2) Many of my devices are Apple devices. Most of them like this one show a blank hardwareVendor but your fing.data file shows correctly "Apple". All these devices are identified as Apple devices using the iOS Fing app, so the MAC address is properly registered.


Action Group Get all properties/states of a device
Script address : 10.0.1.047
batteryLevel : None
buttonGroupCount : 0
configured : True
description : XX:XX:XX:XX:XX:XX
deviceTypeId : IP-Device
displayStateId : statusDisplay
displayStateImageSel : SensorOn
displayStateValRaw : up 2022-09-02 08:31:13
displayStateValUi : up 2022-09-02 08:31:13
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1803645337
globalProps : MetaProps : (dict)
com.indigodomo.indigoserver : (dict)
sqlLoggerIgnoreStates : lastfingup (string)
com.karlwachs.fingscan : (dict)
address : 10.0.1.047 (string)
setExpirationTime : 0 (integer)
setUsePing : doNotUsePing (string)
setuseWakeOnLan : 0 (integer)
id : 1850206661
lastChanged : 2022-09-02 08:31:13
lastSuccessfulComm : 2022-09-02 08:31:13
model : IP-Device
name : iMac (Ethernet)
ownerProps : com.karlwachs.fingscan : (dict)
address : 10.0.1.047 (string)
setExpirationTime : 0 (integer)
setUsePing : doNotUsePing (string)
setuseWakeOnLan : 0 (integer)
pluginId : com.karlwachs.fingscan
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
sharedProps : com.indigodomo.indigoserver : (dict)
sqlLoggerIgnoreStates : lastfingup (string)
states : States : (dict)
MACNumber : XX:XX:XX:XX:XX:XX (string)
created : 2022-08-27 11:09:15 (string)
deviceInfo : (string)
hardwareVendor : (string)
ipNumber : 10.0.1.47 (string)
lastFingUp : 2022-09-02 08:30:22 (string)
nickName : MAC_XX:XX:XX:XX:XX:XX (string)
noOfChanges : 0 (string)
status : up (string)
statusDisplay : up 2022-09-02 08:31:13 (string)
suppressChangeMSG : show (string)
timeOfLastChange : 0 (string)
usePing-WOL : doNotUsePing (string)
subModel :
subType :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None


fing.data
10.0.1.47;;up;2022/09/02 08:31:13;;XX:XX:XX:XX:XX:XX;Apple

Posted on
Fri Sep 02, 2022 7:11 pm
Monstergerm offline
Posts: 274
Joined: Sep 01, 2009

Re: A few errors in v2022.34.81

And here is another error. This error happened when I powered up a printer that is normally off. The error repeated itself every minute.

fingscan updateIndigoIpDeviceFromDeviceData: devId 0 does not exist in indigo devices, recreate for mac#:AC:18:26:54:14:0F, calledFrom:compareToIndigoDeviceData2
fingscan Error
Traceback (most recent call last):
File "plugin.py", line 4103, in updateIndigoIpVariableFromDeviceData
curr = indigo.variables["ipDevice"+devV["ipDevice"]].value.split(";")
KeyError: 'key name ipDevice02 not found in database'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "plugin.py", line 4105, in updateIndigoIpVariableFromDeviceData
self.indiLOG.log(30, " updating ipDevice:{}, does not exist, (re)creating variable".format(+devV["ipDevice"]))
TypeError: bad operand type for unary +: 'str'
fingscan Error MAC# AC:18:26:54:14:0F
fingscan Error indigoIpVariableData: {'ipNumber': '10.0.1.204', 'timeOfLastChange': '2022-09-02 17:48:32', 'status': 'up', 'nickName': 'new-0-AC:18:26:54:14:0F', 'noOfChanges': 1, 'hardwareVendor': '', 'udeviceInfo': '', 'variableName': '', 'ipDevice': '02', 'index': 27, 'usePing': 'usePingUP-0', 'suppressChangeMSG': 'show', 'deviceInfo': ''}
fingscan Error allDeviceInfo: {'ipNumber': '10.0.1.204', 'timeOfLastChange': '2022-09-02 17:48:32', 'status': 'up', 'nickName': 'new-0-AC:18:26:54:14:0F', 'noOfChanges': 1, 'hardwareVendor': None, 'deviceInfo': '', 'usePing': 'usePingUP', 'useWakeOnLanSecs': 0, 'useWakeOnLanLast': 0, 'suppressChangeMSG': 'show', 'deviceId': 757632888, 'deviceName': 'MAC-AC:18:26:54:14:0F', 'fingLastUp': 0, 'expirationTime': 0, 'variableName': '', 'lastFingUp': 1662166118.748912, 'devExists': 1}


And then after powering off the printer I got these errors:

fingscan Error
Traceback (most recent call last):
File "plugin.py", line 2942, in compareToFingIfExpired
xxx = self.fingMACNumbers.index(theMAC)
ValueError: 'AC:18:26:54:14:0F' is not in list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "plugin.py", line 4103, in updateIndigoIpVariableFromDeviceData
curr = indigo.variables["ipDevice"+devV["ipDevice"]].value.split(";")
KeyError: 'key name ipDevice02 not found in database'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "plugin.py", line 4105, in updateIndigoIpVariableFromDeviceData
self.indiLOG.log(30, " updating ipDevice:{}, does not exist, (re)creating variable".format(+devV["ipDevice"]))
TypeError: bad operand type for unary +: 'str'
fingscan Error MAC# AC:18:26:54:14:0F
fingscan Error indigoIpVariableData: {'ipNumber': '10.0.1.204', 'timeOfLastChange': '2022-09-02 18:04:11', 'status': 'expired', 'nickName': 'new-0-AC:18:26:54:14:0F', 'noOfChanges': 2, 'hardwareVendor': '', 'udeviceInfo': '', 'variableName': '', 'ipDevice': '02', 'index': 27, 'usePing': 'doNotUsePing-0', 'suppressChangeMSG': 'show', 'deviceInfo': ''}
fingscan Error allDeviceInfo: {'ipNumber': '10.0.1.204', 'timeOfLastChange': '2022-09-02 18:04:11', 'status': 'expired', 'nickName': 'new-0-AC:18:26:54:14:0F', 'noOfChanges': 2, 'hardwareVendor': '', 'deviceInfo': '', 'usePing': 'doNotUsePing', 'useWakeOnLanSecs': 0, 'useWakeOnLanLast': 0, 'suppressChangeMSG': 'show', 'deviceId': 757632888, 'deviceName': 'MAC-AC:18:26:54:14:0F', 'fingLastUp': 0, 'expirationTime': 0.0, 'variableName': '', 'lastFingUp': 1662166928.0, 'devExists': 1}

Posted on
Sat Sep 03, 2022 1:48 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: A few errors in v2022.34.81

please try:v 2022.36.86

Who is online

Users browsing this forum: No registered users and 3 guests