Ever replaced battery on a FIBARO FGK101 Door Opening Sensor? Then maybe you also found out that it factory reset itself if you have moved magnet away from the sensor body and the rear tamper switch is closed while inserting the new battery. That's very annoying, almost frustrating.
This is obviously not a Domoticz problem. I write it here as a reminder for myself next time. It might have happened to someone else too.