-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Support for Emos E6016 Rain Gauge sensor #2001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The transmission looks different than the EMOS E6016, it's not PWM but Manchester. Try to get a progression of codes with each code +1 bucket tip. Then we can look for the fields in a BitBench. |
Attached is capture. Transmission is every 1 minute 25 seconds.
|
Those codes look empty. But e.g. from your PR g009 I get:
|
OK, here is another capture using second command. Same method as previously. |
Ok, so it's not Manchester then or not recognized as MC anyway. It's stange that there is so much data for basically one byte rain counter and one byte checksum. Collect your data in a BitBench like above. |
@stomko11 , |
I took another capture, BitBench Between |
It seems that pattern is changing after pulling battery (reports since 15:51:20). I am not able to move forward. Any help would be appreciated. |
I suspect the transmission is no picked up reliably or the demod fails. The output isn't really plausible. |
I will get another USB stick and try to gather more samples. I appreciate the support you are providing. This is great project and wonderful community. |
I did get the additional tuner and tried to follow recommended article, I just don't know what to do with it. I did take few cu8 samples, analyzed them, but I don't actually know what am I looking at or what am I searching for. Or what should I see here. Example cu8 file is attached, together with generated sample based on article. Can someone help me out? |
At least the first sample (g001) works. The others (6,7) are too strong and swamp the receiver. You would now need to run that and optimize distance or position to always reliably get those codes. |
Well this is only rain gauge, does not measure anything else, only adds +0,7mm of rainfall with each swing, |
Attached are samples that I took
Is the captured output any helpful? |
The received codes look very clean and regular, good reception! You would now collect and format the codes and your notes like this:
and put that in a BitBench. So we know the last byte is a checksum (addition over 8 bytes) and the two bytes before that are a counter. |
Good morning guys, Bitbench for That |
I gues now it is easy to copy the file in the post before and modified it 👍 :) |
Here is the capture and this BitBench |
This is confusing. So the decoder for "EMOS E6016 weatherstation with DCF77" is for a sensor to the "E6016 station", but we don't have a model number for the sensor. And this rain gauge is also a sensor for that station, but again with no own model number, right? |
Right. This one on the sticker just says "EMOS, type: E6016", SN: 401502 |
So i explain what i ment. That is the pream before inverting the bytes at EMOS6016 Windsensor the only thing what we have to do is the result of that are the name i hope now it is clear what i ment. |
Has the rain gauge sensor a Channel Switch? |
no, it does not have channel switch. |
@stomko11, So i have had a look into the manual of that rain gauge sensors. That is the format string and here the link to the BitBench |
@stomko11, I used the emos_e6016.c decoder as a basis and derived the decoder for the rain gauge. |
I have overlooked that each swing are 0.7mm. |
Appreciate your support on this, but I am pretty lost. So how do I actually test this? I did compile the code on my raspberry where I am testing this, by following the tutorial. But I am not quite sure I understand where to put this or what to do. I am new at all this, sorry. |
OK first of all, thanks. I did check the file, seems that there was a typo on line 71
I did change that to |
Morning, that was a mistake from me, it should be "rain_raw". then goto "/include" find that file "rtl_433_devices.h" add in this file under "#define DEVICES "at last "DECL(emos_e6016_rain) " |
but when you look back with this parameters you get 726 Bytes and the first 3 Bytes tells me it is the wind sensor. when you take out the bat of the wind sensor und you try it again only with the rain sensor. |
my emos wind sensor has the preamble aa a5 83 and your wind sensor also otherwise the windsensor decoder doesent work. |
the wind sensor send approx. all 61s and the rain sensor ? |
please type into your console rtl_433 -R help |
I did not pull batteries from weather station, because every time I insert batteries to rain gauge, it sends report. So basically I can pull batteries and insert it back, it sends report. Weather station reports in periodic intervals (61s), rain gauge is 85s
Then
And the last one:
|
@zuckschwerdt , Christian what have to be here .modulation = OOK_PULSE_PWM in option -X m=OOK_PWM? |
@stomko11 , Please try this at me this work. time : 2022-03-29 10:11:37 |
It looks the same for me:
|
@stomko11, Do this rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert' without ',inverted' please. |
Tried both below, wasn't sure which one you are after. Did few battery reinserts, nothing returned on the output.
|
and you have to pull out and set in the batterie (rain gauge) please i will see the output like time : 2022-03-29 09:53:40 |
but without inverted |
So above is the output with exact commands I used, I am not sure which one is precisely the one you want me to execute. However in both cases, I did reinsert batteries several times, but nothing on the console output. |
so that is realy strange: time : 2022-03-29 09:53:40 time : 2022-03-29 09:53:48 time : 2022-03-29 09:53:54 time : 2022-03-29 09:53:59 and actually i would like have the same post i expected the same data but not inverted. output above data: aaa58a. i expected 555a75 |
Yes. |
@zuckschwerdt , Christian how to put here the inverted tag at this structure |
You can't. Use the |
OK I am not sure what went wong, if my batteries, or I was too close to radio, but here is again both commands, with what I capured:
pi@raspberrypi:~ $ rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert' time : 2022-03-29 11:37:52 time : 2022-03-29 11:37:59 time : 2022-03-29 11:38:04
|
@zuckschwerdt That's what I thought, i use it inside the decoder. |
@stomko11 the post without 'inverted' looks like what i expected, but then my decoder should work. as you can see // -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72' |
hmm, something is unreliable on these battery pulls. But here is the output:
This is with your latest decoder posted here yesterday. |
Your decoder looks good. A few notes:
|
@AutomGuy something is definitely going on with either my dvb t tuner that I am testing with, or raspberry, or both. Sometimes I just don't capture any signal. But I don't think this is issue with gauge itself, as when I turn on Emos internal unit in parallel, that always gets right values.
At the end, I did 50 swings, but no longer got any report. Seems like issue with my RPI, being underpowered or what. I killed the process and started it again, got the report:
Can we work on Christian's suggestions? I also think it should be your name on the decoder, as you did most of the work :) |
@zuckschwerdt thx for your notes the next step is make a pull request or may be christian can help you out in case you are not familar with pull request |
I compiled using that version, looks good.
I will try to create pull request now. |
No need, I'll merge the code from the zip soon ;) |
Ah I already created that. Cancel it if you like. Zip did not have contributors listed :) |
Hello. Recently support for Emos E6016 weather station was added. My set contained also rain gauge sensor (no specific name, just additional sensor). I have uploaded signal captures to
rtl_433_tests
(at the moment it is still pending approval to upload) and am looking for anyone willing to help on this.@AutomGuy since you actively worked on Emos E6016 addition, wondering if you also have rain gauge too?
The text was updated successfully, but these errors were encountered: