tag:blogger.com,1999:blog-4922503085503427986.post7429878660818084804..comments2024-03-18T17:46:29.521-07:00Comments on Desert Home: Reading the AcuRite 5n1 Sensor Set, This time with RFdavehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.comBlogger47125tag:blogger.com,1999:blog-4922503085503427986.post-91828708205608779282018-11-21T07:34:21.675-07:002018-11-21T07:34:21.675-07:00When I encountered something similar, I put some d...When I encountered something similar, I put some debugging statements in rtl to show me what was happening. Try that.<br />davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-52347092965053050992018-11-19T08:33:58.449-07:002018-11-19T08:33:58.449-07:00Hello. I am setting up to read the RF from the 5N...Hello. I am setting up to read the RF from the 5N1 weatherhead. Your excellent articles have been invaluable! I have come to that point where everything should (and almost does) work, but does not. I have included the startup of rtl_433 below, it seems that it finds the 5N1 ok, but then nothing happens. Any thoughts will be appreciated.<br /><br />root@orangepipcplus:/etc/Desert-Home-rtl_433-master/build/src# rtl_433 -f 433.965e6<br />Registering protocol "Silvercrest Remote Control"<br />Registering protocol "Rubicson Temperature Sensor"<br />Registering protocol "Prologue Temperature Sensor"<br />Registering protocol "Waveman Switch Transmitter"<br />Registering protocol "Steffen Switch Transmitter"<br />Registering protocol "ELV EM 1000"<br />Registering protocol "ELV WS 2000"<br />Registering protocol "LaCrosse TX Temperature / Humidity Sensor"<br />Registering protocol "Acurite 5n1 Weather Station"<br />Registering protocol "Acurite 896 Rain Gauge"<br />Registering protocol "Acurite Temperature and Humidity Sensor"<br />Registering protocol "Oregon Scientific Weather Sensor"<br />Registering protocol "Mebus 433"<br />Registering protocol "Intertechno 433"<br />Registering protocol "KlikAanKlikUit Wireless Switch"<br />Registering protocol "AlectoV1 Weather Sensor"<br />Registering protocol "Cardin S466-TX2"<br />Registering protocol "Fine Offset Electronics, WH-2 Sensor"<br />Registering protocol "Nexus Temperature & Humidity Sensor"<br />Registering protocol "Ambient Weather Temperature Sensor"<br />Found 1 device(s):<br /> 0: Realtek, RTL2838UHIDIR, SN: 00000001<br /><br />Using device 0: Generic RTL2832U OEM<br />Detached kernel driver<br />Found Rafael Micro R820T tuner<br />Exact sample rate is: 250000.000414 Hz<br />[R82XX] PLL not locked!<br />Sample rate set to 250000.<br />Sample rate decimation set to 0. 250000->250000<br />Bit detection level set to 10000.<br />Tuner gain set to Auto.<br />Reading samples in async mode...<br />Tuned to 433965000 Hz.<br />Detected Acurite 5n1 sensor, 3 bits<br />Anonymoushttps://www.blogger.com/profile/02073877438975463282noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-38140335113697276012017-07-14T15:01:37.401-07:002017-07-14T15:01:37.401-07:00I had to do the same edits to make it work. 3 hou...I had to do the same edits to make it work. 3 hours of pulling what little hair I have and then I recompiled and :)USAF_Pridenoreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-61831007717665348442017-07-03T21:28:09.086-07:002017-07-03T21:28:09.086-07:00I've never noticed that, but one of my readers...I've never noticed that, but one of my readers did. He was losing the high order bit in the first and last byte. I'm not sure how he handled it, but it should be possible to just ignore those bits in the parity check if I remember correctly. <br /><br />Take a look at the other comments on this post, there's one that may apply to your particular problemdavehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-65422171521102672732017-07-03T11:36:27.248-07:002017-07-03T11:36:27.248-07:00Thanks for your reply. I found out that it is givi...Thanks for your reply. I found out that it is giving an error in parity. I tried to compare the data obtained from the Arduino to the Raspberry and I noticed that in the first byte of data there is the MSB missing. This also applies to the last byte. I will try again to see what the problem is. Has this ever happened to you? Thanks once againJesmond Gattnoreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-46637562803796342992017-07-01T08:06:31.657-07:002017-07-01T08:06:31.657-07:00Not any more, I used to use the serial port for va...Not any more, I used to use the serial port for various things, but these days everything is on a USB port. Never had any problem with the serial port though.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-80372139889692294992017-07-01T05:05:42.151-07:002017-07-01T05:05:42.151-07:00By any chance, are you using the serial port or an...By any chance, are you using the serial port or any of the raspberry pi pins to access the serial port in the code. I tried to look at the code but have not managed to find any relations to the serial port. On the other hand, I have another code running on the same Pi and sometimes the serial port just do not respond. Thanks for your great help.Jesmond Gattnoreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-68636404463158864282017-06-30T08:27:31.883-07:002017-06-30T08:27:31.883-07:00Thanks for your reply. That is what I did. I found...Thanks for your reply. That is what I did. I found out that it is giving an error in parity. I tried to compare the data obtained from the Arduino to the Raspberry and I noticed that in the first byte of data there is the MSB missing. This also applies to the last byte. I will try to see what the problem is.Jesmond Gattnoreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-51303056593885753292017-06-29T17:08:59.636-07:002017-06-29T17:08:59.636-07:00If you take a look at the source, there's a to...If you take a look at the source, there's a ton of debugging in there that you can turn on. That will probably give you a hint on what to take a look at.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-3667890351145055462017-06-29T16:00:31.471-07:002017-06-29T16:00:31.471-07:00Hi, I followed the tutorial step by step and manag...Hi, I followed the tutorial step by step and managed to install the files on the PI. I used the SDRSharp to get the frequency and I found it to be 433.955MHz. I adjusted the rtl_455.h file to always start at that frequency but when I run the executable, I just get up to Tuned to 433955000Hz and that's it. I do not get any signal from the weather station. I moved the station close (touching) to the antenna and still got no information from it. Note: the station is working since I see a peak on the SDRSharp, managed to see the peak in reality on a VNA and got information using the Arduino. Could you please help me? ThanksJesmond Gattnoreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-2904068128090752262017-05-27T07:25:07.124-07:002017-05-27T07:25:07.124-07:00Sounds good. Thanks for the tutorial. I was able t...Sounds good. Thanks for the tutorial. I was able to use it to finally solve my packet loss issue by walking around with the laptop and found the signal significantly dropped in the room the server and console are in. Installed a acurite repeater and now the signal is strong anywhere in the house. On another note, rtlsdr_scanner can be used to quickly find the transmitter's frequency.John Hitchisonhttps://www.blogger.com/profile/08778821658061117412noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-28457306433774406902017-05-23T19:23:34.858-07:002017-05-23T19:23:34.858-07:00Actually, I have seen it do something similar. For...Actually, I have seen it do something similar. For me it wasn't three every time, but I did see multiples of the same data one right after the other. I have no clue what set mine off, but it did do it from time to time.<br /><br />Maybe that's become their default, send multiple packets to increase reliability. Looks like it would eat the batteries though.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-38540239521024423392017-05-23T15:33:13.644-07:002017-05-23T15:33:13.644-07:00Is it normal that the 5n1 sends each packet in tri...Is it normal that the 5n1 sends each packet in triplicate? I have been sitting on my tractor with the laptop for about 10 minutes now and am getting x3 message type 56, and shortly thereafter x3 type 49.<br /><br /> channel: B<br /> sequence_num: 0<br /> battery: OK<br /> message_type: 56<br /> wind_speed: 3.7 mph<br /> temperature: 68.5 F<br /> humidity: 38<br />2017-05-23 17:29:34 : Acurite 5n1 sensor<br /> sensor_id: 0xB4D<br /> channel: B<br /> sequence_num: 1<br /> battery: OK<br /> message_type: 56<br /> wind_speed: 3.7 mph<br /> temperature: 68.5 F<br /> humidity: 38<br />2017-05-23 17:29:34 : Acurite 5n1 sensor<br /> sensor_id: 0xB4D<br /> channel: B<br /> sequence_num: 2<br /> battery: OK<br /> message_type: 56<br /> wind_speed: 3.7 mph<br /> temperature: 68.5 F<br /> humidity: 38<br />2017-05-23 17:29:52 Acurite 5n1 sensor 0x0B4D Ch B, Total rain fall since last reset: 0.00<br />2017-05-23 17:29:52 : Acurite 5n1 sensor<br /> sensor_id: 0xB4D<br /> channel: B<br /> sequence_num: 0<br /> battery: OK<br /> message_type: 49<br /> wind_speed: 4.2 mph<br /> wind_dir_deg: 270.0<br /> wind_dir: W<br /> rainfall_accumulation: 0.00 in<br /> raincounter_raw: 0<br />2017-05-23 17:29:52 Acurite 5n1 sensor 0x0B4D Ch B, Total rain fall since last reset: 0.00<br />2017-05-23 17:29:52 : Acurite 5n1 sensor<br /> sensor_id: 0xB4D<br /> channel: B<br /> sequence_num: 1<br /> battery: OK<br /> message_type: 49<br /> wind_speed: 4.2 mph<br /> wind_dir_deg: 270.0<br /> wind_dir: W<br /> rainfall_accumulation: 0.00 in<br /> raincounter_raw: 0<br />2017-05-23 17:29:52 Acurite 5n1 sensor 0x0B4D Ch B, Total rain fall since last reset: 0.00<br />2017-05-23 17:29:52 : Acurite 5n1 sensor<br /> sensor_id: 0xB4D<br /> channel: B<br /> sequence_num: 2<br /> battery: OK<br /> message_type: 49<br /> wind_speed: 4.2 mph<br /> wind_dir_deg: 270.0<br /> wind_dir: W<br /> rainfall_accumulation: 0.00 in<br /> raincounter_raw: 0<br />John Hitchisonhttps://www.blogger.com/profile/08778821658061117412noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-31859910983582058782017-04-29T17:49:06.601-07:002017-04-29T17:49:06.601-07:00I got your email and will respond to that since th...I got your email and will respond to that since this may get complicated after a bit.<br /><br />At any rate, No, I don't send it up to weather underground. I wasn't ready to take on another server out there in space as something to get into. I have had many people report that they did it though, and they didn't seem to have any problem getting it working. Most folk just used a script to convert the text into some other format and then send it on.<br /><br />Yep, the comments on blogspot don't support HTML or any other mark ups that I've managed to run across. Annoying, but it's free.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-67013900952519702472017-04-29T08:05:49.164-07:002017-04-29T08:05:49.164-07:00Your comments don't support "html"
...Your comments don't support "html"<br /><br />Here is a log from my current run:<br /><br />https://pastebin.com/0kgRpzdUjmhttps://www.blogger.com/profile/06831838371935990389noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-43070014844736589132017-04-29T08:04:21.403-07:002017-04-29T08:04:21.403-07:00Thanks for the link.
I'm able to get weather ...Thanks for the link.<br /><br />I'm able to get weather data, although it looks like bad data.<br /><br />It's currently snowing here in Denver, definitely not 87.2C as your tool is reporting. I'll try posting some raw data in another comment. (too big for this window)<br /><br />Also, are you uploading to weather underground or other services? Do you have a guide or link for that step?<br /><br />Appreciate the work you've done to get me this far.<br /><br />jmhttps://www.blogger.com/profile/06831838371935990389noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-49933977744195394732017-04-23T07:42:31.204-07:002017-04-23T07:42:31.204-07:00https://github.com/draythomp/Desert-Home-rtl_433https://github.com/draythomp/Desert-Home-rtl_433davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-47733816940147686782017-04-21T22:51:53.719-07:002017-04-21T22:51:53.719-07:00Hi Dave -- do you have a link to your git repo for...Hi Dave -- do you have a link to your git repo for this project? I'm at the point where it would be useful.jmhttps://www.blogger.com/profile/06831838371935990389noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-76232546606419837782017-03-24T17:25:42.384-07:002017-03-24T17:25:42.384-07:00You might be able to, but it's hard to say wit...You might be able to, but it's hard to say with the hardware setup you have. If it were I, I'd get an SDR of some kind and run RTL433 on the Pi to see if you can see it with that radio. If you can, it may give you a hint on how to proceed.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-4408312734239547632017-03-24T08:24:30.972-07:002017-03-24T08:24:30.972-07:00I have an emonPi with a RFM69Pi at 433Mhz and the ...I have an emonPi with a RFM69Pi at 433Mhz and the La Crosse outdoor temperature and humidity sensor (TX141TH). <br />And was wondering if I could read the temp and RH% using the RFM69Pi. <br />I used minicom at 38400 on /dev/ttyAMA0 and get this every 10 seconds<br />> 0,11,20,0,0s<br /> -> 4 b<br />> 0,11,20,0,0s<br /> -> 4 b<br />Which does not matchup with the actuals temp and RH. Plus the data comes in every 10 seconds, and the LaC sensor reports every 58-60mseconds.<br /><br />Do you think I can read the sensor data using the RFM69Pi on my emonPi?<br />Anonymoushttps://www.blogger.com/profile/17243187839905909136noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-55109619542023542732017-02-12T18:20:11.098-07:002017-02-12T18:20:11.098-07:00Thanks for the quick response I was able to get it...Thanks for the quick response I was able to get it working. For me a used the standard rtl_433 it seemed to work a little better in my situation, and a bonus was that I was able to get support for one of our other sensors that we use as well. Thanks for having such a great blog post about this. Half the time it's understanding the problem well enough to get more help. This blog post got me going in the correct direction.Marc Severinhttps://www.blogger.com/profile/00670525878576812518noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-75003262250191244752017-02-12T16:42:36.704-07:002017-02-12T16:42:36.704-07:00I've only had this problem when the signal fro...I've only had this problem when the signal from the 5n1 was too weak, but the way you can troubleshoot it is to take a look at the code for rtl_433 and start playing with the options.<br /><br />I had the 5n1 go silent on me a couple of times and had to reposition the antenna to get the signal back. This is probably not the case for you, so look at the debugging built into rtl_433.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-21951479810753631212017-02-12T13:15:54.585-07:002017-02-12T13:15:54.585-07:00Just to add some more info, it just sits on Tuned ...Just to add some more info, it just sits on Tuned to "433499260 Hz." this is the frequency I get from gqrxMarc Severinhttps://www.blogger.com/profile/00670525878576812518noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-90805438993180918892017-02-12T13:07:21.844-07:002017-02-12T13:07:21.844-07:00I have gone through the steps, but still can't...I have gone through the steps, but still can't get it to recognize my Acurite 5n1 that I got at costco just before christmas. Any good debugging tips?<br />Marc Severinhttps://www.blogger.com/profile/00670525878576812518noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-87855823707580184412017-01-26T14:35:32.994-07:002017-01-26T14:35:32.994-07:00Congratulations. I use my own database in house on...Congratulations. I use my own database in house on a NAS and love it. <br /><br />Have fun.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.com