HRXL MaxSonar WR Series¶
This sensor allows you to use HRXL MaxSonar WR series ultrasonic sensors by MaxBotix (datasheet) with ESPHome to measure distances. Depending on the model, these sensors can measure in a range between 30 centimeters and 10 meters.
This sensor platform works with the TTL versions of those sensors and expects the sensor’s TTL pin to be wired to one of the ESP’s input pins. Since these sensors read multiple times per second, filtering is highly recommended.
# Example configuration entry uart: rx_pin: 36 baud_rate: 9600 sensor: - platform: "hrxl_maxsonar_wr" name: "Rainwater Tank" # Tweak the filters for your application filters: - sliding_window_moving_average: window_size: 12 send_every: 12 - or: - throttle: "20min" - delta: 0.02
name (Required, string): The name of the sensor.
All other options from Sensor.