Incidentally, now that it's daytime, I'm not having these online/offline problems. Perhaps the thermostats were assuming "it's late, so I'll go to sleep and recharge my battery".