First: The RPi GPIO pins are not 5V tolerant, so you are inviting trouble if the 100ohm resistor is inadvertently shorted during operation. You might want to consider tying the DS18B20 VCC to 3V3, as they work just fine at that voltage.
Second: You might want to consider increasing the size of the resistor. At 5V and 100ohms, it's possible to exceed the PRi's safe current limits. Here
is an explanation of that. I use a 4k7 resistor at 3V3 over very long ( > 50ft) lines with no problem.
Third: You're driving what appear to be 5V relays with the 3V3 output of the RPi. Depending on the specs of the relays, this may or may not be adequate for proper drive. The SSRs I use operate at from 3-32 VDC.
Just some points to ponder...