Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
RFXtrx
-
spidersprog
- Posts: 7
- Joined: Tue Mar 13, 2012 1:07 pm
Re: RFXtrx
Ah OK
Turns out I was doing everything right except my unit was a little to far away from the trx for the learn function.
Moved it closer paired them up and now I've moved it back to its original location and it woks perfectly
Thanks again
Turns out I was doing everything right except my unit was a little to far away from the trx for the learn function.
Moved it closer paired them up and now I've moved it back to its original location and it woks perfectly
Thanks again
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: RFXtrx
New version published in the first post.
Best regards, Walter
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: RFXtrx
Got it delivered today, totally impressive! It worked right away with Nexa, Koppla, GAO and UPM, range seems very good. Tried your plugin and it worked like a charm! One minor thing is that with the UPM temp sensor WT450 you show 0.1 degree lower than the display. Could be rounding I suppose.krambriw wrote:Hi, good to hear
Well, I am not sure, we will see. It works with Oregon I have seen, someone in my area must have such a thing because I get a lot of readings all the time."Work with the UPM wind sensor you added to the NetHomeServer plugin last year"
Anyway, you still have the NetHomeServer, I have that too , and all are working fine in parallel, all connected to EG
Yes, correctI guess for Nexa, you use the ARC protocol right?
Yes, that's the onewhat about self learning? Is that the AC protocol?
Best regards, Walter
I also tried the UPM wind meter and it shows up in EG as a WT450H, with the windspeed (-50 for no wind) in the temp field and the wind direction in the humidity field. If I recall, that was exactly the same in the NetHomeServer plugin, you could probably just copy/paste the code. I'd be happy to test it!
Great work as always Walter!
Cheers,
Michael
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: RFXtrx
Hi Mickelin,
Happy to hear you got everything working. Yes it is very impressive. With the latest plugin (I assume you are using the latest) you can try an interesting "stress-test": Send a command from EG at the same time as you press a button on a remote and you will interestingly see that most of the time, there is no collision at all. That's really good (you can enable debug in the plugin to see more details if you are interested)
Bets regards, Walter
Happy to hear you got everything working. Yes it is very impressive. With the latest plugin (I assume you are using the latest) you can try an interesting "stress-test": Send a command from EG at the same time as you press a button on a remote and you will interestingly see that most of the time, there is no collision at all. That's really good (you can enable debug in the plugin to see more details if you are interested)
Funny, I just had a discussion with RFXCOM about this issue. They made a change to the firmware to improve the rounding and it is better in the new version (not released yet).One minor thing is that with the UPM temp sensor WT450 you show 0.1 degree lower than the display. Could be rounding I suppose.
I will dive into that old code and see how this can be fixed. Are all the data otherwise correctly logged as before, wind speed and direction?You could probably just copy/paste the code. I'd be happy to test it!
Bets regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: RFXtrx
Yeah, I noticed the 0.1 diff also in RFXmgr, so clearly their issue. Mine was delivered with firmware 32, whereas the latest on their site is 31, so I guess no fix until 33 at the earliest.
I re-read the old NetHomeServer thread and from my very limited testing last night, it seems the values provided via RFXtrx for windspeed and direction are exactly the same as the ones Jostein mapped out. I will verify this with more structured testing in the weekend.
Cheers,
Michael
I re-read the old NetHomeServer thread and from my very limited testing last night, it seems the values provided via RFXtrx for windspeed and direction are exactly the same as the ones Jostein mapped out. I will verify this with more structured testing in the weekend.
Cheers,
Michael
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: RFXtrx
Hi Michael,
When you are testing, first enable debug in the plugin and log some messages from the wind sensor so that I can see how the data looks like when it is coming from a wind sensor.
I think anyway that a new firmware version might be needed because with current implementation it is not possible for me to see the difference between a wind/rain sensor and a temp/hum sensor.
The way to do it is in the firmware to detect house code 10 and device code 2 and 3 which are reserved for wind and rain sensors.
Best regards, Walter
When you are testing, first enable debug in the plugin and log some messages from the wind sensor so that I can see how the data looks like when it is coming from a wind sensor.
I think anyway that a new firmware version might be needed because with current implementation it is not possible for me to see the difference between a wind/rain sensor and a temp/hum sensor.
The way to do it is in the firmware to detect house code 10 and device code 2 and 3 which are reserved for wind and rain sensors.
Best regards, Walter
Code: Select all
/*
* My current understanding of the UPM data message:
* The message consists of four bytes.
*
* c = House Code (0 - 15)
* d = Device Code (1 - 4) ?
* p = Primary value - Temperature/Rain/Wind speed value (low bits)
* P = Primary value - Temperature/Rain/Wind speed value (high bits)
* s = Secondary value - Humidity/Wind direction (low bits)
* S = Secondary value - Humidity/Wind direction (high bits)
* b = Low battery indication
* x = ?
* y = ?
* z = ?
* C = Some kind of checksum
*
* If HouseCode = 10 and deviceCode = 2, then p and P is Wind speed
* and h and H is Wind direction
*
* If HouseCode = 10 and deviceCode = 3, then p and P is rain
*
* ____Byte 0_____ ____Byte 1_____ ____Byte 2_____ ____Byte 3_____ _Nib4__
* 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 3 2 1 0
* x x x x c c c c d d y y b S S S s s s s s P P P p p p p p p p p z z C C
*
* Temp (C) = RawValue * 0.0625 - 50
* Rain (total mm) = RawValue * 0,7
* Wind Speed (mph)= RawValue (* 1/3,6 for km/h)
* Humidity (%) = RawValue * 0.5
* Wind direction (deg) = RawValue * 22,5
*
*/
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: RFXtrx
Can you believe the guys at RFXCOM just sent me an updated firmware 34 with support for the UPM wind sensor without me even asking for it? Totally amazing! Proactive customer support at its best.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: RFXtrx
Yes I know, they are really professional
Is it working?
Best regards, Walter
Is it working?
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: RFXtrx
I'm away on a business trip, won't be able to test until I get home tomorrow night. I'll post feedback and test results then.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: RFXtrx
Hi Michael, when you are back and starting the testing, you should use this pre-release version of the plugin. I have added support for UPM/ESIC wind & rain sensors to match with the RFXtrx v34 firmware.
Best regards and good luck!
Walter
Best regards and good luck!
Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: RFXtrx
Just got home and too tired to do much tonight, but had to do a quick test. FW 34 works fine and picks up the wind sensor. So does your test version of the plugin, but I'm not sure about the direction values. I'll verify with a compass tomorrow.
You now show the same temp as the display, but the RFXmngr is still 0.1 below. Do you also see that?
You now show the same temp as the display, but the RFXmngr is still 0.1 below. Do you also see that?
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: RFXtrx
Have you tried with the latest RFXmngr?
Now go to sleep
BR Walter
Now go to sleep
BR Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: RFXtrx
OK, did some testing and while not yet perfect, it looks promising.
I tested the wind direction sensor using a compass for calibration. Both RFXmngr and EG pick it up and display the same values, albeit not the correct one...
Compass RFXmngr EG
-------------------------------------------------------
0 degrees North 675 N 675
90 degrees East 180 S 180
180 degrees South 360 N / 315 NW 315
270 degrees West 495 N 495
Strangely, the south position is sometimes reported as 360, sometimes as 315. I haven't looked at your code, but I expect that you are just using the values that cone from the device, right? So the adjustments need to be made in the firmware. I'll report my findings also to RFXCOM.
The rounding diff still occurs sometimes, but I don't think the sensor is accurate to 0.1 anyway, so no big deal.
I'll figure out a way test the wind speed next.
Cheers,
Michael
I tested the wind direction sensor using a compass for calibration. Both RFXmngr and EG pick it up and display the same values, albeit not the correct one...
Compass RFXmngr EG
-------------------------------------------------------
0 degrees North 675 N 675
90 degrees East 180 S 180
180 degrees South 360 N / 315 NW 315
270 degrees West 495 N 495
Strangely, the south position is sometimes reported as 360, sometimes as 315. I haven't looked at your code, but I expect that you are just using the values that cone from the device, right? So the adjustments need to be made in the firmware. I'll report my findings also to RFXCOM.
The rounding diff still occurs sometimes, but I don't think the sensor is accurate to 0.1 anyway, so no big deal.
I'll figure out a way test the wind speed next.
Cheers,
Michael
Re: RFXtrx
Bert at RFXCOM sent me a new firmware 35 and it shows correct wind direction now, and so does your plugin! Great. It would be nice if you also showed the direction in letters (N, NNE, NE, ENE, E, ESE, SE etc), not just the degrees.
I went to Clas Ohlson and bought the station today, so I will be able to test also the wind speed and the rain guage.
Great work so far!
I went to Clas Ohlson and bought the station today, so I will be able to test also the wind speed and the rain guage.
Great work so far!
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: RFXtrx
Michael,
Could you make some table showing what values you get from the plugin for the various wind directions (best also if you have the debug message there as well for each direction)?
Also as you remember, for the NetHome plugin we did some average calculations that was not handled by the device itself, like average wind speed, average rain levels.
I think that we should actually make a separate plugin for all these number crunching special formatting stuff, in this way keeping the RFXtrx plugin as clean as possible, just delivering the necessary events. Making such a plugin will be very simple.
If you could start thinking of what you need/wish to do with the data, I can start throwing a first version together.
Best regards, Walter
Could you make some table showing what values you get from the plugin for the various wind directions (best also if you have the debug message there as well for each direction)?
Also as you remember, for the NetHome plugin we did some average calculations that was not handled by the device itself, like average wind speed, average rain levels.
I think that we should actually make a separate plugin for all these number crunching special formatting stuff, in this way keeping the RFXtrx plugin as clean as possible, just delivering the necessary events. Making such a plugin will be very simple.
If you could start thinking of what you need/wish to do with the data, I can start throwing a first version together.
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM