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?
Regards Gerhard
Analog Input ADS1115 not possible to activate (solved)
Moderators: grovkillen, Stuntteam, TD-er
Analog Input ADS1115 not possible to activate (solved)
Last edited by maximinus on 09 Jul 2023, 19:25, edited 1 time in total.
Re: Analog Input ADS1115 not possible to activate
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.
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)
Re: Analog Input ADS1115 not possible to activate
@Ath
Thank you for the explanation. As soon as I connected the ADS1115 I could enable it.
Works now perfectly.
Regards gerhard
Thank you for the explanation. As soon as I connected the ADS1115 I could enable it.
Works now perfectly.
Regards gerhard
Who is online
Users browsing this forum: No registered users and 20 guests