I have a bunch of door sensor you can find in the title (same reviewed here).
I am acquiring them with EspHome, which I appreciate is a bit off-topic here, using pre-defined protocol and binary signal definition.
I am unsure that is the most reliable way though: EspHome allows also to define a custom protocol, I was then wondering if someone (@1technophile ? ) could share the decoded signal characteristics for these sensors.
I tried to extract them from OMG GitHub code but…I am really not a programmer hence could not understand where it was defined.
Thank you for your answer as first thing.
So currently I set ESPHOME with “protocol 1” and a binary code to receive the door/window sensor.
I am not sure though “protocol 1” is the best choice as I need to set a quite high decoding tolerance (50%) to be able to receive the signal.
Also i see I don’t receive a burst of signals all similar to each other, but usually I get 1 out of 2 being right.
For example if the code is “10101010111” I get it and then some spurious “101010” for example.
So finally I would like to see if I can get better performance defining a custom protocol (link) but to do so I think I need some signal parameter for those sensors.
To be honest I didn’t try with OMG: reason is I am using esp32 devices for other things (to monitor a pump, etc…) which are not compatible with OMG.
So it is true I get at least 1 signal but that is not so consistent when sensors are farer from the gateway, so sometimes they are not captured (correctly) at all.
Therefore my request
In terms of line on sight not much, probably 4-6 meters.
Issue is it is not free air.
Anyway the thing is event 1m far in free air still there is not a “clean” reception as described above.
So I hope with a better decoding I could get a more reliable signal
I have GDS-07 and ESPHome running on ESP8266 (installed about 1-2m near the window without anything that might block the signal). If I remember correctly, I connected RX6B to ESP. Works perfectly. (Initially I tried to reuse my RFLink device to read this sensor, but due to signal problems I decided to reuse local ESP installed in the same room).