|
| 1 | +# |
| 2 | +# Driveway alarm sensor SKU I8-W1901 |
| 3 | +# This sensor Detects motion and comes with a receiver that plays 32 different |
| 4 | +# melodies at selectable volumes. The receiver with the speaker plugs into a |
| 5 | +# 120Vac outlet and the motion sensor is powered by 3 AAA batteries. The plastic |
| 6 | +# material is high quality and has brass inserts for the battery cover screws. |
| 7 | +# The receiver (that comes with the sensor) has the ability to pair with 4 |
| 8 | +# different sensors. |
| 9 | +# Amazon: https://www.amazon.com/Driveway-Alarms-Wireless-Outside-Weatherproof/dp/B0BFDMKD98 |
| 10 | +# SKU: I8-W1901 |
| 11 | +# On Amazon it is sold by FREETIM, but the packaging does not mention this name |
| 12 | +# anywhere; it is unbranded. |
| 13 | +# It is a 433.92 Mhz device and it repeatedly sends two rows of data when motion |
| 14 | +# is detected: |
| 15 | +# ---------------------------------- |
| 16 | +# Data Length |
| 17 | +# - first row 8 01 bit (artifact of sync bit) |
| 18 | +# - second row <device id> 25 bits |
| 19 | +# ---------------------------------- |
| 20 | +# There is no additional data provided by the sensor, it simply detects motion. |
| 21 | +# |
| 22 | +# The following flex decoder was used for the above analisys. |
| 23 | +# $ rtl_433 -R 0 -X 'n=driveway,m=OOK_PWM,s=200,l=596,r=6196,g=608,t=158,y=0,repeats>=10,bits>=20' |
| 24 | +# repeats>=10 and bits>=20 was used to filter out any possible noise. |
| 25 | +# |
| 26 | +# Decoder |
| 27 | +# ------- |
| 28 | +# After discussion with zuckschwerdt (https://github.com/merbanan/rtl_433/pull/2493) |
| 29 | +# we decided to include the sync bit into the packet (for robustness) by increasing |
| 30 | +# the gap limit to 900 us and then matching on 26 bits as the ID. This gives us a |
| 31 | +# flex decoder like this: |
| 32 | +# $ rtl_433 -R 0 -X 'n=motion,m=OOK_PWM,s=188,l=588,r=7000,g=900,t=160,y=0,match={26}c4ea674,repeats>=3' |
| 33 | +# |
| 34 | +# How to use |
| 35 | +# ---------- |
| 36 | +# 1. Run rtl_433 -R 0 -X 'n=motion,m=OOK_PWM,s=188,l=588,r=7000,g=900,t=160,y=0,repeats>=3,bits>=26' |
| 37 | +# 2. Activate the motion sensor, and write down the hex value of the 26 bits you get |
| 38 | +# 3. Replace the value in the match= line below with the one you just got |
| 39 | +# |
| 40 | +# Voila! Enjoy! |
| 41 | +# |
| 42 | +# This sensor was tested at about 45 meters of distance and through layers of wood |
| 43 | +# and walls and it worked well. |
| 44 | +# |
| 45 | + |
| 46 | +decoder { |
| 47 | + n=Driveway alarm I8-W1901, |
| 48 | + m=OOK_PWM, |
| 49 | + s=188, |
| 50 | + l=588, |
| 51 | + r=7000, |
| 52 | + g=900 |
| 53 | + t=160, |
| 54 | + bits>=26, |
| 55 | + repeats>=3, |
| 56 | + countonly, |
| 57 | + match={26}c4ea674 |
| 58 | +} |
0 commit comments