Securifi SZ-PIR02

hi,
how can i use the device with smartThings app?
I used the code posted here: Securifi SZ-PIR02 motion sensor , but it doesn’t work because my app report always the state of MOTION.

How can i resolve this problem? i hope in your help!

thank you :slight_smile: