Direct Connection using RPI?

Hi, @lisxin. Welcome to the SmartThings Community!
I just saw your post was stuck. Are you still having this issue with the Direct-Connected integration?
Here’s another thread that could help you out: