-
Notifications
You must be signed in to change notification settings - Fork 1.4k
add Driveway alarm motion sensor I8-W1901 #2493
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
Conversation
If it's 25 bits (24+sync) and just an ID then this is a x1527(-style) encoder. Can you change this PR to add a .conf file for this? Keep all the documentation but the actual code should shorten to just a few conf instructions. |
The problem is that the data is in two separate rows, and .conf files don't support processing two rows at a time (as far as I know). The rows look like this:
I can't see a way to handle two rows in a conf file, but perhaps I am missing something. Also it is not 25 bits, but 26 (25+1). |
That row with a single bit should just be an artifact of the sync pulse. You really just want to match the ID and a minimum number of repeats for robustness, so |
We can't use also how would I specify the sync bit in the |
Most .conf files are just examples you can edit as needed. Using a custom Re sync: the gap limit looks rather short what's the timing of the normal gaps, after the sync and between repeats? |
Ah I see, I appreciate your explanation! and thanks for the prompt replies! the gap after the sync is about 5480 us |
The reset limit should be 7000 (the nominal value +10%, rounded up). |
Ok, great; I will make the conf file, test it for a little bit and update the pr. Again, thanks for your prompt replies! You make rtl_433 an example to follow. |
Thanks, but I'd say it the whole community of contributors and enthusiastic people that bring this project to life. |
Just submitted the conf file. Yes, the whole community makes it a great project; but this community would not exist except for the nice work you do! :) |
Very nice walk-through in the documentation, this will be an ideal starting point for others with similar devices! |
This is a very nice (with high quality brass screw threads) motion sensor for driveways (SKU I8-W1901). The code was made based on
generic_motion.c
, and it works well. I have tested it at different distances and it worked up to about 45 meters.It is a very simple sensor, since it only reports motion (without any signal indicating 'clear').