Fibaro integration

I'm trying to integrate the HC-SR04 that is connected to the arduino uno on a fibaro universal sensor. however I have doubts how. The universal sensor Fibaro has an entry, the same used for the DS18B20 sensor, which I imagine connecting an output of the Arduino (PWW). A question is also working with the Arduino 5 V and the sensor for the Fibaro in the range 0-10 volts. I thought about using the analogWrite function. I'm on the right track? The intention is to use the sensor to detect the level of u large water reservoir. If it works I'll use the same form for integrate the measurement of soil moisture.