Fibaro Door Sensor Fix and SmartThings Integration Tips

Hey everyone, I wanted to share my recent experience with the Fibaro FGK-101 door sensor. After some troubleshooting, I managed to get the temperature and tamper detection working properly! Here’s what I learned:

First, I had to revert to the original SmartThings GitHub code for the Fibaro door sensor. I found that the temperature feature wasn’t working until I reset the sensor after installing the DS18B20 temperature probe. It was a bit frustrating because I had to reset it multiple times, but persistence paid off!

One thing I noticed is that after resetting, you have to completely remove the sensor from your settings and re-add it. This can be a bit of a hassle if you have existing integrations using the sensor, but it was worth it for the functionality.

I also discovered that the sensor needs a bit of time to wake up after a tamper event. Clicking the tamper button and waiting about 5 minutes made the temperature reading appear in the app. It’s a small detail, but it makes a big difference in getting everything to work smoothly.

If you’re looking to integrate this sensor into a more complex setup, like connecting it to an existing smoke alarm system, I’ve started experimenting with modifying the driver code. I plan to share more details once I get it fully working. It’s a fun weekend project!

Overall, I’m really happy with how this sensor is performing now. The temperature readings are accurate, and the tamper detection adds an extra layer of security. If you’re having issues with your Fibaro sensor, I hope this helps!

Happy tinkering everyone! :rocket: