DFRobot Ultrasonic Sensor IUntegration

Hey Guys,

Still learning all things ESPHome, so still a bit of a noob when it comes to trying to integrate custom sensors…

I was just wondering if someone would be able to assist with some sample code to get the following sensor working from DFRobot. I am planning on using it to measure water level in some tanks :slight_smile:

A01NYUB - A01NYUB Waterproof Ultrasonic Sensor Wiki - DFRobot

Any help would be greatly appreciated!

I have created a pull request to esphome that adds support for the A01NYUB.

Feel free to check it out and give feedback.

Is your implementation already added in a new esphome version or do we need to do it manually?

The pull request hasn’t been accepted, so you need to add it manually by doing:

 - source: github://pr#4863
    components: [ a01nyub ]

If you use it, please give your feedback on the github issue. I have been using without problems, but probably the maintainers would like to have more feedback to accept the pull request…

1 Like