DS18B20 - weird behaviour

hi,
This is not a real Arduino problem but more a weird hardware issue I’d like to share, maybe someone more experienced with this kind of devices will have a solution or an idea of what’s going on.

We made a custom board with a RPi, some relays and 230V power for lights and stuff. There are three sensors, two 1wire DS18B20 for temperature and one sht35 for temperature and humidity.
We had this board working perfectly in lab for days. As soon as we deployed in production the 1wire sensors started behaving weirdly, one measuring 20° more than the real temperature and the other one disappearing from the bus. One of the sensor was heating up a little bit, but we made sure there was no contact or short-circuit among the wires.

Nothing in the cabling or in the structure has been changed in the production environment. We just unplugged the sensor cables and put them in guides.( cable lenght approx. 2 mt ) .
DS wiried up in normal power mode with 4,7kohm resistor.

The only thing which came to our mind is that the 1wire cables are close to the 230V one. Could that interfere or damage the sensors? Any other behaviour which could damage the 1wire sensors?

thank’s
fab

frompani:
The only thing which came to our mind is that the 1wire cables are close to the 230V one. Could that interfere or damage the sensors?

I'd guess that you have identified your issue. Can you run a similar setup in your lab to test it?