Author Topic: RTL_433 Atlas Decoding  (Read 681 times)

0 Members and 1 Guest are viewing this topic.

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3308
RTL_433 Atlas Decoding
« on: September 25, 2019, 05:59:05 PM »
It's almost done.  The main thing left to work out is the lightning info in bytes 8 and 9, particularly distance and interference. 

Available in the feat-atlas branch.  (https://github.com/merbanan/rtl_433)

Code: [Select]
pi@raspberrypi:~ $ rtl_433 -R 40
rtl_433 version 19.08-20-g8463f65 branch  at 201909251947 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

        Consider using "-M newmodel" to transition to new model keys. This will become the default someday.
        A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986.

Registered 1 out of 138 device decoding protocols [ 40 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 66 81 47 3c 0a 81 a5 85
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:36
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 0           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 239.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c6 29 66 81 47 3c 0a 81 a5 89
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:36
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 1           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 239.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} ca 29 66 81 47 3c 0a 81 a5 8d
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:36
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 2           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 239.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 e7 81 42 28 99 81 a5 7c
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:47
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 0           battery_ok: 1             message_type: 39          Wind Speed: 3.0 mi/h      uv        : 2             lux       : 51450         byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c6 29 e7 81 42 28 99 81 a5 80
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:47
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 1           battery_ok: 1             message_type: 39          Wind Speed: 3.0 mi/h      uv        : 2             lux       : 51450         byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} ca 29 e7 81 42 28 99 81 a5 84
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:47
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 2           battery_ok: 1             message_type: 39          Wind Speed: 3.0 mi/h      uv        : 2             lux       : 51450         byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 65 81 0a e1 a6 81 a5 88
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:58
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 0           battery_ok: 1             message_type: 37          Wind Speed: 2.0 mi/h      temperature: 97.7 F       humidity  : 38 %          byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c6 29 65 81 0a e1 a6 81 a5 8c
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:58
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 1           battery_ok: 1             message_type: 37          Wind Speed: 2.0 mi/h      temperature: 97.7 F       humidity  : 38 %          byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} ca 29 65 81 0a e1 a6 81 a5 90
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:32:58
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 2           battery_ok: 1             message_type: 37          Wind Speed: 2.0 mi/h      temperature: 97.7 F       humidity  : 38 %          byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 66 81 c5 5c 0a 81 a5 23
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:09
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 0           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 183.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c6 29 66 81 c5 5c 0a 81 a5 27
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:09
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 1           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 183.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} ca 29 66 81 c5 5c 0a 81 a5 2b
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:09
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 2           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 183.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 e7 82 03 28 96 81 a5 3b
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:19
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 0           battery_ok: 1             message_type: 39          Wind Speed: 4.0 mi/h      uv        : 3             lux       : 51420         byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c6 29 e7 82 03 28 96 81 a5 3f
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:19
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 1           battery_ok: 1             message_type: 39          Wind Speed: 4.0 mi/h      uv        : 3             lux       : 51420         byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} ca 29 e7 82 03 28 96 81 a5 43
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:19
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 2           battery_ok: 1             message_type: 39          Wind Speed: 4.0 mi/h      uv        : 3             lux       : 51420         byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 65 03 0a e1 a6 81 a5 0a
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:30
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 0           battery_ok: 1             message_type: 37          Wind Speed: 6.0 mi/h      temperature: 97.7 F       humidity  : 38 %          byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c6 29 65 03 0a e1 a6 81 a5 0e
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:30
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 1           battery_ok: 1             message_type: 37          Wind Speed: 6.0 mi/h      temperature: 97.7 F       humidity  : 38 %          byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} ca 29 65 03 0a e1 a6 81 a5 12
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:30
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 2           battery_ok: 1             message_type: 37          Wind Speed: 6.0 mi/h      temperature: 97.7 F       humidity  : 38 %          byte8     : 1
byte9     : 37           byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 66 81 c3 fc 0a 81 a5 c1
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:41
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 0           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 127.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c6 29 66 81 c3 fc 0a 81 a5 c5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:41
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 1           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 127.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} ca 29 66 81 c3 fc 0a 81 a5 c9
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 16:33:41
model     : Acurite-Atlas id        : 553
channel   : A            sequence_num: 2           battery_ok: 1             message_type: 38          Wind Speed: 3.0 mi/h      wind_dir_deg: 127.0       Rainfall Accumulation: 0.10 in
byte8     : 1            byte9     : 37            byte89    : 165
acurite_txr_decode: Acurite Atlas raw msg: {80} c2 29 e7 81 82 27 7d 81 a5 9f
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


Offline Theo

  • Senior Member
  • **
  • Posts: 75
Re: RTL_433 Atlas Decoding
« Reply #1 on: September 26, 2019, 03:13:36 PM »
Lots of good work here, thanks for tracking it.  I will try the branch this week.  I can't wait for lightening to be supported!

