Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Support for ACS712 Current Sensor #439

Closed
bgoll opened this issue Jan 22, 2019 · 3 comments
Closed

Support for ACS712 Current Sensor #439

bgoll opened this issue Jan 22, 2019 · 3 comments

Comments

@bgoll
Copy link

bgoll commented Jan 22, 2019

What new integration would you wish to have?
I would like to have the possibility to use an ACS712 current sensor with esphomelib and esphomeyaml. The sensor allows you to read the current of a connected device.

If possible, provide a link to an existing library for the integration:
https://github.com/rkoptev/ACS712-arduino

Please describe your use case for this integration and alternatives you've tried:
I personally use this sensor for automating the dust collection in my workshop. If a power tool connected to the sensor gets turned on, I turn on the dust collection and switch it off (with a small delay) if the tool gets turned off.
Currently I achieve this with normal Arduino code but I would love to be able to integrate this device with the rest of my home.
Besides my use case this sensor can also be used for very cheap power consumption measurement.

Additional context:
Using the sensor is quite straightforward. It outputs an analog signal which indicates the current that the connected device consumes.

@Mynasru
Copy link

Mynasru commented Jan 23, 2019

This is an analog sensor, no need for a separate integration: example.

Use this formula, or the one from the data sheet.

@bgoll
Copy link
Author

bgoll commented Jan 23, 2019

Oh, I was not aware of that. Thank you very much! I think the issue can be closed then.

@HFsi
Copy link

HFsi commented Jun 3, 2019

For what I see, to sense AC current, you have to take several samples, not only the value in a certain moment, am I right?
If so, the ADS1115 supports that kind of measure?

@esphome esphome locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants