-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Decoding AREXX TSN-70E #2482
Comments
PWM is very unlikely with FSK. If you look close you can see that short/long gaps don't pair with short/long pulses -- there is data in the gaps. This is Manchester coding. This should work:
But only two of the posted signals decode well. The signal is clipping (too loud). The good codes there are Best to capture the codes as PCM first and inspect carefully, then later decode the MC: |
Oh, I see now why some files don't work: 500k is not a valid sample rate. You should have seen:
|
Dear Zuckschwerdt, many thanks for pointing in the right direction... I'm sorry still trying to figure all out. I will try to get more samples. Back to the drawing board :). Best regards |
You can just run |
Hey Zuckschwerdt, many thanks for you patience here. I try to dig into the topic. Might you explain why now you are using FSK_PCM and not FSK_MC_ZEROBIT any longer ? Best regards |
I've tried to see the signal with urh but I can't reproduce what rtl_433 is giving as data stream. |
PCM is the raw data, we can inspect it more easily. MC is an additional step which can be done later (e.g. in https://triq.net/bitbench ) and will hide errors and make it hard to see what's really transmitted. So: collect PCM, verify it's really plain MC, decode "by hand", then later when all is well switch do MC directly. |
Hey, to be honest, I'm currently puzzled with the result: with FSK_PCM i got the following data:
Would you suggest I try to find the Id of the sensor in this data stream ? Best regards |
Thanks again for your support and pointing me in the direction. |
Try not to be confused you are nearly there. Check out issue #2388 @zuckschwerdt found this data- aaaaaaaa5505ea4d16f09300050884e31c aaaaaaaa5505ea4d16f09300050884e31c aaaaaaaa5505eb4d06f1ae00050884e51 |
So many thanks that it !!! To contribute a bit I did also find the CRC check how it done. They us the CRC-8/MAXIM the use the length of the data in bytes + the sensor id + the value. 05 eb4d 06f1 ==> CRC-8/MAXIM results in ae. I will check will all sensor and see how to integrate it into rtl_433 |
many thanks to you @zuckschwerdt for pointing me in the right direction and again your patience and big thanks to @MacH-21 for finding the solution. You just helped me to avoid using this ugly Arexx box to extract the data. |
@inonoob //========================================================
//Serial.println(rx_buf[byte],HEX);
} Maybe Christian can spoon feed me how to add a protocol to rtl_433, |
I'll try to implement something in the next days. For a detailed example this should do: |
Thanks again, |
There is now a decoder in #2487 -- let's discuss and finish this there. |
Dear all,
I have a bunch of AREXX TSN-70E on my desk. I would like to work with them.
some background info:
the sensor: https://www.arexx.com/templogger/html/de/products.php
the inside view with the chips: https://domoticx.com/arexx-module-tsn-th70e/
I managed after some time to find the hopefully right settings to decode with rtl_433 the signals:
rtl_433 -X 'n=AREXX,m=FSK_PWM,s=208,l=424,r=456,g=0,t=0,y=24
With that I manged to catch a lot of packages but after several days of trying I can't figure the coding out :(.
I have found the following:
for the Temperature:
T = p0 + p1* SOt
p0= -39.6
p1= 0.01
SOt= Digital readout
for the Humidity:
RH = p0 + SOrh *(p1 + SOrh *p2)
p0=-4
p1=0.0405
p2=-2.8e-6
SOrh = Digital readout
Also from the data I could understand that the ID switch between the different information send. For example if the id is 20010 for temperature, the humidity will be reported as 20011.
in addition it seems that "87" could be the sensor typ as it is the same for all my AREXX TSN-70E.
Even with knowing the sensor IDs I can figure out how to find and decode them in the data stream.
19868 Sensor
{95} 00 00 87 AE 33 F6 8E FF F3 B7 73 F8
{97} 00 00 87 AE D9 DD 5B FF FC ED D7 BE 8
{99} 00 00 87 AE 33 F7 7B FF FE 76 EF BF 4
{94} 00 00 87 AE D9 D3 2E FF F3 B7 5D F0
{95} 00 00 87 AE 33 ED 49 FF E7 6E DF F4
{97} 00 00 87 AE D9 DA DB 7F F9 DB BB FD 8
{98} 00 00 87 AE 33 E7 BD FF FC ED DF BD 8
{95} 00 00 87 AE D9 DA FA FF FC ED DC 74
{95} 00 00 87 AE 33 E3 75 FF F3 B7 6F F0
20010 Sensor 91 77 ==> could be temperatur ID
20011 Sensor 92 77 ==> could be humidity ID
{97} 00 00 87 92 77 F6 9D FF F9 DB BB FE 0
{93} 00 00 87 91 77 B3 4B FF E7 6E CB E8
{95} 00 00 87 91 77 AD DF 7F F9 DB BA F8
{97} 00 00 87 92 77 ED FB 7F FC ED DA FD 0
{95} 00 00 87 91 77 AB 7A FF F3 B7 6D F6
{94} 00 00 87 92 77 E4 6D FF E7 6E ED D8
{96} 00 00 87 91 77 B5 FB FF FC ED DD BA
{95} 00 00 87 92 77 EA DF 7F F9 DB AB F0
{95} 00 00 87 91 77 B9 FA FF F9 DB A7 F2
{95} 00 00 87 92 77 EC CF FF F9 DB B1 EC
19946 Sensor B8 B3
19947 Sensor B9 33
{95} 00 00 87 B9 33 EC CE FF F3 B7 67 F8
{94} 00 00 87 B8 B3 B3 35 FF E7 6E DB F4
{95} 00 00 87 B8 B3 BE BB 7F F9 DB BA F8
{97} 0 00 08 7B 93 3E 7F 1F FF 9D BB DF D0
{94} 00 00 87 B8 B3 AA B9 FF E7 6E DB EC
{94} 00 00 87 B9 33 E1 E5 FF E7 6E D7 D8
{95} 00 00 87 B9 33 EE 2D FF F3 B7 75 BC
{94} 00 00 87 B8 B3 AA B9 FF E7 6E DB 7C
{96} 00 00 87 B9 33 ED BF 7F FC ED D8 BE
{99} 00 00 87 B8 B3 B7 FD FF FE 76 EF FB C
{94} 00 00 87 B8 B3 BB 55 FF F3 B7 5B 74
{92} 00 00 87 B9 33 EC 99 FF E7 6E D1 A
{95} 00 00 87 B8 B3 9F 7D 7F F9 DB BE D8
Question is:
Did I decode it correctly with rtl_433 ?
Does anyone has an idea how to decode it.
Arexx.zip
The text was updated successfully, but these errors were encountered: