Skip to content

the analog sensor does not work in the "counter" mode #2200

@KCH1963

Description

@KCH1963

Water and gas meters are connected according to this diagram.
image
In EMS-ESP it was written like this
image
In the Home assistant I see the meters like this, but they don't count the readings.
image
I installed pull-up resistors on the GPIO counters
in the open state of the reed switch at the output of the ESP 32 (GPIO 25/26/27) = 3v3, in the closed state = 0v
signal levels on gpio 25 when water is consumed
image
Soldered a resistor, did not help. In the "counter" mode, the readings are not counted. When setting the GPIO to the "Digital in" mode, the ESP-EMS begins to see pulses and output them to "on / off" No miracle happened
image
It doesn't work with these settings.
image
Status
Data traffic

DESCRIPTION

A clear and concise description of what the problem is or the change requested.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

  • Searched the issue in issues
  • Searched the issue in discussions
  • Searched the issue in the docs
  • Searched the issue in the chat
  • Provide the System information in the area below, taken from http://<IP>/api/system
  Paste System information here....

TO REPRODUCE

Steps to reproduce the behavior:

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.

SCREENSHOTS

If applicable, add screenshots to help explain your issue.

ADDITIONAL CONTEXT

Add any other context about the issue here.

(Please remember to close the issue when it has been addressed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions