File "plugin.py", line 141

Posted on
Thu Jun 16, 2022 3:55 pm
anyone offline
Posts: 68
Joined: Apr 03, 2011
Location: Norfolk, VA

File "plugin.py", line 141

Just upgraded to 2022.1.1 and Z-Wave Watcher 3.0.9, seeing this error in the logs.

The watcher is monitoring a HomeSeer HSM200 Z-Wave Multi-Sensor, and specifically the temperature reading. An error is being thrown for all updates for just this one (1) device.

This is a watcher I am not currently actively using so disabling it on this device, is not an inconvenience.

Code: Select all
Jun 16, 2022 at 5:39:08 PM
   Z-Wave                          received "Family Room - Luminance" sensor update to 64%
   Z-Wave Watcher Error            Error in plugin execution ReceivedBroadcast:

  File "plugin.py", line 141, in zwaveCommandReceived
type: key zwClassCmdMapStr not found in dict

Jun 16, 2022 at 5:41:12 PM
   Z-Wave                          received "Family Room - Motion Sensor" status update is off
   Z-Wave Watcher Error            Error in plugin execution ReceivedBroadcast:

  File "plugin.py", line 141, in zwaveCommandReceived
type: key zwClassCmdMapStr not found in dict

Posted on
Thu Jun 16, 2022 5:15 pm
howartp offline
Posts: 4469
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: File "plugin.py", line 141

I don’t recognise any of that from my plugin but I’ll have a look!


Sent from my iPhone using Tapatalk Pro

Posted on
Sat Jun 18, 2022 1:21 pm
howartp offline
Posts: 4469
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: File "plugin.py", line 141

Ok, looks like I totally forgot that I added some nice code to this plugin at some point!

Can you right-click your MultiSensor (the original Zwave one, not my dummy one) and "Print device details to log"

Then copy/paste them here.

Posted on
Sun Jun 19, 2022 6:18 am
anyone offline
Posts: 68
Joined: Apr 03, 2011
Location: Norfolk, VA

Re: File "plugin.py", line 141

howartp wrote:
Ok, looks like I totally forgot that I added some nice code to this plugin at some point!


:)

Code: Select all
address : 35
allowOnStateChange : False
allowSensorValueChange : False
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : zwValueSensorType
displayStateId : sensorValue
displayStateImageSel : TemperatureSensor
displayStateValRaw : 78.2
displayStateValUi : 78.2 °F
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1452069802
globalProps : MetaProps : (dict)
     com.perceptiveautomation.indigoplugin.zwave : (dict)
          SensorUnits : 2 (integer)
          SupportsOnState : false (bool)
          SupportsSensorValue : true (bool)
          address : 35 (integer)
          disableStatusLogging : false (bool)
          indigoObjVersion : 10 (integer)
          modelNameAndFirmware : Multi Sensor (HSM200), firmware 2.03 (string)
          preferredTempSensorUnits : 2 (string)
          propsPushTickler : 12 (string)
          tempAlwaysFalse : false (bool)
          userEnergyPollingEnabled : false (bool)
          userPollInterval :  (string)
          userPollingEnabled : false (bool)
          userWakeInterval :  (string)
          version : 2.03 (string)
          zwAssociationsMapStr :  (string)
          zwClassCmdBase : 0 (integer)
          zwDevSubIndex : 1 (integer)
          zwEncryptionStatusStr :  (string)
          zwManufactureId : 12 (integer)
          zwManufactureName : HomeSeer (string)
          zwModelId : 262145 (integer)
          zwModelName : Multi Sensor (HSM200) (string)
          zwNodeNeighborsStr :  (string)
          zwShowDumpDevToLog : false (bool)
          zwShowEnergyPollingUI : false (bool)
          zwShowMainUI : false (bool)
          zwShowManualModifyConfigParmUI : false (bool)
          zwShowPollingUI : false (bool)
          zwShowSubmitModelInfoUI : false (bool)
          zwShowWakeIntervalUI : false (bool)
id : 1338764719
lastChanged : 2022-06-19 05:01:06
lastSuccessfulComm : 2022-06-19 05:01:06
model : Multi Sensor (HSM200)
name : Family Room - Temperature
onState : None
ownerProps : com.perceptiveautomation.indigoplugin.zwave : (dict)
     SensorUnits : 2 (integer)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     address : 35 (integer)
     disableStatusLogging : false (bool)
     indigoObjVersion : 10 (integer)
     modelNameAndFirmware : Multi Sensor (HSM200), firmware 2.03 (string)
     preferredTempSensorUnits : 2 (string)
     propsPushTickler : 12 (string)
     tempAlwaysFalse : false (bool)
     userEnergyPollingEnabled : false (bool)
     userPollInterval :  (string)
     userPollingEnabled : false (bool)
     userWakeInterval :  (string)
     version : 2.03 (string)
     zwAssociationsMapStr :  (string)
     zwClassCmdBase : 0 (integer)
     zwDevSubIndex : 1 (integer)
     zwEncryptionStatusStr :  (string)
     zwManufactureId : 12 (integer)
     zwManufactureName : HomeSeer (string)
     zwModelId : 262145 (integer)
     zwModelName : Multi Sensor (HSM200) (string)
     zwNodeNeighborsStr :  (string)
     zwShowDumpDevToLog : false (bool)
     zwShowEnergyPollingUI : false (bool)
     zwShowMainUI : false (bool)
     zwShowManualModifyConfigParmUI : false (bool)
     zwShowPollingUI : false (bool)
     zwShowSubmitModelInfoUI : false (bool)
     zwShowWakeIntervalUI : false (bool)
pluginId : com.perceptiveautomation.indigoplugin.zwave
pluginProps : emptyDict : (dict)
protocol : ZWave
remoteDisplay : True
sensorValue : 78.2
sharedProps : com.indigodomo.indigoserver : (dict)
states : States : (dict)
     sensorValue : 78.200000 (real)
     sensorValue.ui : 78.2 °F (string)
subModel : Temperature,ui=Temperature
subType : Temperature
supportsAllLightsOnOff : False
supportsAllOff : False
supportsOnState : False
supportsSensorValue : True
supportsStatusRequest : True
version : 2.03

Posted on
Sun Jun 19, 2022 6:34 am
howartp offline
Posts: 4469
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: File "plugin.py", line 141

@Matt is there a reason this device doesn’t contain zwClassCmdMapStr ?

Has this model not reported it at sync?


Sent from my iPhone using Tapatalk Pro

Posted on
Sun Jun 19, 2022 9:15 am
anyone offline
Posts: 68
Joined: Apr 03, 2011
Location: Norfolk, VA

Re: File "plugin.py", line 141

I probably should have sent the motion sensor device. It's a 3-in-1 sensor...I copied the temperature sensor. Also, all three (3) sensors report an error. The watcher was/is pointed to the Temperature sensor though. Let me know if anyone wants to details for the other sensor.

Code: Select all
Jun 19, 2022 at 8:00:46 AM
   Z-Wave                          received "Family Room - Motion Sensor" status update is off
   Z-Wave Watcher Error            Error in plugin execution ReceivedBroadcast:

  File "plugin.py", line 141, in zwaveCommandReceived
type: key zwClassCmdMapStr not found in dict

Jun 19, 2022 at 8:01:06 AM
   Z-Wave                          received "Family Room - Temperature" sensor update to 77.0 °F
   Z-Wave Watcher Error            Error in plugin execution ReceivedBroadcast:

  File "plugin.py", line 141, in zwaveCommandReceived
type: key zwClassCmdMapStr not found in dict

   Z-Wave                          received "Family Room - Luminance" sensor update to 12%
   Z-Wave Watcher Error            Error in plugin execution ReceivedBroadcast:

  File "plugin.py", line 141, in zwaveCommandReceived
type: key zwClassCmdMapStr not found in dict


Code: Select all
address : 35
allowOnStateChange : False
allowSensorValueChange : False
batteryLevel : None
buttonGroupCount : 0
configured : True
description : HomeSeer HSM200
deviceTypeId : zwOnOffSensorType
displayStateId : onOffState
displayStateImageSel : MotionSensorTripped
displayStateValRaw : True
displayStateValUi : on
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1452069802
globalProps : MetaProps : (dict)
     com.perceptiveautomation.indigoplugin.zwave : (dict)
          HasSetColorControllableLED : true (bool)
          SupportsOnState : true (bool)
          SupportsSensorValue : false (bool)
          SupportsStatusRequest : false (bool)
          address : 35 (integer)
          indigoObjVersion : 10 (integer)
          modelNameAndFirmware : Multi Sensor (HSM200), firmware 2.03 (string)
          propsPushTickler : 10 (string)
          tempAlwaysFalse : false (bool)
          userConfigVal001 : 10 (integer)
          userConfigVal003 : 60 (integer)
          userConfigVal004 : 60 (integer)
          userConfigVal005 : -60 (integer)
          userEnergyPollingEnabled : false (bool)
          userPollAfterActivity : true (bool)
          userPollInterval : 0 (integer)
          userPollingEnabled : true (bool)
          userWakeInterval : 60 (integer)
          version : 2.03 (string)
          zwAppVersMajor : 2 (integer)
          zwAppVersMinor : 3 (integer)
          zwAssociationsMap : (dict)
               g1 : (list)
                    Item : 1 (integer)
               g2 : (list)
          zwAssociationsMapStr : 1:[1] 2:[] (string)
          zwClassCmdBase : 0 (integer)
          zwClassCmdMap : (dict)
               c108 : 1 (integer)
               c112 : 1 (integer)
               c113 : 1 (integer)
               c114 : 1 (integer)
               c115 : 1 (integer)
               c119 : 1 (integer)
               c122 : 1 (integer)
               c133 : 1 (integer)
               c134 : 1 (integer)
               c159 : 1 (integer)
               c32 : 1 (integer)
               c38 : 2 (integer)
               c49 : 6 (integer)
               c51 : 1 (integer)
               c85 : 1 (integer)
               c89 : 1 (integer)
               c90 : 1 (integer)
               c94 : 1 (integer)
          zwClassCmdMapStr : 20v1 5Ev1 71v1 31v6 33v1 26v2 72v1 86v1 59v1 85v1 70v1 77v1 5Av1 7Av1 73v1 9Fv1 55v1 6Cv1 (string)
          zwClassIds : (list)
               Item : 4 (integer)
               Item : 7 (integer)
               Item : 1 (integer)
          zwClassInstanceCountMap : (dict)
          zwClassInstanceCountMapStr : - none - (string)
          zwClassName : Notification Sensor (string)
          zwConfigVals : (dict)
               p1 : 10 (integer)
               p3 : 60 (integer)
               p4 : 60 (integer)
               p5 : -60 (integer)
          zwConfigValsStr : 1:10 4:60 5:-60 3:60 (string)
          zwDevSubIndex : 0 (integer)
          zwEncryptClassCmdMap : (dict)
          zwEncryptClassCmdMapStr : - none - (string)
          zwEncryptionStatusStr : Not Supported (string)
          zwEndpointClassMap : (dict)
          zwEndpointClassMapStr : - none - (string)
          zwEndpointDevTypeMap : (dict)
          zwEndpointDevTypeMapStr : - none - (string)
          zwFeatureListStr : routing, beaming (string)
          zwLibType : 3 (integer)
          zwManufactureId : 12 (integer)
          zwManufactureName : HomeSeer (string)
          zwModelDefnVers : 2 (integer)
          zwModelId : 262145 (integer)
          zwModelName : Multi Sensor (HSM200) (string)
          zwNodeNeighbors : (list)
               Item : 3 (integer)
               Item : 13 (integer)
               Item : 14 (integer)
               Item : 15 (integer)
               Item : 26 (integer)
               Item : 51 (integer)
          zwNodeNeighborsStr : 3, 13, 14, 15, 26, 51 (string)
          zwProtoVersMajor : 6 (integer)
          zwProtoVersMinor : 1 (integer)
          zwShowDumpDevToLog : true (bool)
          zwShowEnergyPollingUI : false (bool)
          zwShowMainUI : true (bool)
          zwShowManualModifyConfigParmUI : false (bool)
          zwShowPollingUI : false (bool)
          zwShowSubmitModelInfoUI : false (bool)
          zwShowWakeIntervalUI : false (bool)
          zwWakeInterval : 0 (integer)
id : 477366469
lastChanged : 2022-06-19 10:18:04
lastSuccessfulComm : 2022-06-19 10:18:04
model : Multi Sensor (HSM200)
name : Family Room - Motion Sensor
onState : True
ownerProps : com.perceptiveautomation.indigoplugin.zwave : (dict)
     HasSetColorControllableLED : true (bool)
     SupportsOnState : true (bool)
     SupportsSensorValue : false (bool)
     SupportsStatusRequest : false (bool)
     address : 35 (integer)
     indigoObjVersion : 10 (integer)
     modelNameAndFirmware : Multi Sensor (HSM200), firmware 2.03 (string)
     propsPushTickler : 10 (string)
     tempAlwaysFalse : false (bool)
     userConfigVal001 : 10 (integer)
     userConfigVal003 : 60 (integer)
     userConfigVal004 : 60 (integer)
     userConfigVal005 : -60 (integer)
     userEnergyPollingEnabled : false (bool)
     userPollAfterActivity : true (bool)
     userPollInterval : 0 (integer)
     userPollingEnabled : true (bool)
     userWakeInterval : 60 (integer)
     version : 2.03 (string)
     zwAppVersMajor : 2 (integer)
     zwAppVersMinor : 3 (integer)
     zwAssociationsMap : (dict)
          g1 : (list)
               Item : 1 (integer)
          g2 : (list)
     zwAssociationsMapStr : 1:[1] 2:[] (string)
     zwClassCmdBase : 0 (integer)
     zwClassCmdMap : (dict)
          c108 : 1 (integer)
          c112 : 1 (integer)
          c113 : 1 (integer)
          c114 : 1 (integer)
          c115 : 1 (integer)
          c119 : 1 (integer)
          c122 : 1 (integer)
          c133 : 1 (integer)
          c134 : 1 (integer)
          c159 : 1 (integer)
          c32 : 1 (integer)
          c38 : 2 (integer)
          c49 : 6 (integer)
          c51 : 1 (integer)
          c85 : 1 (integer)
          c89 : 1 (integer)
          c90 : 1 (integer)
          c94 : 1 (integer)
     zwClassCmdMapStr : 20v1 5Ev1 71v1 31v6 33v1 26v2 72v1 86v1 59v1 85v1 70v1 77v1 5Av1 7Av1 73v1 9Fv1 55v1 6Cv1 (string)
     zwClassIds : (list)
          Item : 4 (integer)
          Item : 7 (integer)
          Item : 1 (integer)
     zwClassInstanceCountMap : (dict)
     zwClassInstanceCountMapStr : - none - (string)
     zwClassName : Notification Sensor (string)
     zwConfigVals : (dict)
          p1 : 10 (integer)
          p3 : 60 (integer)
          p4 : 60 (integer)
          p5 : -60 (integer)
     zwConfigValsStr : 1:10 4:60 5:-60 3:60 (string)
     zwDevSubIndex : 0 (integer)
     zwEncryptClassCmdMap : (dict)
     zwEncryptClassCmdMapStr : - none - (string)
     zwEncryptionStatusStr : Not Supported (string)
     zwEndpointClassMap : (dict)
     zwEndpointClassMapStr : - none - (string)
     zwEndpointDevTypeMap : (dict)
     zwEndpointDevTypeMapStr : - none - (string)
     zwFeatureListStr : routing, beaming (string)
     zwLibType : 3 (integer)
     zwManufactureId : 12 (integer)
     zwManufactureName : HomeSeer (string)
     zwModelDefnVers : 2 (integer)
     zwModelId : 262145 (integer)
     zwModelName : Multi Sensor (HSM200) (string)
     zwNodeNeighbors : (list)
          Item : 3 (integer)
          Item : 13 (integer)
          Item : 14 (integer)
          Item : 15 (integer)
          Item : 26 (integer)
          Item : 51 (integer)
     zwNodeNeighborsStr : 3, 13, 14, 15, 26, 51 (string)
     zwProtoVersMajor : 6 (integer)
     zwProtoVersMinor : 1 (integer)
     zwShowDumpDevToLog : true (bool)
     zwShowEnergyPollingUI : false (bool)
     zwShowMainUI : true (bool)
     zwShowManualModifyConfigParmUI : false (bool)
     zwShowPollingUI : false (bool)
     zwShowSubmitModelInfoUI : false (bool)
     zwShowWakeIntervalUI : false (bool)
     zwWakeInterval : 0 (integer)
pluginId : com.perceptiveautomation.indigoplugin.zwave
pluginProps : emptyDict : (dict)
protocol : ZWave
remoteDisplay : True
sensorValue : None
sharedProps : com.indigodomo.indigoserver : (dict)
states : States : (dict)
     onOffState : on (on/off bool)
subModel : Motion,ui=Motion Sensor
subType : Motion
supportsAllLightsOnOff : False
supportsAllOff : False
supportsOnState : True
supportsSensorValue : False
supportsStatusRequest : False
version : 2.03

Posted on
Sun Jun 19, 2022 11:36 am
howartp offline
Posts: 4469
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: File "plugin.py", line 141

Ah, I maybe need to identify the parent device of a multi/factory device.

I’ll have a look.


Sent from my iPhone using Tapatalk Pro

Posted on
Thu Jun 23, 2022 4:37 pm
matt (support) offline
Site Admin
User avatar
Posts: 21023
Joined: Jan 27, 2003
Location: Texas

Re: File "plugin.py", line 141

Yes, check to see if zwDevSubIndex is not 0, in which case a lot of the zw*** properties aren't included in the device.

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron