letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.26k stars 2.21k forks source link

Feature Request: ADS1115 plug-in enhancement #926

Closed Budman1758 closed 1 year ago

Budman1758 commented 6 years ago

Would it be at all possible to re-engineer the ADS1115 plugin so that all four inputs are available from within a single task? As it is now you have to create a separate task for each input and for setups that need a lot of different tasks this would save up to 3. I'm working on an irrigation controller and it is designed for a lot more inputs than are actually currently possible. (due to task limits) My hope is down the road that will change. The idea for lots of inputs is to move to "on demand" watering vs a timer system. This would be possible due to multiple soil moisture sensors.

There are lots of examples of plugins that have more than 1 value possible so it seems like this would not be too extremely difficult. Sure would go a long way toward saving task spots for other stuff. :)

Thoughts? I can supply the pizza and suds... :)

enesbcs commented 6 years ago

I've a similar, simple solution for ADS1015: https://github.com/enesbcs/ESPEasyPluginPlayground/blob/master/_P167_ADS1015.ino

wclintdavis commented 2 years ago

This would be very helpful to me also, I'm sure others would like this as well