RFX 2.13/2.12 error coming from 2.11
-
- Posts: 65
- Joined: Fri May 12, 2017 2:13 am
RFX 2.13/2.12 error coming from 2.11
Hi I just upgraded from 2.11 to 2.13 and get the following error:
Is it possible to determine which sensor is causing this issue, just removing and re-adding is not really an option with the number of triggers related to these sensors.
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2285, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1406, in handleRFXSensor
NameError: global name 'tUnits' is not defined
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Is it possible to determine which sensor is causing this issue, just removing and re-adding is not really an option with the number of triggers related to these sensors.
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2285, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1406, in handleRFXSensor
NameError: global name 'tUnits' is not defined
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
- jay (support)
- Site Admin
- Posts: 18411
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: RFX 2.13/2.12 error coming from 2.11
It's a bug in the code that added the temperature unit type (F or C) to the display (tUnits is used on line 1406 without first being defined). I'm not very familiar with this plugin so I've filed an issue for the developer that added that capability a few releases back. Hopefully he can get a fix done soon.
Re: RFX 2.13/2.12 error coming from 2.11
Jay,
that was my fault.
I pushed v .14 to GitHub with a fix. In the past Matt then loaded it to the plugin store.
https://github.com/kw123/rfxcom-plugin
Karl
that was my fault.
I pushed v .14 to GitHub with a fix. In the past Matt then loaded it to the plugin store.
https://github.com/kw123/rfxcom-plugin
Karl
svalue = (ord(data[5])*256)+ord(data[6])
tUnits = self.plugin.unitsTemperature # <<<<< added line 1326
self.plugin.debugLog(u"RFXSensor %d with subtype %d and value %d" % (sensor,subtype,svalue))
- matt (support)
- Site Admin
- Posts: 21476
- Joined: Mon Jan 27, 2003 1:17 pm
- Location: Texas
- Contact:
Re: RFX 2.13/2.12 error coming from 2.11
Thanks for the prompt fix Karl. I've published the new version (2.1.14) in the plugin store.
-
- Posts: 65
- Joined: Fri May 12, 2017 2:13 am
Re: RFX 2.13/2.12 error coming from 2.11
All,
Thx, but i have now the following error:
10 Sep 2018 at 17:17:11
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1407, in handleRFXSensor
UnboundLocalError: local variable 'humid' referenced before assignment
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Thx, but i have now the following error:
10 Sep 2018 at 17:17:11
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1407, in handleRFXSensor
UnboundLocalError: local variable 'humid' referenced before assignment
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
-
- Posts: 65
- Joined: Fri May 12, 2017 2:13 am
Re: RFX 2.13/2.12 error coming from 2.11
after switching off the Hum sensor I get the following error:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1415, in handleRFXSensor
KeyError: key sensorValueType not found in dict
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1415, in handleRFXSensor
KeyError: key sensorValueType not found in dict
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Re: RFX 2.13/2.12 error coming from 2.11
what sensor type have you selected in device edit?
Re: RFX 2.13/2.12 error coming from 2.11
I believe I have fixed it ...The "RFXCOM" sensor type looks like an older version. Suggest to use "temperature" sensor type instead.
created a pull request for Matt. /Jay. version .15
Karl
also changed the refresh of the sensor internal storage to included device edit / save,
just in case eg sensor type was changed. Before after restart or dev.state update the sensor internal storage (dict) was refreshed not after device edit.
created a pull request for Matt. /Jay. version .15
Karl
also changed the refresh of the sensor internal storage to included device edit / save,
just in case eg sensor type was changed. Before after restart or dev.state update the sensor internal storage (dict) was refreshed not after device edit.
-
- Posts: 65
- Joined: Fri May 12, 2017 2:13 am
Re: RFX 2.13/2.12 error coming from 2.11
Hi Karl,
I use RFX-sensor for the RFX-Temp sensors and temp sensor for the Oregon temp sensors
Using temp sensor for a RFX-sensor doesn't work.
I use RFX-sensor for the RFX-Temp sensors and temp sensor for the Oregon temp sensors
Using temp sensor for a RFX-sensor doesn't work.
Re: RFX 2.13/2.12 error coming from 2.11
Ok. I tried my Oregon sensors with both options and they work Don’t have rfx sensors.marcel langelaan wrote:Hi Karl,
I use RFX-sensor for the RFX-Temp sensors and temp sensor for the Oregon temp sensors
Using temp sensor for a RFX-sensor doesn't work.
Sent from my iPhone using Tapatalk
Re: RFX 2.13/2.12 error coming from 2.11
marcel,
do you want to try the new version? its on GitHub/kw123
do you want to try the new version? its on GitHub/kw123
-
- Posts: 65
- Joined: Fri May 12, 2017 2:13 am
Re: RFX 2.13/2.12 error coming from 2.11
Hi sorry for the late response, still an issue, see below.
- Switching off (disable) the RFX-temp sensors results in no error.
- Selecting Temp sensor iso RFX sensor gives a value 0 degrees (not working). Other way around (Oregon sensor) selected as RFX sensor works.
12 Sep 2018 at 20:45:08
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2294, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1417, in handleRFXSensor
KeyError: key sensorValueType not found in dict
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
- Switching off (disable) the RFX-temp sensors results in no error.
- Selecting Temp sensor iso RFX sensor gives a value 0 degrees (not working). Other way around (Oregon sensor) selected as RFX sensor works.
12 Sep 2018 at 20:45:08
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2294, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1417, in handleRFXSensor
KeyError: key sensorValueType not found in dict
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Re: RFX 2.13/2.12 error coming from 2.11
reposted the same version.. it should be fixed now
just some background .. when I switch my sensor to and RFXcom sensor from temperature type , it still has the property defined, so the check turns out ok. I guess in your case it has always been an RFXcom and it does not have that property ..
just some background .. when I switch my sensor to and RFXcom sensor from temperature type , it still has the property defined, so the check turns out ok. I guess in your case it has always been an RFXcom and it does not have that property ..
-
- Posts: 65
- Joined: Fri May 12, 2017 2:13 am
Re: RFX 2.13/2.12 error coming from 2.11
Hi,
The version i have downloaded from .... is 2.14, yesterday the number was 2.15 => have i downloaded the right version?
When its handy to actual see whats happening on my system sent an email and i give you access to the system.
Still an issue:
13 Sep 2018 at 15:58:05
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1415, in handleRFXSensor
KeyError: key sensorValueType not found in dict
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Trigger SO Office TEMP virtual
Z-Wave sent "SO HC Valve" on
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1418, in handleRFXSensor
NameError: global name 'tDigits' is not defined
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
The version i have downloaded from .... is 2.14, yesterday the number was 2.15 => have i downloaded the right version?
When its handy to actual see whats happening on my system sent an email and i give you access to the system.
Still an issue:
13 Sep 2018 at 15:58:05
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1415, in handleRFXSensor
KeyError: key sensorValueType not found in dict
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Trigger SO Office TEMP virtual
Z-Wave sent "SO HC Valve" on
RFXCOM Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2291, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 772, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1418, in handleRFXSensor
NameError: global name 'tDigits' is not defined
RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Re: RFX 2.13/2.12 error coming from 2.11
the version I posted on https://github.com/kw123/rfxcom-plugin is .15 that one should work
it is not yet on the indigo store,
Karl
it is not yet on the indigo store,
Karl