Ecolink door/window sensor intermittent problem

I have 4 ecolink z-wave door/window sensors which I hard wired to a contact switch to sense if a door dead bolt lock is set. They have worked well for the most part but recently a couple of sensors have started to randomly switch to open and then according to the devise logs (sample below) keep switching between open and close every second or so. Changing batteries doesn’t help but removing and re-inserting the battery most times seems to reset the sensor.

Based on the log and my description, any ideas why this is happening?

Need help,

Ray