vekexasia / esp32-tesla-opener-and-stuff

Some esp32 stuff :)
0 stars 1 forks source link

Problems on Decoding Bresser Weather #1

Open Uspizig opened 2 years ago

Uspizig commented 2 years ago

Dear Vekexasia,

I found that you tried to decode a Bresser 5 in 1 weather station with a cc1101 Module. Thanks a lot for your code and the well written documentation.

I tried to adapt your code for my basic needs: https://pastebin.com/U9ZibZbe

Used Processor: ESP32 TTGO Mini V2 Board

But I am always running into some decoding issues:

So you have any Idea what i need to change to get proper decoder values? Is there any advise you would recommend for changing deviation?

Console Output: LQI:127 20:36:49.534 -> LQI:127 20:36:52.841 -> LQI:127 20:37:00.681 -> LQI:0 20:37:00.681 -> D4 FE 37 44 51 3 3 18 FF FF FF 1 28 FF FF FB FF 1 2D AA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 First 13 Bytes 20:37:00.681 -> Decoding Wrong Byte:0:11111110:11111111 20:37:00.681 -> Decoding Wrong Byte:1:110111:11111011 20:37:00.681 -> Decoding Wrong Byte:2:1000100:11111111 20:37:00.681 -> Decoding Wrong Byte:3:1010001:1 20:37:00.681 -> Decoding Wrong Byte:4:11:101101 20:37:00.681 -> Decoding Wrong Byte:5:11:10101010 20:37:00.681 -> Decoding Wrong Byte:6:11000:0 20:37:00.681 -> Decoding Wrong Byte:10:1:0 20:37:00.727 -> Decoding Wrong Byte:11:101000:0 20:37:00.727 -> success! 20:37:00.727 -> Weather Results: 20:37:00.727 -> Battery: 1 20:37:00.727 -> Wind Speed: 11.00 20:37:00.727 -> Wind Gust: 332.90 20:37:00.727 -> Temperature: 0.00 20:37:00.727 -> Rain: 0.00 20:37:00.727 -> Humidity: 0 20:37:07.825 -> LQI:114

Thanks a lot for your help

vekexasia commented 2 years ago

could it be the quality of the radio signal is not good enough?

On Thu, May 5, 2022 at 8:40 PM Uspizig @.***> wrote:

Dear Vekexasia,

I found that you tried to decode a Bresser 5 in 1 weather station with a cc1101 Module. Thanks a lot for your code and the well written documentation.

I tried to adapt your code for my basic needs: https://pastebin.com/U9ZibZbe

Used Processor: ESP32 TTGO Mini V2 Board

But I am always running into some decoding issues:

So you have any Idea what i need to change to get proper decoder values? Is there any advise you would recommend for changing deviation?

Console Output: LQI:127 20:36:49.534 -> LQI:127 20:36:52.841 -> LQI:127 20:37:00.681 -> LQI:0 20:37:00.681 -> D4 FE 37 44 51 3 3 18 FF FF FF 1 28 FF FF FB FF 1 2D AA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 First 13 Bytes 20:37:00.681 -> Decoding Wrong Byte:0:11111110:11111111 20:37:00.681 -> Decoding Wrong Byte:1:110111:11111011 20:37:00.681 -> Decoding Wrong Byte:2:1000100:11111111 20:37:00.681 -> Decoding Wrong Byte:3:1010001:1 20:37:00.681 -> Decoding Wrong Byte:4:11:101101 20:37:00.681 -> Decoding Wrong Byte:5:11:10101010 20:37:00.681 -> Decoding Wrong Byte:6:11000:0 20:37:00.681 -> Decoding Wrong Byte:10:1:0 20:37:00.727 -> Decoding Wrong Byte:11:101000:0 20:37:00.727 -> success! 20:37:00.727 -> Weather Results: 20:37:00.727 -> Battery: 1 20:37:00.727 -> Wind Speed: 11.00 20:37:00.727 -> Wind Gust: 332.90 20:37:00.727 -> Temperature: 0.00 20:37:00.727 -> Rain: 0.00 20:37:00.727 -> Humidity: 0 20:37:07.825 -> LQI:114

Thanks a lot for your help

— Reply to this email directly, view it on GitHub https://github.com/vekexasia/esp32-tesla-opener-and-stuff/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQ6S3OGCLY6VRKJBOCNJDVIQIYTANCNFSM5VF5SJXA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Andrea Baccega [image: @. [image: @. [image: Personal site] http://www.andreabaccega.com/ [image: Linkedin Profile] http://it.linkedin.com/in/andreabaccega [image: Facebook] https://www.facebook.com/andrea.baccega [image: Google+] https://plus.google.com/109217393200753135791 [image: Twitter] http://twitter.com/veke87 [image: StackOverflow] http://stackoverflow.com/users/314407/andrea-baccega [image: GitHub] https://github.com/vekexasia

Uspizig commented 2 years ago

I am wondering why I can decode the PreAmble 0xAA, 0x2D, 0xD4 always correct... but stuck in the CRC Check and the data. I tried already the sent example code and checked in an SDR if the frequency looks similar... somehow I am stuck and have no idea anymore

vekexasia commented 1 year ago

they could've changed the protocol/data format for newer version maybe?

Did you try with rtl_433 to see that decodes the data properly?

On Thu, May 5, 2022 at 9:49 PM Uspizig @.***> wrote:

I am wondering why I can decode the PreAmble 0xAA, 0x2D, 0xD4 always correct... but stuck in the CRC Check and the data. I tried already the sent example code and checked in an SDR if the frequency looks similar... somehow I am stuck and have no idea anymore

— Reply to this email directly, view it on GitHub https://github.com/vekexasia/esp32-tesla-opener-and-stuff/issues/1#issuecomment-1118985114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQ6S6ROLNT2BTKE3DJPKLVIQQ4FANCNFSM5VF5SJXA . You are receiving this because you commented.Message ID: @.***>

--

Andrea Baccega [image: @. [image: @. [image: Personal site] http://www.andreabaccega.com/ [image: Linkedin Profile] http://it.linkedin.com/in/andreabaccega [image: Facebook] https://www.facebook.com/andrea.baccega [image: Google+] https://plus.google.com/109217393200753135791 [image: Twitter] http://twitter.com/veke87 [image: StackOverflow] http://stackoverflow.com/users/314407/andrea-baccega [image: GitHub] https://github.com/vekexasia