Smart Thermostat Keeps Losing Power
The symptoms sound to me like the transformer isn't capable of supplying enough power. Check what the VA rating is on the transformer, and compare to the draw required by the furnace and two thermostats (divide VA by volts to get amps).

If it's undersized, you'll have to setup an external transformer.