errors with plugin version 1.1.1

Posted on
Sat May 19, 2012 10:57 am
MarkM offline
Posts: 11
Joined: May 19, 2012

errors with plugin version 1.1.1

I downloaded version 1.1.1 of the RFXCON plugin. Is seems to install and start, but then I get the following in the Indigo event log. Is there any other documentation I need? Note also that the configuration screen looks different that that in the documentation PDF.

May 19, 2012 9:44:41 AM
Enabling plugin "RFXCOM 1.1.1"
Starting plugin "RFXCOM 1.1.1" (pid 2643)
Plugin "RFXCOM" connected
Plugin "RFXCOM 1.1.1" started
RFXCOM initializing communication on port /dev/cu.usbserial-02VEUUQ5 at speed 38400
RFXCOM connected to RFXrec 433.92 MHz, firmware version 39
RFXCOM currently enabled receiver protocols: La Crosse, Mertik, ATI, Oregon Scientific, HomeEasy EU, AC, ARC, X10

May 19, 2012 9:45:07 AM
RFXCOM Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 222, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1390, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 392, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1074, in showHumidity
<type 'exceptions.NameError'>: global name 'devicetype' is not defined

RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
RFXCOM initializing communication on port /dev/cu.usbserial-02VEUUQ5 at speed 38400
RFXCOM connected to RFXrec 433.92 MHz, firmware version 39
RFXCOM currently enabled receiver protocols: La Crosse, Mertik, ATI, Oregon Scientific, HomeEasy EU, AC, ARC, X10
RFXCOM enabling receiver protocols: Hideki, LightwaveRF
RFXCOM stored changed settings into non-volatile memory
RFXCOM Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 222, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1390, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 392, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1074, in showHumidity
<type 'exceptions.NameError'>: global name 'devicetype' is not defined

RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Sun May 20, 2012 1:29 am
RJdeKok offline
Posts: 125
Joined: Mar 27, 2012

Re: errors with plugin version 1.1.1

Indeed, there was a bug in the showHumidity part. It only occurs if the sensor is NOT defined in the device list.
An update is available here (v1.1.2) : http://www.rjdekok.nl/downloads/RFXCOM.indigoPlugin.zip

Posted on
Mon May 28, 2012 5:53 pm
MarkM offline
Posts: 11
Joined: May 19, 2012

errors with plugin version 1.1.2 and La Crosse TX7NU t / h

I am making some progress with the RFXCOM. I installed the Indigo RFXCOM plugin version 1.1.2. It loads and I can detect signals from a La Crosse remote Thermo / Hygro model TX7NU. I run into some problems when I try to configure a plugin based device in Indigo.

From the event log, prior to adding the device, I can see unknown sensors logged as an error. This reveals the device ID. From the event log:

Starting plugin "RFXCOM 1.1.2" (pid 852)
Plugin "RFXCOM" connected
Plugin "RFXCOM 1.1.2" started
RFXCOM initializing communication on port /dev/cu.usbserial-02VEUUQ5 at speed 38400
RFXCOM connected to RFXrec 433.92 MHz, firmware version 39
RFXCOM currently enabled receiver protocols: La Crosse
RFXCOM enabling undecoded packet displaying
RFXCOM Error unknown device detected (id = 65, type = 80). Select a Temperature sensor from the list of devices
RFXCOM Error unknown device detected (id = 146, type = 81). Select a Humidity sensor from the list of devices

I add the first device using id 65 as a temperature / humidity device and it now shows and reports the temp correctly in Indigo. It does not report the humidity and the event log still shows the unknown device message for the humidity device. If I add another device as humidity only with id 146 Indigo will show the humidity, but I start getting error messages in the Indigo log file.


May 28, 2012 4:47:05 PM
RFXCOM Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 222, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1390, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 392, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1072, in showHumidity
<type 'exceptions.NameError'>: global name 'humidity' is not defined

RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Seems like there is still some problems with the plugin. I would also prefer to be able to create a single Indigo device for both temperature and humidity reporting, and have the T/ H show in the Indigo home window device table under "state".

Thanks for the help with this - this looks like RFXCOM will be a great addition to my network.

Posted on
Mon May 28, 2012 7:39 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: errors with plugin version 1.1.2 and La Crosse TX7NU t /

What happens if you set the Device type for the id 65 device to be just a temperature (no humidity)? For my Oregon Scientific temp/humidity sensors it all comes in to a single device, but based on that Event Log it looks like for your La Crosse TX7NU it sends 2 unique packets out -- one for temp and one for humidity. That might just be the way that sensor works...

Image

Posted on
Mon May 28, 2012 9:01 pm
MarkM offline
Posts: 11
Joined: May 19, 2012

Re: errors with plugin version 1.1.1

I did set this up the Indigo devices (via plugin) to be temperature only devices since it appears the humidity data is transmitted separately under another id. Perhaps the device does indeed act as two devices - one for temperature and one for humidity. Even if I do create two devices for the two measurements, the plugin and Indigo still reports the errors for the process as posted earlier - this hopefully can be solved. It would be great if the plug-in could somehow create a virtual integrated device where I could input the two ids (one for temp, one for humidity) and have these blended into one Indigo device. I think of the sensor as one unit and would like to represent it in Indigo as such.

As an aside, I am really impressed with the consistency of the multiple La Crosse sensors I have tested. They report temps within 0.5 degrees of each other or often better, and humidity within 1 percent of each other. The four Venstar/Insteon thermostat devices I have been using to report temperature and humidity are much more widely dispersed in their reporting and I suspect not anywhere near as accurate.

Posted on
Tue May 29, 2012 2:47 pm
RJdeKok offline
Posts: 125
Joined: Mar 27, 2012

Re: errors with plugin version 1.1.1

Hi Mark,

Can you send me a part of the event log where I can see the data of both sensors?
Something like this?

RFXCOM Debug processing: 10 82 7 93 86 14 0 127 72 3 105 (0A 52 07 5D 56 0E 00 7F 48 03 69)
RFXCOM Debug Temp sensor 3670 now 12 degrees and 72 humidity.
RFXCOM Debug Temp sensor 3670 in list
RFXCOM Debug UpdateMinMax state temperature value 12.7
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug UpdateMinMax state humidity value 72
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug ++++++++++++++
RFXCOM Debug processing: 16 86 4 94 157 22 0 157 0 0 0 10 0 103 0 103 105 (10 56 04 5E 9D 16 00 9D 00 00 00 0A 00 67 00 67 69)
RFXCOM Debug Wind sensor 5789 direction 157 avgSpeed 0.00 gust 1.00.
RFXCOM Debug Wind sensor 5789 direction 157 avgSpeed 0.00 gust 3.60.
RFXCOM Error unknown device detected (id = 5789, type = 86). Select a Wind meter from the list of devices
RFXCOM Debug ++++++++++++++

Posted on
Tue May 29, 2012 6:10 pm
MarkM offline
Posts: 11
Joined: May 19, 2012

Re: errors with plugin version 1.1.1

Here is the Indigo event log with the plugin debug logging enabled. I have three La Crosse TX7NU 433mhz thermo/hygro units transmitting in the area. I have configured 3 Indigo temperature devices and three separate humidity devices in Indigo. Initially, I have the there humidity devices disabled.

Enabling plugin "RFXCOM 1.1.2"
Starting plugin "RFXCOM 1.1.2" (pid 12171)
Plugin "RFXCOM" connected
Plugin "RFXCOM 1.1.2" started
RFXCOM Debug RFXCOM startup called
RFXCOM Debug startup called
RFXCOM Debug <<-- entering deviceStartComm: La Crosse S1 (399223139 - Temperature)
RFXCOM Debug deviceStart called. Adding device La Crosse S1, type: Temperature
RFXCOM Debug Adding sensor 65.
RFXCOM Debug <<-- entering deviceStartComm: La Crosse S2 (731757381 - Temperature)
RFXCOM Debug deviceStart called. Adding device La Crosse S2, type: Temperature
RFXCOM Debug Adding sensor 39.
RFXCOM Debug <<-- entering deviceStartComm: La Crosse S3 (1714349767 - Temperature)
RFXCOM Debug deviceStart called. Adding device La Crosse S3, type: Temperature
RFXCOM Debug Adding sensor 53.
RFXCOM Debug runConcurrentThread called
RFXCOM Debug startComm called
RFXCOM Debug getConfiguration start
RFXCOM initializing communication on port /dev/cu.usbserial-02VEUUQ5 at speed 38400
RFXCOM Debug serial port opened
RFXCOM Debug send reset cmd: 13 0 0 0 0 0 0 0 0 0 0 0 0 0 (0D 00 00 00 00 00 00 00 00 00 00 00 00 00)
RFXCOM Debug send init cmd: 13 0 0 1 2 0 0 0 0 0 0 0 0 0 (0D 00 00 01 02 00 00 00 00 00 00 00 00 00)
RFXCOM Debug rcvd init reply: 13 1 0 1 2 82 39 0 79 111 0 0 0 0 (0D 01 00 01 02 52 27 00 4F 6F 00 00 00 00)
RFXCOM connected to RFXrec 433.92 MHz, firmware version 39
RFXCOM currently enabled receiver protocols: La Crosse, Hideki, LightwaveRF, Mertik, ATI, Oregon Scientific, HomeEasy EU, AC, ARC, X10
RFXCOM enabling undecoded packet displaying
RFXCOM Debug send set mode cmd: 13 0 0 2 3 82 0 128 79 111 0 0 0 0 (0D 00 00 02 03 52 00 80 4F 6F 00 00 00 00)
RFXCOM Debug rcvd set mode reply: 13 1 0 2 3 82 39 128 79 111 0 0 0 0 (0D 01 00 02 03 52 27 80 4F 6F 00 00 00 00)
RFXCOM Debug processing: 8 80 5 0 65 0 0 230 121 (08 50 05 00 41 00 00 E6 79)
RFXCOM Debug Temp sensor 65 now 73 degrees and 0 humidity.
RFXCOM Debug Temp sensor 65 in list
RFXCOM Debug UpdateMinMax state temperature value 73.0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug UpdateMinMax state humidity value 0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug ++++++++++++++
RFXCOM Debug processing: 8 81 1 1 65 0 45 1 121 (08 51 01 01 41 00 2D 01 79)
RFXCOM Debug Humidity sensor 146 now 45 humidity.
RFXCOM Error unknown device detected (id = 146, type = 81). Select a Humidity sensor from the list of devices
RFXCOM Debug ++++++++++++++
RFXCOM Debug processing: 8 80 5 2 39 0 0 230 121 (08 50 05 02 27 00 00 E6 79)
RFXCOM Debug Temp sensor 39 now 73 degrees and 0 humidity.
RFXCOM Debug Temp sensor 39 in list
RFXCOM Debug UpdateMinMax state temperature value 73.0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug UpdateMinMax state humidity value 0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug ++++++++++++++
RFXCOM Debug processing: 8 81 1 3 39 0 46 1 121 (08 51 01 03 27 00 2E 01 79)
RFXCOM Debug Humidity sensor 120 now 46 humidity.
RFXCOM Error unknown device detected (id = 120, type = 81). Select a Humidity sensor from the list of devices
RFXCOM Debug ++++++++++++++
RFXCOM Debug <<-- entering deviceUpdated: La Crosse S1 H
RFXCOM Debug deviceStop called. Device La Crosse S1 H not found in list.
RFXCOM Debug deviceStart called. Adding device La Crosse S1 H, type: Humidity
RFXCOM Debug Adding sensor 146.

May 29, 2012 5:04:59 PM
RFXCOM Debug processing: 8 80 5 4 53 0 0 229 121 (08 50 05 04 35 00 00 E5 79)
RFXCOM Debug Temp sensor 53 now 73 degrees and 0 humidity.
RFXCOM Debug Temp sensor 53 in list
RFXCOM Debug UpdateMinMax state temperature value 73.0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug UpdateMinMax state humidity value 0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug ++++++++++++++
RFXCOM Debug processing: 8 81 1 5 53 0 46 1 121 (08 51 01 05 35 00 2E 01 79)
RFXCOM Debug Humidity sensor 134 now 46 humidity.
RFXCOM Error unknown device detected (id = 134, type = 81). Select a Humidity sensor from the list of devices
RFXCOM Debug ++++++++++++++


Now I enable on the the humidity devices with ID 146... note the errors that start to occur

May 29, 2012 5:05:16 PM
RFXCOM Debug processing: 8 80 5 6 65 0 0 230 121 (08 50 05 06 41 00 00 E6 79)
RFXCOM Debug Temp sensor 65 now 73 degrees and 0 humidity.
RFXCOM Debug Temp sensor 65 in list
RFXCOM Debug UpdateMinMax state temperature value 73.0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug UpdateMinMax state humidity value 0
RFXCOM Debug check if new day: last date 2012/05/29, new date 2012/05/29
RFXCOM Debug ++++++++++++++
RFXCOM Debug processing: 8 81 1 7 65 0 45 1 121 (08 51 01 07 41 00 2D 01 79)
RFXCOM Debug Humidity sensor 146 now 45 humidity.
RFXCOM Debug Humidity sensor 146 in list
RFXCOM Debug UpdateMinMax state humidity value 45
RFXCOM Debug check if new day: last date 2012/05/28, new date 2012/05/29
RFXCOM Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 222, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1390, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 392, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1072, in showHumidity
<type 'exceptions.NameError'>: global name 'humidity' is not defined

RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Please let me know if you need any additional information.

Another question - maybe for Indigo - is it possible to have these plugin based devices viewable in Indigo Remote also? Does not seem to be an option.

Posted on
Tue May 29, 2012 6:33 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: errors with plugin version 1.1.1

MarkM wrote:
Another question - maybe for Indigo - is it possible to have these plugin based devices viewable in Indigo Remote also? Does not seem to be an option.

Yes, you can create Control Pages with controls that inspect individual device states (like humidity and thermostat) as text (or images for on/off states). We are looking into additional UI support that won't require the user to create Control Pages as well, but that won't be in Indigo 5.

Image

Posted on
Tue May 29, 2012 6:42 pm
MarkM offline
Posts: 11
Joined: May 19, 2012

Re: errors with plugin version 1.1.1

Thanks Matt - that is what I will do.

Posted on
Wed May 30, 2012 6:14 am
johnpolasek offline
Posts: 911
Joined: Aug 05, 2011
Location: Aggieland, Texas

Re: errors with plugin version 1.1.1

matt (support) wrote:
Yes, you can create Control Pages with controls that inspect individual device states (like humidity and thermostat) as text (or images for on/off states). We are looking into additional UI support that won't require the user to create Control Pages as well, but that won't be in Indigo 5.


I also created variables for the critical state items (indoor/outdoor temperatures, humidity, windspeed, rain total and rate) and use the action collection plugin to update these variables once per minute for logging purposes. The variables are accessible from Touch (and I believe from the web viewer as well).

Posted on
Fri Jun 01, 2012 3:50 pm
MarkM offline
Posts: 11
Joined: May 19, 2012

Re: errors with plugin version 1.1.1

I am making progress with RFXCOM and am testing various brands of 433mhz temperature and humidity sensors to assess compatibility and accuracy and will report this soon.

For the La Crosse TX7NU temp and humidity sensors I still have some remaining issues with the RFXCOM plugin version 1.1.2. As I discovered the La Crosse sensors act like two different sensors transmitting temperature and humidity data using two different device IDs. I have configured an Indigo temperature only device for the first ID and this works fine. I have configured a Indigo humidity only device for the second ID, and there are two remaining problems.

Problem 1: In the Indigo home page with the table of devices, the reported humidity correctly appears along with other data in the scroll box at the bottom of the window, but the value of the humidity does not appear in the "State" column of the table. This might be something in Indigo code. Note that the temperature and range appears for the temperature device and also for other Oregon Scientific devices in the table.

Problem 2. Although it appears to be collecting and reporting data correctly, the plugin posts repeated errors to the Indigo event log as follows...

RFXCOM Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 222, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1390, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 392, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1072, in showHumidity
<type 'exceptions.NameError'>: global name 'humidity' is not defined

RFXCOM Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


It would also be nice if the plugin could be configured to merge the two ids together into one single temp and humidity device, but I realize that this is working around the nature of the La Crosse sensor. I am also testing some Oregon Scientific sensors and they report both parameters on the one id.

Thanks, Mark

Posted on
Mon Jun 04, 2012 3:11 pm
RJdeKok offline
Posts: 125
Joined: Mar 27, 2012

Re: errors with plugin version 1.1.1

Hi Mark,

I asked Jay to put V1.1.4 live.
In this version the bug is fixed.
you can also download it here
Thanks for the report

Posted on
Mon Jun 04, 2012 4:54 pm
MarkM offline
Posts: 11
Joined: May 19, 2012

Re: errors with plugin version 1.1.1

Thanks! I downloaded and installed RFXCOM plugin version 1.1.4. This addressed the two issues reported above.

I do prefer the way the Oregon Scientific Model THGR810 433mhz sensors report temperature and humidity using a single device ID rather than the way La Crosse transmits on two different IDs. Perhaps I should standardize on the Oregon Scientific units.

Does anyone have any experience to share with various brands of humidity and temperature sensors? I am interested in any experience you might have with reliability, range, battery life, and accuracy.

Posted on
Tue Jun 05, 2012 2:49 pm
jay (support) offline
Site Admin
User avatar
Posts: 18201
Joined: Mar 19, 2008
Location: Austin, Texas

Re: errors with plugin version 1.1.1

Updated in the File Library.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: Baidu [Spider] and 18 guests