SmartThings multipurpose sensor connecting as unknown

I finally managed to get it working. Some has made a header for it works perfectly try it out.