Skip to content

Rain sensor reports absurd numbers #12

@Liniik

Description

@Liniik

When I was testing the rain sensor before mounting it on the roof, values seemed fine. But now when we have rain, it's reporting apocalyptic numbers like 80 mm/min. The only change to the config from you is I put pulldown instead of pullup resistor because for whatever reason it needed that - without pulldown it was behaving like no resistor at all, reporting erroneous values and stuff, wiring should be the same. Do you have any idea where could be the problem? Did you have this sort of troubles?
Here's the config:

- platform: pulse_counter
    pin:
      # Don't forget to add a pulling resistor, see README
      number: GPIO33
      mode: INPUT_PULLDOWN
    unit_of_measurement: 'mm'
    name: "uhrn srazek"
    icon: 'mdi:weather-rainy'
    id: rain_gauge
    internal: true
    count_mode:
      rising_edge: DISABLE
      falling_edge: INCREMENT
    internal_filter: 13us
    update_interval: 60s
    filters:
      # Each 0.011" (0.2794mm) of rain causes one momentary contact closure
      - multiply: 0.2794
    accuracy_decimals: 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions