I have a couple of esp8266's in service, running espeasy (one is version R120 and the other is version mega-20180809) where from time to time the DS18b20 connected to it will apparently become unresponsive, leaving espeasy reporting the same temperature indefinitely, regardless of how ambient behaves.
I am safely within that range I'd say.DS18B20 Technical specs: Usable temperature range: -55 to 125°C (-67°F to +257°F)
I periodically need to manually hard reset the whole esp to recover from this and find that a soft reset of the esp alone does nothing for the DS18b20's state of mind.
I realize that the sensible thing to do is to change out the relevant DS18b20's but it occurs to me that with an appropriate gpio pin toggle, I could likely hard reset just the DS18b20 remotely if I were to power the DS18b20 using a gpio pin directly or via a transistor. Plan A
Alternatively, I could wire the power to the whole esp8266 and DS18b20 via a Normally Closed relay contact which I could open with a gpio toggle which operates the relay. Plan B.
I suppose I could power just the DS18b20 via a N.C. relay contact and toggle its power by gpio pulse but don't see any advantage to this over my previous strategies. Plan C.
Any known precedence for any of this?
Thoughts, admonitions, warnings ?