Offline OneAn9ryN00b

  • Member
  • *
  • Posts: 3
Re: RTL_433 Atlas Decoding
« Reply #2 on: October 19, 2019, 01:45:04 PM »
So I'm kinda a Noob at this.

I have an Acurite Atlas 06059M and after following the instructions found here (https://github.com/weewx/weewx/wiki/sdr-rpi-recipe) which includes cloning your gethub of rtl_433. But when i run the test as shown in your example I'm still getting unknown message type from the Atlas.

Code: [Select]
pi@raspberrypi:~ $ sudo rtl_433 -G
rtl_433 version 19.08-36-g694ea62 branch master at 201910172222 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

        Use -G for testing only. Enable protocols with -R if you really need them.


        Consider using "-M newmodel" to transition to new model keys. This will become the default someday.
        A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986.

Registered 135 out of 141 device decoding protocols [ 1-4 6-8 10-17 19-26 29-64 67-141 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-10-19 12:56:21
model     : Acurite tower sensor                   id        : 2265
channel   : B            battery_low: 0            Temperature: 2.5 C
Humidity  : 12
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-10-19 12:56:21
model     : Acurite tower sensor                   id        : 2265
channel   : B            battery_low: 0            Temperature: 2.5 C
Humidity  : 12
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-10-19 12:56:21
model     : Acurite tower sensor                   id        : 2265
channel   : B            battery_low: 0            Temperature: 2.5 C
Humidity  : 12
acurite_txr_decode: Acurite 5n1 sensor 0x0075 Ch B, Status 03, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0475 Ch B, Status 03, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0875 Ch B, Status 03, Unknown message type 0x07


Now I don't know why its trying to detect it as a 5n1, as this is an Atlas. Now it does detect my other Acurite sensor, that i have in my fridge.

Any ideas? I don't have the lightning sensor yet, so that's not a big issue for me for right now. Is there anything else i could try?

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3308
Re: RTL_433 Atlas Decoding
« Reply #3 on: October 19, 2019, 03:28:19 PM »
The Atlas code isn't in the main branch yet.  You need to tell git to switch to the "feat-atlas" branch before compiling and installing.

Offline OneAn9ryN00b

  • Member
  • *
  • Posts: 3
Re: RTL_433 Atlas Decoding
« Reply #4 on: October 19, 2019, 08:23:47 PM »
Thanks for the quick reply.

So I did a clean install of 'Raspbian Buster with desktop' and found and downloaded the feat-atlas in the zip file, as i couldn't figure out how to 'git clone', unzipped, and copied over the folder to my PI, verified that the 'acurite.c' file was the updated one with the atlas things in there, and installed. And still when i run the 'sudo rtl_433 -G' command its still coming up 'Unknown message type ' with the 5n1.

Am I missing something?

Offline Storm017

  • Senior Member
  • **
  • Posts: 53
Re: RTL_433 Atlas Decoding
« Reply #5 on: October 19, 2019, 09:36:33 PM »
@OneAn9ryN00b

To clone using git all you need to do is:

pi@wxpi:`$ sudo git clone https://github.com/merbanan/rtl_433.git

Storm

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3308
Re: RTL_433 Atlas Decoding
« Reply #6 on: October 19, 2019, 10:13:50 PM »
Thanks for the quick reply.

So I did a clean install of 'Raspbian Buster with desktop' and found and downloaded the feat-atlas in the zip file, as i couldn't figure out how to 'git clone', unzipped, and copied over the folder to my PI, verified that the 'acurite.c' file was the updated one with the atlas things in there, and installed. And still when i run the 'sudo rtl_433 -G' command its still coming up 'Unknown message type ' with the 5n1.

Am I missing something?

I've never tried to compile it that way.  I always do everything directly from the Pi with the clone command, then switch it to the "feat-atlas" branch before compiling.  I don't have my notes handy to remember the git syntax to do the switch.

However, if it compiled correctly, it should at least show "atlas" in the output.  If you don't have the lightning module installed, it will throw some goofy errors regarding the 5n1 since the packets are 3 bytes shorter without the module.  The RTL_433 devs copied some code from the 5n1, so that may be part of the problem.

When I removed my lightning module, I'd get errors like this:

Code: [Select]
time      : 2019-09-25 11:09:55
model     : atlas        count     : 4             num_rows  : 4             rows      :
len       : 64           data      : 7dd6b8ffffffff0d,
len       : 64           data      : 79d6b8ffffffff09,
len       : 64           data      : 75d6b8ffffffff05,
len       : 0            data      :
codes     : {64}7dd6b8ffffffff0d, {64}79d6b8ffffffff09, {64}75d6b8ffffffff05, {0}
acurite_txr_decode: Acurite 5n1 sensor 0x0229 Ch B, Status 00, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0629 Ch B, Status 00, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0A29 Ch B, Status 00, Unknown message type 0x07
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 11:10:06
model     : atlas        count     : 4             num_rows  : 4             rows      :
len       : 64           data      : 7dd63afff67e4d53,
len       : 64           data      : 79d63afff67e4d4f,
len       : 64           data      : 75d63afff67e4d4b,
len       : 0            data      :
codes     : {64}7dd63afff67e4d53, {64}79d63afff67e4d4f, {64}75d63afff67e4d4b, {0}
acurite_txr_decode: Acurite 5n1 sensor 0x0229 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0629 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0A29 Ch B, Status 00, Unknown message type 0x05

Note that it will at least note "atlas" as the model, but otherwise it doesn't decode much.  I imagine the developers didn't anticipate the message lengths might vary in size depending on the lightning module being installed or not.

Offline Theo

  • Senior Member
  • **
  • Posts: 75
Re: RTL_433 Atlas Decoding
« Reply #7 on: October 19, 2019, 11:48:12 PM »
Unknown message type 0x07
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 11:10:06
model     : atlas        count     : 4             num_rows  : 4             rows      :
len       : 64           data      : 7dd63afff67e4d53,
len       : 64           data      : 79d63afff67e4d4f,
len       : 64           data      : 75d63afff67e4d4b,
len       : 0            data      :
codes     : {64}7dd63afff67e4d53, {64}79d63afff67e4d4f, {64}75d63afff67e4d4b, {0}
acurite_txr_decode: Acurite 5n1 sensor 0x0229 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0629 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0A29 Ch B, Status 00, Unknown message type 0x05

Note that it will at least note "atlas" as the model, but otherwise it doesn't decode much.  I imagine the developers didn't anticipate the message lengths might vary in size depending on the lightning module being installed or not.

So if I have my lightening detector installed, it won't decode atm?

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3308
Re: RTL_433 Atlas Decoding
« Reply #8 on: October 19, 2019, 11:58:13 PM »
Unknown message type 0x07
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-25 11:10:06
model     : atlas        count     : 4             num_rows  : 4             rows      :
len       : 64           data      : 7dd63afff67e4d53,
len       : 64           data      : 79d63afff67e4d4f,
len       : 64           data      : 75d63afff67e4d4b,
len       : 0            data      :
codes     : {64}7dd63afff67e4d53, {64}79d63afff67e4d4f, {64}75d63afff67e4d4b, {0}
acurite_txr_decode: Acurite 5n1 sensor 0x0229 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0629 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0A29 Ch B, Status 00, Unknown message type 0x05

Note that it will at least note "atlas" as the model, but otherwise it doesn't decode much.  I imagine the developers didn't anticipate the message lengths might vary in size depending on the lightning module being installed or not.

So if I have my lightening detector installed, it won't decode atm?

If you have the lightning detector installed, it will decode properly (except for the actual lightning data).  The problem is that the packets are 3 bytes shorter without the lightning detector, and RTL_433 doesn't deal with that yet.

Offline OneAn9ryN00b

  • Member
  • *
  • Posts: 3
Re: RTL_433 Atlas Decoding
« Reply #9 on: October 20, 2019, 12:07:14 AM »
So I do not have the lightning detector installed, I haven't boughten one yet, as its now fall here, and i was probably going to buy one next spring. So maybe that will be an early Christmas gift I'll have to buy for my self. But when running the command 'sudo rtl_433 -G' here is the output i get, which seems similar to yours without the lightning sensor. But I'm not seeing atlas anywhere mentioned. When I go in and look at the /rtl_433/src/devices/acurite.c theirs 'atlas' all through it


Code: [Select]
pi@raspberrypi:~ $ sudo rtl_433 -G
rtl_433 version unknown inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

        Use -G for testing only. Enable protocols with -R if you really need them.


        Consider using "-M newmodel" to transition to new model keys. This will become the default someday.
        A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986.

Registered 132 out of 138 device decoding protocols [ 1-4 6-8 10-17 19-26 29-64 67-138 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
acurite_txr_decode: Acurite 5n1 sensor 0x0075 Ch B, Status 00, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0475 Ch B, Status 00, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0875 Ch B, Status 00, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0075 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0475 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0875 Ch B, Status 00, Unknown message type 0x05
acurite_txr_decode: Acurite 5n1 sensor 0x0075 Ch B, Status 00, Unknown message type 0x06
acurite_txr_decode: Acurite 5n1 sensor 0x0475 Ch B, Status 00, Unknown message type 0x06
acurite_txr_decode: Acurite 5n1 sensor 0x0875 Ch B, Status 00, Unknown message type 0x06
acurite_txr_decode: Acurite 5n1 sensor 0x0075 Ch B, Status 00, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0475 Ch B, Status 00, Unknown message type 0x07
acurite_txr_decode: Acurite 5n1 sensor 0x0875 Ch B, Status 00, Unknown message type 0x07

 

anything