Page 1 of 1

rtl_433 with PIR motion detector on EV1527

Posted: Sunday 07 January 2018 18:33
by nalesnikizdzemem
Hi all!
It is my first post on this forum so greetings for all forum users.

Recently I purchased some Chines cheap PIR motion detector in order to use it on Domoticz with rtl_433.
Device is based on EV1527 chip.
Unfortunately rtl_433 is detecting the activation signal as series of generic_remote and is unusable in Domoticz:

"Test mode active. Reading samples from file: gfile016.cu8
Input format: uint8
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Generic Remote
House Code: 42465
Command: 89
Tri-State: !!FF1!0FFF!F
@1.048576s : Smoke detector GS 558 : 21565 : 5 : 0
Raw Code: 9a87a5
Test mode file issued 3 packets


Domoticz is reporting something similar:

2018-01-07 18:28:32.912 Rtl433: Unhandled sensor type, please report: (2018-01-07 18:28:32,Generic Remote,42465,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
)
2018-01-07 18:28:34.014 Rtl433: Unhandled sensor type, please report: (2018-01-07 18:28:32,Generic Remote,42465,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
)
2018-01-07 18:28:35.417 Rtl433: Unhandled sensor type, please report: (2018-01-07 18:28:32,Smoke detector GS 558,21565,,,,,,,,,,,,,,,,,,,5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,9a87a5,,,,,,,,,,,,,,,,,,,,,,,,
)


Do you have any ideas how to make it usable?

the gfile and device photos are here:

https://1drv.ms/f/s!AkQvnJv4Atd9aTBxnmZjzvroQgQ

EDIT:

I got also this help from rtl_433 forum:

rtl_433 -q -C si -F json -R 1 -X "pir:OOK_PWM_RAW:800:2000:13000,match={24}0x5a1ea6,minrepeats=3" -r ~/gfile005.data
Test mode active. Reading samples from file: /home/pi/gfile005.data
{"time" : "@1.048576s", "model" : "pir", "num_rows" : 25, "rows" : [{"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 25, "data" : "5a1ea680"}, {"len" : 16, "data" : "5a1f"}]}

Re: rtl_433 with PIR motion detector on EV1527

Posted: Monday 06 July 2020 9:10
by rocker1978
Did you ever get this to work? I have the same issue.