Analog Input ADS1115 not possible to activate (solved)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
maximinus
New user
Posts: 7
Joined: 26 Aug 2020, 14:54

Analog Input ADS1115 not possible to activate (solved)

#1 Post by maximinus » 08 Jul 2023, 14:20

I flashed the latest Build: ESP_Easy_mega_20230623_climate_ESP8266_4M1M Jun 23 202 on a brand new Wemos D1 and in device analog input ADS1115 I cannot get the enabled box to stick. As soon I press the submit button in edit mode the box gets empty and in Tab Devices in column enabled appears a red cross.
I tried to use different GPIOS but no difference. Als a second new Wemos beheaves identical.
I am sure in an earlier version (I do not remember which) I did not experience the same.
Is this a known issue or do I make something wrong?
ADS enabled.png
ADS enabled.png (33.51 KiB) Viewed 716 times
ADS1115.png
ADS1115.png (40.28 KiB) Viewed 716 times
Regards Gerhard
Last edited by maximinus on 09 Jul 2023, 19:25, edited 1 time in total.

User avatar
Ath
Normal user
Posts: 3519
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Analog Input ADS1115 not possible to activate

#2 Post by Ath » 08 Jul 2023, 15:34

Is your ADS1115 actually connected to the ESP?
In a recent release we have added a check during PLUGIN_INIT to validate if the configured I2C device is connected/available, and if not, the plugin is disabled. Not having the sensor connected can cause (performance) issues for some I2C devices, that's the reasoning for adding this check. Also, for the same reason, when connection errors occur during read, after 10 read-failures the device will be disabled.
There is a setting in the Tools/Advanced page that can disable this new feature, but it should only be disabled if the device doesn't comply with this check. That should also be reported, either here or on Github, as we can disable the check per plugin in code.

TL;DR; If the device is properly connected it should stay enabled.
/Ton (PayPal.me)

maximinus
New user
Posts: 7
Joined: 26 Aug 2020, 14:54

Re: Analog Input ADS1115 not possible to activate

#3 Post by maximinus » 09 Jul 2023, 19:24

@Ath
Thank you for the explanation. As soon as I connected the ADS1115 I could enable it.
Works now perfectly.

Regards gerhard

User avatar
Ath
Normal user
Posts: 3519
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Analog Input ADS1115 not possible to activate (solved)

#4 Post by Ath » 09 Jul 2023, 20:14

Great :)
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests