-
Notifications
You must be signed in to change notification settings - Fork 804
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
RF support for DSC Security Devices #2118
Comments
Hi @Nealtron The docs just seem to be outdated, as the doc list is also only 81 lines long, up to decoder 102, while the rtl_433_ESP page has 135 lines for OOK decoders and 74 FSK decoders - so the Esperanza EWS shifted down in the rtl_433_ESP list, and your DSC Security Contact is now 34. But the decoder numbers don't really matter, the current release 1.8.0 of OpenMQTTGateway includes the latest rtl_433_ESP library, so all decoders listed should be available already, there is no need to activate individual decoders. If you install an rtl_433 OOK build on whatever compatible board you have you should correctly get the DSC Security Contact correctly decoded. Just keep in mind that the reception of any of the ESP32 boards with whichever different radio receiver might not have as wide a range as your previously used RTL-SDR. Hope this clarifies things a bit. |
Hi @DigiH, I appreciate the information. I installed the "heltec-rtl_433" image via the web utility, which I believe is the OOK implementation, since FSK is explicitly identified on the other image. My OpenMQTTGateway has posted over 20,000 messages to MQTT in the last 24 hours, but it hasn't reported a single DSC sensor. I have approximately 30 DSC sensors in my house with some as close as 3 feet away, so I'm not sure what the issue would be. |
Hi @Nealtron, yes, the "heltec-rtl_433" image is the correct OOK binary to install. I assume you have a 433 MHZ version of the Heltex board, and not some 868MHZ or other version, All I can think of now is that the DSC require some tweaking of the receiving frequency in the WebUI. Do you get any hints about the exact frequency when using your RTL-SDR and turning on verbose logging? |
I'm not sure if this is detailed enough, but here's the output from the RTL_SDR:
I re-ran the query with lower verbosity (-v) and without the protocol restriction and it is reporting 433.9 and 434 MHz frequency for both the DSC and Acurite devices. They also appear to be sharing the same modulation and have similar signal quality stats.
|
The frequency look fine with around the default 433.92 MHz, but you could also try with the above the frequently reported 434.0 MHz in the WebUI. What I also do not know is how the ASK Modulation might affect your missing devices. @NorthernMan54 will likely have more insight into that. |
It appears that the Acurite sensors are also using ASK. Wouldn't they be affected to? The only real difference I see is that the DSC sensors use CRC for integrity, and the Acurite's either use Checksum or don't have data integrity at all. |
As the issue is specific to a particular decoder, and not the overall code base ( you said the acurite decoder is working ). It will take someone with access to the sensor methodically looking into what is happening. There may be something that needs tuning for that particular device. 1 - Use the rtl_433_esp ook example code, so you can tweak code as needed 2 - determine if the board is actually receiving a signal from the sensor. Enable raw signal debug, and see if a raw signal is received for the actually device. This is tricky in a signal rich environment. This will confirm frequency etc. 3 - once you have a raw signal working, look at the signal data waveform to see if the capture is accurate. The means looking at the decoder logic, and how it decodes a signal and manually running the code thru. Some decoders may have debug logic to assist. I have added code to a debugger sometimes to see where or why it is failing. The steps to take it further are all require the physical device. |
I won't have time to try anything before Thanksgiving. @NorthernMan54,Regarding the test procedure, I'm concerned about signal isolation as I have a lot of sensors in my house. Do you know if it would work if I placed the the sensor and the ESP32 in a Faraday bag? Alternatively, would you (or anyone else in the community) be interested in testing the sensor? |
Omg wouldn’t work in a faraday cage ( wifi ), but the rtl_433_esp example might. personally I’m away for most of the winter without access to my test setup, so I don’t have the ability to test. |
I don't know why, but as soon as you said debugging, in my head I assumed that it meant I'd be collecting data via the USB serial connection. I just assumed the WiFi wouldn't be necessary, and that's on me. |
Is your feature request related to a problem? Please describe.
The OpenMQTTGateway project doesn't list "DSC Security Contact" under the list of supported Decoders. I'm requesting that support for wireless "DSC Security Contact" sensors be enabled.
Describe the solution you'd like
Add (or uncomment) the the device encoder protocol number for DSC Security devices within the rtl_433 configuration. I've monitored these devices from my RTL-SDR for years and they appear to use Protocol 23 under the rtl_433 project. I believe that translates to Protocol 34 on rtl_433_ESP.
Describe alternatives you've considered
No alternatives that I'm aware of.
Additional context
I wouldn't mind trying to test support for the new device type, but I can't seem to determine where to set which protocols are enabled on my device. Reviewing the documentation for rtl_433 device decoders, I can't seem to line up the list of supported decoders with rtl_433_esp project. According to the docs, Protocol 34 is already enabled, but the decoder is described as "Esperanza EWS" instead of "DSC Security Contact".
OpenMQTTGateway Documentaton:
rtl_433_ESP documentation:
The text was updated successfully, but these errors were encountered: