Can provide wiring tips for how to integrate this Modbus Ultrasonic Level Sensor?

I have a few of these:

and these:

but I can’t find a good guide and can’t seem to be able to wrap my head around how it is supposed to work… sometimes I think I’m supposed to connect BOTH devices? Too many wiring/configuration options for me to work through not really knowing how it should work.

I’d prefer to connect it to a ESP32 tasmota but can connect it to a Raspberry Pi or even an OpenHAB instance if required.

Or, if you want to avoid the hassle with hard- and software, you could use a Modbus RTU to Modbus TCP gateway, they are available cheap on e.g. Ali Express, some even have Wireless LAN or MQTT support
Using the ModBus-Binding you can connect through the network, which is pretty much straight forward and you do not have to find a way to wire it up to OH.

That seems way too easy! Why would I want to do that??? :wink:

Thanks for the tip… I kept avoiding TCP in my searches as ‘none of my devices have that’ - oh, well!

Thanks @Oggerschummer !

Just received my first device. The firmware is slightly different than what I see in some instructional YouTube, so I went on a hunt for ‘better’ firmware. Is there such a thing out there?

Usually not, they all differ, but do their job. Some have mqtt support as well. What is your device?

I have two of these.

Should I skip the OH binding and just use MQTT?

I fear I will struggle more with the MODBUS settings that the OH/MQTT stuff, but easier the better!

You will anyhow struggle with it :wink:

Just found this video , seems this is proving all you need. there seems to be a manual attached to the answer given there, but i did not check it.

Personally I prefer a litte less “bare metal”, I run a Protoss PW21H and a USR DR302.

Never went down the ModBus<->mqtt path as the binding is working for me and it just adds another layer of complexity in the initial setup. Would go for modBus binding and, when everything works, maybe try mqtt so you have one binding less (if it is only for the sensor you have).

Good luck!

1 Like

Good plan on the fancier hardware. Neither of these will successfully save the settings I change, even if just the plain-text password.

might just be a Safari thing… although the firmware appears 10 years old…

for anyone who finds this thread, the video is slightly helpful. I struggled for a bit, figuring I was doing something dumb, and then just changing relevant-looking settings. This setting needs to be ‘open’ not ‘closed’ as described in the video…