Contents
- How the LD works
- Before you start
- Mounting
- Antenna and reception
- Connecting to Wi-Fi
- Setting up the tank
- Alert at MIN and MAX
- Measured values and messages
- Remote access and push
- Home Assistant and MQTT
- Power saving mode
- Smoothing, calibrating, protecting
- Backup, update, reset
- If something does not work
- Technical data
- Safety, conformity, disposal
1. How the LD works
The LD level sensor measures the level in unpressurized containers contactlessly from above, for liquids or solids, up to a container height of 12 m. It works with LiDAR (time of flight): it emits short light pulses that are reflected at the surface and calculates the distance from the transit time.
The sensor runs in your Wi-Fi network and you operate it in the browser, no app needed. The values go via MQTT to Home Assistant and other smart home systems, or via Senvolon Remote Access to your phone, with push notifications on alert.
More about the device on the LD level sensor product page, and an application example under Rainwater tank.
2. Before you start
You need:
- The name and password of your Wi-Fi network. The sensor operates in the 2.4 GHz band.
- A power outlet within reach of the 2 m connection cable.
- A phone, tablet or computer with a browser.
- For mounting, a T-shaped spirit level and, depending on the installation location, a mounting bracket.
Safety instructions:
- The sensor is intended solely for the purpose described in these instructions.
- The sensor is supplied ready to plug in. Plug it only into a properly installed socket outlet and protect the plug and the socket outlet from moisture.
- Disconnect the mains plug before cleaning or maintenance. Do not use the sensor if the cable, the plug or the enclosure is damaged.
- Do not open or modify the device. Do not expose it to direct sunlight and use it only in the environment specified in the technical data.
- Not for tanks containing flammable liquids such as heating oil, diesel or petrol.
- Keep a minimum distance of 20 cm from persons during operation.
3. Mounting

- At the top of the tank, with a clear view downward. The sensor measures from above onto the surface. Keep at least 10 cm distance to the highest filling level, preferably 20 cm for clear liquids such as water. You enter the exact distance later under “Tank Config”.
- Level in both directions. Align the sensor with a T-shaped spirit level in the longitudinal and transverse direction. If mounted at an angle, it will deliver incorrect measurements or none at all.
- Nothing in the light cone. Pipes, hoses or the tank wall must not obstruct the cone. It becomes wider with distance: 6 cm in diameter per meter, so 72 cm at 12 m.
- Fasten it. For example at the opening with a bracket on the inner wall of the tank, with sufficient distance from the wall. The sensor must never be immersed in the liquid.
- Connect the power. Plug the mains plug (230 V) into the socket outlet. With the version with an external antenna, connect the antenna first, see chapter 4.

The sensor head is mounted outside the enclosure. You can turn its viewing direction by 180° by loosening the two screws and fastening it on the other side of the mounting. Drilling pattern and dimensions: Technical data. A suitable mounting bracket is available. More practical tips on mounting: How to mount a LiDAR sensor correctly.
4. Antenna and reception

Make sure that the Wi-Fi connection at the installation location is sufficiently strong. After setup you can see it as RSSI on the main page under “More”:
| RSSI | Wi-Fi signal quality |
|---|---|
| above -50 dBm | excellent |
| -50 to -60 dBm | good |
| -60 to -70 dBm | adequate |
| below -70 dBm | weak |
With an external antenna (SEN181-EA): Place the antenna where reception is good, for example above the shaft cover, and screw its plug onto the RP-SMA connector. Only connect the antenna when the sensor is disconnected from the mains. Only antennas with 2400 to 2483.5 MHz, 50 Ω, VSWR of at most 3.0, linear polarization, a gain of at most 3.5 dBi and an RP-SMA connector may be used. Our external Wi-Fi antenna and the extension cable are suitable.
More on this: Ensuring Wi-Fi reception for the level sensor.
5. Connecting to Wi-Fi
- Connect to the sensor. After plugging it in, the sensor opens its own Wi-Fi network called “LevelSensor-xxxxxx”. Connect your phone, tablet or computer to it, the default password is “12345678”.
-
Open the setup page. Enter
http://192.168.4.1/wifiin the browser. If the page does not appear, check whether you are still connected to the sensor’s Wi-Fi, and switch off mobile data on your phone or tablet. -
Enter your Wi-Fi. Select your Wi-Fi network under “Available networks” or enter its name yourself under “Network name (SSID)”, plus the password. Under “Hostname” give the sensor a name of 15 characters at most, for example
zisterne. You can leave everything under “More” as it is. Tap “Save” and wait a moment. - Check the connection. If it worked, the IP address and the status “connected” are shown at the bottom of the page. Note down the address.
-
Back to your own Wi-Fi. Connect your device to your Wi-Fi network again and open the IP address in the browser. If your router supports name resolution,
http://zisternealso works, on a FRITZ!Boxhttp://zisterne.fritz.box.

Forgot the address? It is in the device list of your router, or you can search for the name of the sensor with a network scanner app. If it cannot be found either in your Wi-Fi network or as “LevelSensor”, briefly disconnect it from the power supply.
6. Setting up the tank
Under “Tank Config” you tell the sensor where full and where empty is. You measure both values from the sensor downward:
- Distance to surface: distance to the surface when the tank is full, at least 10 cm.
- Distance to bottom: distance to the bottom or to the lowest level you use, at most 1,200 cm.
Liters instead of just percent

Under “Tank geometry”, select cuboid, vertical or horizontal cylinder or sphere and enter the length a and, where applicable, b in cm. The graphic on the page shows what a and b are. For a horizontal cylinder, b must not be smaller than the usable height (distance to bottom minus distance to surface).

Other shape: capacity table
For other shapes, select the capacity table under “Tank geometry”, which you can usually get from the tank manufacturer. It assigns the contents in liters to each filling level. The table is built up from bottom to top: at the bottom there are always “0” and “0” for the empty tank, at the top the full filling level with the full contents. The filling levels must increase upward and must not exceed the usable height. Add rows with “+” and delete them with “-”.

For advanced users: formulas instead of liters
The “Filling volume” column can also contain formulas. The height within a section is called h, and each section is calculated with its own height. This lets you combine shapes from bottom to top, for example a vertical cylinder (radius R, height a) with a truncated cone on top (height b, upper radius r):

| Level (cm) | Filling volume (l) or formula |
|---|---|
| a + b | =pi/3*h*(R**2+R*(R-h/b*(R-r))+(R-h/b*(R-r))**2)/1000 |
| a | =pi*R**2*h/1000 |
| 0 | 0 |
Enter your values in cm for a, b, R and r. Divided by 1,000 this gives liters. The following are allowed: + - * / ( ) **, sqrt(), exp(), log() (natural logarithm), sin() asin() cos() acos() tan() atan() in radians, abs() and pi.
How often values are updated
With the “Update” slider on the main page under “More”, between 1 and 60 seconds. This applies to the display, alert and MQTT, while measuring takes place continuously anyway. On a computer, set the slider roughly with the mouse and precisely with the arrow keys. All settings only take effect once you press “Save”.
7. Alert at MIN and MAX

On the main page under “More”, use the sliders to set a minimum and a maximum in percent. With the “Alert MIN” and “Alert MAX” switches you determine whether an alert is raised there at all. If the level reaches or falls below the minimum, or reaches or exceeds the maximum, the sensor reports “MIN” or “MAX”. The display turns red: at MAX the part of the bar above the maximum, at MIN the entire bar.

To keep the alert from flickering, there is the hysteresis (“Hyst min”, “Hyst max”, in percentage points). It controls when the alert is cleared again. This keeps the alert signal stable when the level fluctuates frequently, and you can, for example, control a pump to fill or empty up to a certain level.
The minimum must be at least 2 percentage points below the maximum, and each hysteresis must be at least 2 percentage points smaller than the gap between the two. The sliders do not allow invalid values. An alert that is switched off is not shown.
The alert is not an overfill prevention device within the meaning of WHG and AwSV.
The alert reaches your phone as a push notification with remote access or via MQTT in your smart home. An example: Dry-run protection for the garden pump.
8. Measured values and messages
- Level: relative level in %
- Fluid: filling volume in liters
- Distance: from the sensor to the surface in cm
- Height: absolute level in cm
- Alert: MIN or MAX
- Enclosure: temperature inside the enclosure in °C
- Sensor signal and RSSI under “More”: strength of the light signal and Wi-Fi reception in dBm
| Display | Meaning | What to do |
|---|---|---|
| “Sensor issue!” | The sensor does not receive any valid measured values. | Check alignment and clear view, keep the light output opening clean. |
| “Measurement outside the range!” | The distance lies outside the distances set under “Tank Config”. | Check the distances, for example after an overfill. |
| “-” instead of measured values | No valid measured value yet since switching on or restarting. | Wait briefly. |
Overheating protection: If the enclosure reaches 65 °C, for example in blazing sun, the sensor switches itself off and resumes operation below 55 °C. During this time it cannot be reached and reports neither measured values nor alerts. If it cannot measure the enclosure temperature several times, it shows “-” there.
9. Remote access and push
With remote access you can see the level anywhere and receive push notifications on alert. The sensor uses either remote access or MQTT.

- Switch it on. Under “Connections”, select “Remote Access”. Note down the “Remote id” shown, it always begins with a small “l”. Set a password of at least 8 characters and save. If remote access is unavailable, the sensor tries again regularly, you set the interval under “Reconnect after”.
-
Log in. Open
remote.senvolon.deon your phone, on the iPhone in Safari, on Android in Chrome, and log in with the id and password. - Save it as an app. iPhone and iPad: share icon (square with an arrow pointing upwards, at the bottom on the iPhone, at the top right on the iPad), “Add to Home Screen”, “Add”. Android: menu (three dots at the top right), “Add to Home screen”, “Add”.
- Switch on push. In the web app you switch on the notifications for alerts.
In detail with screenshots: Checking the level via app.
10. Home Assistant and MQTT

- Enter the broker. Under “Connections”, select “MQTT Broker”, enter the name or IP address under “Server” and the port under “Port” (default 1883), and if required login and password. “Reconnect after” defines when a new attempt starts.
- Assign names. “Client id” and “Main topic” only with letters without umlauts, digits and “_”, without “+”, “#” and “/”. The client id must be unique for each MQTT client, and the main topic must be filled in.
- Tick Home Assistant. Then Home Assistant finds the sensor by itself via MQTT Discovery. Besides the measured values, it creates the minimum, the maximum, both hystereses, update, both distances and both alert switches as adjustable values.
For an encrypted connection, use the “Encryption” switch (SSL/TLS), then with the TLS port of your broker, usually 8883. The “Publish interval” defines how often the complete status is sent as JSON. All settings only take effect once you press “Save”.
Step by step with pictures: Integrating the level sensor into Home Assistant. Ideas: Rainwater tank dashboard with rain forecast and Rainwater tank as rainwater retention.
For ioBroker, Loxone, openHAB, Homematic, KNX and other systems there is a separate guide for each: Level sensor in the smart home.
Topics, values and commands
The sensor uses the Tasmota scheme. If a measured value changes, it is sent with the next refresh (“Update” slider) under stat/{Main topic}/…. The publish interval applies to the complete status under tele/{Main topic}/STATE.
-
tele/{Main topic}/STATE: current status -
tele/{Main topic}/LWT: availability -
stat/{Main topic}/VALUE: state of a value -
cmnd/{Main topic}/VALUE: sets a value, for examplecmnd/{Main topic}/WIFI_ONfor a new time
Send numbers without a unit (e.g. “20”), times as HH:MM, and the alert switches with ON or OFF. The sensor discards invalid values. For distances, minimum, maximum, hysteresis, update and alert switches it then reports the valid value back under stat/…. The distance to the surface must be smaller than the distance to the bottom: if both increase, send TOP2BOTTOM first; if both decrease, send TOP2SURFACE first.
| Value | Description |
|---|---|
| WIFI_ON | HH:MM, for example 6:00 |
| WIFI_OFF | HH:MM, for example 22:00 |
| MQTT_PUBLISH_INTERVAL | Publish interval in seconds, for example 300 = 5 minutes |
| TOP2SURFACE | Distance to surface, for example 20 cm |
| TOP2BOTTOM | Distance to bottom, for example 200 cm |
| READ_INTERVAL | Refresh interval for the measured values, for example 5 s |
| UPDATE | sends the current device status |
| MINI | Minimum, for example 10 % |
| MAXI | Maximum, for example 90 % |
| HYST_MIN | Hysteresis minimum in percentage points |
| HYST_MAX | Hysteresis maximum in percentage points |
| ALERT_MIN | Alert minimum, ON or OFF |
| ALERT_MAX | Alert maximum, ON or OFF |
| POWERSAVE | Switch off power saving mode: OFF, send with retain flag |
| Value | Description |
|---|---|
| DISTANCE | Distance to surface, for example 25 cm |
| LEVEL | Absolute level, for example 120 cm |
| REL_LEVEL | Relative level in percent, for example 85 % |
| FILLING | Filling volume in liters, for example 50 l |
| ALERT | Alert: MIN, MAX or empty |
| STRENGTH | Strength of the light signal, for example 2872 |
| TEMPERATURE | Enclosure temperature, for example 20 °C |
| Value | Description |
|---|---|
| IP | IP address, for example 192.168.178.47 |
| SIGNAL | Wi-Fi reception (RSSI), for example -73 dBm |
| PROBLEM | technical problem with the sensor (True/False) |
| OUT_OF_RANGE | measured value outside the configuration (True/False) |
| LWT | Availability, for example Online |
| SLEEP | Seconds until wake-up (power saving mode) |
Retrieval via HTTP
http://hostname/measurements returns the current measured values as JSON. With access protection, append the access credentials: http://hostname/measurements?login=…&password=…
11. Power saving mode
With the “Power saving” switch under “System”, the sensor goes into a deep sleep and wakes up only at fixed intervals: it takes a measurement, sends the values to the MQTT broker or to remote access and goes back to sleep. You choose the interval under “Wake up every” (1 to 24 hours). The mode can only be switched on when the sensor is connected to your Wi-Fi network and to an MQTT broker or to remote access.
- Maintenance window: After switching on and after every restart, the sensor stays awake and reachable for as long as is set under “Maintenance window” (5 to 60 minutes). Every page request extends it, including a request via HTTP. As long as the main page or “Wifi”, “Connections” or “System” is open, even in a background tab, the sensor does not go to sleep. So after setup, close all pages of the interface and do not query the values via HTTP at regular intervals.
- While asleep, the sensor cannot be reached either via your Wi-Fi network or via its own Wi-Fi network. To wake it up, briefly disconnect it from the power supply. In the following maintenance window you can switch the mode off, via MQTT with POWERSAVE OFF.
- Alerts are evaluated at every wake-up. If a limit is exceeded or fallen below between two wake-ups, the sensor only notices this at the next wake-up.
- If it cannot connect when it wakes up, it goes back to sleep after one minute at the latest and tries again next time. Wi-Fi time control is suspended in power saving mode.
12. Smoothing, calibrating, protecting

Smoothing unsteady values
Under “System”, the “Moving median” smooths outliers, for example caused by waves or reflections. The “Window size” states over how many of the most recent measured values the median is formed. As a new value is produced about every second, 60 s means roughly the last 60 seconds. Example: from 100, 101, 100, 145 and 99 cm the result is 100 cm, and the outlier 145 is dropped. The larger the window, the smoother the values.
“Confirm large changes after” (10 s by default): if the value jumps by 10 cm or more, it must remain stable for that length of time before it is shown. Smaller jumps from 3 cm upwards get through after a few measurements. More on this: Eliminating fluctuating measured values and outliers.
Calibrating

With clear liquids such as water, or if the sensor is not installed exactly vertically, calibration is worthwhile: “System”, “Calibration”. Under “Measured (cm)” enter the distance shown and under “Target (cm)” the distance you measured by hand. If there is only one row, the sensor shifts all distances by the same difference. It converts linearly between further measuring points above the “0”/“0” row. The table is built up from bottom to top, begin with the smallest distance.
If it is already calibrated, reset the table to a single “0”/“0” row before a new calibration and save, otherwise the correction is applied twice. More on this: Calibrating the level sensor.
Protecting access
Under “System”, use “Authentication” to switch on login and password for the interface: only letters without umlauts, digits and - . _ ~, the password at least 8 characters.
Time-controlled Wi-Fi and other options

- On / Off: Wi-Fi only at certain times, in German local time. The same start and end time means: always on. This requires internet for the time (NTP server, “pool.ntp.org” by default).
- Reconnect after: how long the sensor waits after a dropout until the next attempt.
- IP configuration: by default via DHCP, with a static IP address if desired.
- Access Point: Without a connection to your Wi-Fi network, the sensor opens its own Wi-Fi network, always at 192.168.4.1. With “Wifi + Access Point” it additionally stays open, this is switched on by default. Change its password after setup (at least 8 characters).
13. Backup, update, reset
- Backup: Under “System” you download the configuration as JSON. It contains your access credentials, so keep it confidential.
- Firmware update: Download the file from Downloads and firmware updates, do not rename it and upload it under “Update” via “File upload” and “Upload”. Wait until the main page appears again.
- Restoring the configuration: Upload the saved “config.json” in the same way, then “Restart”. Only then does it take effect.
- Sensor name and language: Under “System” you change the name on the main page and in Home Assistant, and the language of the interface (German, English or Spanish).
- Reset: After a confirmation prompt, restores everything to the factory state and deletes the log. Afterwards the sensor can be reached again via its own Wi-Fi network “LevelSensor”, and the interface is in English.

14. If something does not work
Common questions
Reception
Weak Wi-Fi in the rainwater tank
Read the signal strength and improve reception, with or without an external antenna.
I cannot find the “LevelSensor” Wi-Fi network.
Briefly disconnect the sensor from the power supply. Without a connection to your Wi-Fi network it opens its own Wi-Fi network; with “Wifi + Access Point” (switched on by default) it also stays open while a connection exists. If it is connected to your Wi-Fi network, you can also find it in the device list of your router. In power saving mode it cannot be reached at all between wake-ups.
The page 192.168.4.1 does not open.
Check whether your device is still connected to “LevelSensor”, and switch off mobile data on your phone or tablet. Then open http://192.168.4.1/wifi.
The connection keeps dropping.
Read the RSSI under “More”. Below -70 dBm the reception is weak. An external antenna on the SEN181-EA helps, see chapter Antenna and reception.
The values jump around.
Check whether something is in the light cone and whether the sensor points straight down. After that, the “Moving median” under “System” helps.
The main page says “Sensor issue!”.
The sensor does not receive any valid measured values. Check alignment and clear view and keep the light output opening clean, without a cover or film.
The sensor is temporarily unreachable.
If power saving mode is on, it sleeps between wake-ups. In blazing sun it switches itself off at 65 °C in the enclosure and resumes operation below 55 °C. Also check whether a time window is set under “More” in the Wi-Fi configuration.
How do I find the cause of a problem?
Under “System”, switch on logging, and for more details also “Debug”. The most recent entries are shown directly below, and you can download the entire log. From 100 KB onwards the sensor shortens it by removing the oldest entries. In everyday use, switch both off again. Our support is also happy to help at support@senvolon.de, ideally with the log file.
You will find short videos on setup and operation under Video guides. Your question is not covered? Write to us via the contact form.
15. Technical data
| Feature | SEN181 | SEN181-EA |
|---|---|---|
| Measuring principle | LiDAR (time of flight), 850 nm | |
| Light source | IR LED, Exempt Group according to EN 62471 | |
| Measuring range | 0.1 to 12 m | |
| Accuracy | ±5 cm (0.1 to 5 m), ±1 % (5 to 12 m) | |
| Field of view | 3.6° | |
| Antenna | internal, 1.16 dBi | external, RP-SMA, max. 3.5 dBi |
| Wi-Fi | 2400 to 2483.5 MHz, max. 20 dBm EIRP | |
| Power supply | 230 V AC, protection class II | |
| Power consumption | max. 2 W | |
| Degree of protection | IP65 | |
| Temperature range | -20 to +40 °C | |
| Dimensions (W × H × D) | 75 × 39 × 108 mm | |
| Weight | 118 g | |
| Cables | Sensor cable 30 cm, connection cable 2 m | |

16. Safety, conformity, disposal
Conformity: Hereby, SENVOLON GmbH declares that the radio equipment type SEN181 / SEN181-EA is in compliance with Directive 2014/53/EU. The full text of the EU declaration of conformity is available at senvolon.de.
Radio and LiDAR: The device contains an infrared LiDAR sensor for distance measurement. The light source is an infrared LED of the Exempt Group according to EN 62471, i.e. without photobiological hazard. In normal operation there is no hazard to persons. The LiDAR must not be opened, modified or tampered with. Make sure that the LiDAR output is not obstructed by panels, films or dirt. In addition, the device contains a radio module for Wi-Fi in the 2.4 GHz range (technical data).
Disposal (WEEE / ElektroG): The device is marked with the symbol of the crossed-out wheeled bin and must not be disposed of with household waste. Hand it in at a collection or take-back point. Beforehand, delete stored personal data such as network or user information, for example with “Reset” under “System”.
Manufacturer: SENVOLON GmbH, Dolomitstr. 37, 50226 Frechen, senvolon.de, info@senvolon.de. WEEE Reg. No. DE 93352512.