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.

RFXtrx

Questions and comments specific to a particular plugin should go here.
Mysa30
Posts: 6
Joined: Mon Oct 20, 2014 10:22 am

Re: RFXtrx

Post by Mysa30 »

I have singel relays and RFXtrxE latest firmware. When i use Aoke I found out that not every last two numbers work but I found if I change it some of them works and I also found when I lerned them as Nexa code They work with Telldus to. Thanks for your help :D
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

Are anybody here running the Oregon Scientific PCR800R Wireless Rain Gauge? I have, it but it's so annoying that it doesn't show the daily rain, only total since last reset. It would be nice with a Python script that gave statistics like last 24 hours, last week, last month and so on. But that's far beyond my abilities. So are there any scripts like that walking around? I tried to search the web and found a Norwegian on Swtichking forum that had made one, but he never posted it to the forum like he said he would do, and nobody there were able to get a hold of him. Annoying, almost like "to be continued" at the end of the season of a TV series, and then "cancelled by the network"! :x

I even saw that the developer of this great plug-in had a discussion with him, maybe you know him, krambriw?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Hi Mastiff, sorry for late response but I have been busy the last days,,,

I agree, readings like that it is not so useful especially if statistics is of interest but I believe the sensor itself is rather limited in respect to data collection & calculation. I remember I did write some python code for rain data collection and calculation but for another device. The best would maybe be to add this functionality to this plugin, shouldn't be too hard I think.

The PCR800R provides two data values each reading: rain rate per hour and rain total (since last reset). Checking my old code, I did provide the following data:

"UPM.RainLastHour|"+
"mm"+"|"+
"UPM.RainPreviousHour|"+
"mm"+"|"+
"UPM.RainToday|"+
"mm"+"|"+
"UPM.RainYesterday|"+
"mm"+"|"+
"UPM.RainLastWeek|"+
"mm"+"|"+
"UPM.RainMeter|"+
"mm"+"|"

I suggest that I provide the same plus LastMonth if that is wished. I also suggest that I provide them via a new action that provides the data in the payload. In this way you can use it in many ways from just presenting them or storing them in a database for more advanced number crunching or making pretty graphs.

Please be aware of
- the readings will show the current collected and calculated values, means if you for instance have been running for 3 days, the LastWeek & LastMonth will show what has been collected so far
- I will save the calculated values persistent but not every reading so that we will not loose the collected and calculated values after a restart
- once you have started to collect data and you stop EG (or the plugin) there could be a gap in the data so it can take a while until it gets 100% correct again (error is depending on how long the downtime is)

If you have additional suggestions, please let's discuss

BestR


PS After looking into this topic a bit I think it will be easier, better/cleaner & simplifying testing to create a new plugin for ClimateDataCalculations instead of adding this feature to the RFXtrx plugin
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

Hi, krambriw! No worries we all have that pesky real life intruding on our online life and automation! :lol: Sounds like you have a great plan there, and I really appreciate the work! Only one suggestion, if it's possible: The ability to set a parameter so I can see the amount of rain since the 12th of October at 09.00. Is that doable? It would be especially cool if that could be integrated into the EG Webserver, so I could pull up a calendar (or type in the values), let the webserver send the data to the RFX-plugin and then get the amount of rain since that time and date. Could that be done without too much trouble?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Hello Mastiff,
I will open up a new thread where we can discuss this further.

Best regards
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

new version available with support for:

- Livolo Appliance 1-10
- Somfy RFY commands Enable sun+wind & Disable sun (RFXtrx433E only)
- Smartwares radiator valves (RFXtrx433E only)
- Alecto WS1700 and compatibles

Changed from old Websocket suite to support the new Webserver plugin with websocket included.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

Hi, Krambriw! I have installed the lastest firmware and the latest version of the plug-in, but I have a problem: There's an extra piece of info in the events, which messes up my whole setup. I am going back to a previous version, but will you release somethign that can clean up this? It looks like this now:

Code: Select all

RFXtrx.Type: Viking 02811, Proove TSS330, 311346 id: 6144
This is what's been before:

Code: Select all

RFXtrx.Type: Viking 02811 id: 6144
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Hello, sorry for that. The corrected version is now available. My mistake was I changed the labels of the events when I updated the plug to support the latest firmware :oops: (I better keep labels as they are)

Best regards & thanks for pointing this out
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

Thanks, that worked! :mrgreen:
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

But not for long. Something's very "wonky" here. After the first regular event it suddenly starts firing them wrongly. I discovered that when I got up and found 26 degrees at the wc and no heat at all in the bedroom. So the first event has the correct format:

Code: Select all

RFXtrx.Type: Viking 02811 id: 13312 ' temperature: +13.7 deg C signal: 6 battery: 9'
Then this starts to come through:

Code: Select all

RFXtrx.Type: THR128/138, THC138 id: 43008 ' temperature: +26.1 deg C signal: 6 battery: 9'
Doesn't really work. :mrgreen:

Edit: I don't think this is your fault. I got funny results with Viking in RFXManager as well on firmware 81. 78 doesn't have that problem. I will try 80.

Edit 2: I will mail Bert. There's something wrong with both 80 and 81.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

Sorry, Bert! Forgot to say that this is fixed in version 82! Great service!
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

New version published, see the first post
User1306
Experienced User
Posts: 53
Joined: Sat Oct 13, 2012 4:37 pm

Re: RFXtrx

Post by User1306 »

i bought one of those LED RGB controller (67412) from dx.com
i found the ID's and code to make it work, everything seems to be fine.
Except the Red color, i tried all the codes for the color but i cant seem to get RED. using the remote it came with, i can see red and it works, but not through EG.
if i select the color code "11" which seems to be the lowest, i get an orange-ish color, and i think the red is a bit lower.
i tried all the code and they all show different colors but not RED.

any thought?

Thanks in advance
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Does it work with the RFXmanager?
User1306
Experienced User
Posts: 53
Joined: Sat Oct 13, 2012 4:37 pm

Re: RFXtrx

Post by User1306 »

i ran another test though the manager and I'm not sure why but now everything is working fine now, Red is showing just fine.

thank you
Post Reply