Project to check water level in water well for garden sprinklers, almost 50 m from house covered with quite thick concrete (100-150mm). I want a wire solution, have already a 50mm hose for electricity to submersible pump. I bought a level sensor QDY30A RS485 DC24V 4m range 5m cable and Waveshare RS485 TO POE ETH (B). Shall be connected to HA.
My plan is to solder level sensor with TP cable in water well, it goes into the house there I place waveshare and connect it to home network. For now I have it at my desk until I get it work.
Proxmox + HAOS
Router → POE switch → Waveshare POE ETH → water level sensor
Settings in Vircom for Waveshare POE ETH
DHCP
Port: 502
TCP Server
Transfer Protocol: Modbus_TCP_Protocol
Baud Rate: 9600
Data bits: 8
Stop bits: 1
Modbus Gatway Type: Simple Modbus TCP to RTU
Home Assistant
Studio Code Server
configuration.yam “added: modbus: !include modbus.yaml”
new modbus.yaml file with code
Hey mekanikless,
now we are two with the same issue. I have exactly the same issue, same sensor, same waveshare interface, same settings and no glue why I do not see values in the sensor in home assistant.
What is your current status, still searching, or did you found a solution?
I am working since a week on this problem without any idea how to solve it…
Martin
Hello, sorry for not writing about how it went. In my case it was a very emabarrasing fault, sensor didn’t got any current. I asked manufactorer if I could feed with POE and use V+ and V- directly to sensor, answer was yes so I didn’t check that. After discussion with a friend about my problem and showing him the parts he said it looks like V+ and V- are only for input not output. I made a simple measurement and it was dead. I bought a link after that it worked directly. Made some smaller changes in code to get right “scale” of the water level.