Sonoff Zigbee contact sensors going offline

After you add them to smartthings, unplug the hub and leave it off power for about 15 minutes. While leaving all your other devices on power. Then when you power it up again all the Zigbee devices will look for the best route, which will cause them to use the new repeaters.

Also, you might find the following helpful: