Is there a database with compatible devices and item numbers?

For contact sensors, I recommend Wyze sensors and [RELEASE] Alpha WyzeSense Integration. It does require another server to run a program though