I have mentioned this before but if anyone is currently using the xiaomi vibration sensors with the Mi connector they do not work as vibration sensors and work as buttons. This makes them completely useless for what they where designed for. If anyone is able to help resolve this fault that would be amazing I have messaged the developer several times but with no response over the last 4 months. I have tried to edit the code myself with no success. I really want to get them working correctly so I can secure the house at night and when not at home.