-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for external pulse based meter over GPIO #2706
Comments
Why not using an additional device with AI-on-the-edge to read the gasmeter? |
The reed contact switch on the gas meter is cheaper, smaller, easier to setup and more reliable. |
Sorry, but this is not really in the scope of this project. |
Thanks for the suggestions. I think I will still try to integrate it into the esp32 as it would already provide the MQTT bridge and Wifi and I just have to add a cable with the switch. |
I have this mostly running using the GPIO module and a modification for debouncing. Also found issue #1804, which seems to be aiming in the same direction. |
The Feature
I have a gas meter next to my water meter, that has a magnet when the last digit rolls over. A simple reed contact is enough to provide a pulse for reading. The GPIO support would allow me to publish the information over an MQTT and I could to the counting at my home assistant instance. However, I would feel more comfortable if the pulse counting was actually done on the device - just to make sure not pulses are missed, e.g. when I restart my home assistant.
I guess this could be done similar to how the SmartLed driver can be used on the GPIO.
Features could be:
The text was updated successfully, but these errors were encountered: