Problem with Homekit, Devices not responding after a few hours

The specific file that was losing data for me, the one I backed up and replaced if I lost the host is located at: (Im running this on MacOS)

“openHAB application”/userdata/jsondb/homekit.json

Here is a picture of the help files for file locations