Author Topic: sequence_num?  (Read 905 times)

0 Members and 1 Guest are viewing this topic.

Offline JoePfeiffer

  • Member
  • *
  • Posts: 7
sequence_num?
« on: May 29, 2022, 09:35:00 PM »
I'm successfully using rtl_433 to receive and decode my Acurite Atlas and, as an added bonus, my next door neighbor's 5-in-1.  Something I'm finding odd about the data (from both of them) is that they're sending each packet three times, with a sequence number field of 0, 1, and 2.  Near as I can tell, the data in each is otherwise identical.  Anybody have any idea why they do this?

Offline DoctorKnow

  • Forecaster
  • *****
  • Posts: 1985
Re: sequence_num?
« Reply #1 on: May 30, 2022, 04:01:54 PM »
The systems have an A-B-C switch to select which channel transmits... I guess when you pick up the raw data, it sends a version of all three channels?

Offline JoePfeiffer

  • Member
  • *
  • Posts: 7
Re: sequence_num?
« Reply #2 on: May 30, 2022, 04:09:22 PM »
All three are on the same channel.

{"time":"1653941262","model":"Acurite-Atlas","id":926,"channel":"A","sequence_num":0,"battery_ok":1,"message_type":39,"wind_avg_mi_h":8.0,"uv":5,"lux":103540,"strike_count":2,"strike_distance":20,"exception":0,"raw_msg":"c39ee78405507200d467"}
{"time":"1653941262","model":"Acurite-Atlas","id":926,"channel":"A","sequence_num":1,"battery_ok":1,"message_type":39,"wind_avg_mi_h":8.0,"uv":5,"lux":103540,"strike_count":2,"strike_distance":20,"exception":0,"raw_msg":"c79ee78405507200d46b"}
{"time":"1653941262","model":"Acurite-Atlas","id":926,"channel":"A","sequence_num":2,"battery_ok":1,"message_type":39,"wind_avg_mi_h":8.0,"uv":5,"lux":103540,"strike_count":2,"strike_distance":20,"exception":0,"raw_msg":"cb9ee78405507200d46f"}

Offline DoctorKnow

  • Forecaster
  • *****
  • Posts: 1985
Re: sequence_num?
« Reply #3 on: May 30, 2022, 06:58:41 PM »
After you decode the messages, are you using Raspberry pi and weewx?

Offline JoePfeiffer

  • Member
  • *
  • Posts: 7
Re: sequence_num?
« Reply #4 on: May 30, 2022, 07:25:56 PM »
At the moment I'm just dumping the packets through MQTT (what I posted a moment ago).  When I first noticed it happening, I was just dumping the decoded packets to my terminal so I'm confident it's not an artifact of MQTT.  I'll mention I'm also picking up several other devices, none of which are showing this tripling.

I previously had my station running a WH-65, using weewx (though not not on a pi, on a Debian workstation).

Offline Rhino

  • Senior Contributor
  • ****
  • Posts: 246
Re: sequence_num?
« Reply #5 on: September 20, 2022, 12:22:45 PM »
It transmits the packet three times (in a very short time period) to increase chances of reception by the receiver. [tup]