Reusing old 868 MHz equipment in openHAB
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
It is long time ago, but today I had a little bit time to go ahead with my investigations.
After some playing with URH I found out, that the sensor bit per sample must be 1200.
So I have two decoded sensors with the following values
9B49B6D249A6D249268
D26D24D249B4D249268
I have tried a bit more with "Universal Radio Hacker". And now I think I found the right configuration to decode the signal. I read that 600 is a typical baudrate for FSK. So I configured the URH interpretation module to this value (Samples/Symbol) and here we are!
Window sensor 1:
Window sensor 2:
The signal from sensor 1 is decoded to 349B.4934.926D.3492.49A.
The signal from sensor 2 is decoded to 26D2.6BB4.9269.B492.49A.
The next step is to modify the SignalDuino firmware for the nanoCUL, to receive the same signal.
The first part of the signal seems to be a synchronization pattern. One bit has a length of ~325µs.
If I now know the sample/symbol rate the signal should be decoded.
So this tool seems to be the right choice helping me, to decode the signal!
First of all I recorded the signal.
URH can now show the spectrogram:
The analog view shows this:
URH can also show the demodulated signal:
That looks very promising. :-)
I did a little research what no I can do with AIRSPY to interpret this unknown signal. I read that the signal can be exported to an audio file. This audio file can be imported by Audacity for example. I played a little bit with both tools but I was not really successful.
But then (by accident) I found URH (Universal Radio Hacker) !!!
I got an cheap SDR-RTL USB dongle on ebay for ~ 20 euros.
The dongle contains a Realtek RTL2812 and a Realtek R828D chip, which can receive radio signals between ~30 and 1700MHz.
In the next step I try to receive a signal with an SDR Dongle and the software AIRSPY (SDR#).
OK, this looks good. I got a signal on 868.475MHz. the two peaks left and right beside the mid frequency is typical for a FSK (frequency shift keying) modulation.
There are simple and cheap USB dongles that can detect 868 MHz devices. I got myself a "nanoCUL" for this purpose.
This consists of an Arduino Nano and a Texas Instruments CC1101 radio chip which can be connected to a PC via USB.
There are several firmware projects for the dongle. SignalDuino, culfw, a-culfw, ...
I tried them all but unfortunately the protocol is not supported. So I must dig deeper here.
Create an account to leave a comment. Already have an account? Log In.
can't wait for updates! this is already shaping up well, and when finished, would be an amazing and simple primer on URH and RF RE work!
Thank you for posting this project! I have always wanted to know more about how to untangle unknown formats, coding schemes and the like. I wasn't aware of the tools you used, so this is really exciting. Good luck in getting these sensors figured out!
Thank you Dewey,
I'm also curious to see if i can get the things to work.
We will see. ;-)
Love seeing unknown protocols decoded, and Universal Radio Hacker is an absolutely fantastic tool. Very interested to see how you progress with this project.
Thank you Tom,
If you have experience with these things, feel free to make your comments here and there - if you like. ;-)
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
Hello,
this is an interesting analysis for me, because I have exactly the same alarm system and I was looking for a long time for documentation about decoding 868Mhz .
With your detailed explanations, I arrived at the same result, and was able to decode my windows sensors.
Thank you very much.
I am now interested in the next step, which consists in integrating the state of my windows sensors in Home Assistant.
I first did some research around EspHome but I did not find anything very concrete.
The only thing that seems obvious to me, is that I will have to use a CC1101 driven by an ESP32, ESP8266 or Arduino.
I didn't know SignalDuino, FEHM, or nanoCul interfaces.
This way seems very interesting.
Have you made any progress ?
Sorry my bad English.
Daniel