Esp8266 in script for regular time to boot

Iam a noob so…

I have a esp8266 connected with wifi on homeassistant ESPHome and this device controls 7 DS18B20 temp sensors! on 3 pins for the esp8266, its works good BUT:
On a regular base 2 to 3 days 1 DS18B20 (always the same sensor) sensor gives after that period a error and produce no more temp information. after a reboot of the esp8266 everything is fine again.

Now i want to reboot the device esp8266 on a regular base and the question is how to do that??
(Its very difficult to replace the sensor) I use those temps to control my floor heating in the different rooms.

Grtz Frans

You can try an internal reboot of WLED, create a preset containing ‘{“rb”:true}’.
See if firing that brings the DS18B20 back on line.
If so, you can add that preset to a Timed macro that fires once a day.

If not, can you get to the power line for the sensor?
You could connect a relay to the line and set a macro to periodically flip the relay.
Or use a GPIO to drive the sensor power directly and toggle that.

Other than that you’ll need some hardware/circuitry to physically interrupt power to the ESP.

thanks