Open ghunti opened 1 year ago
Are you setting the correct bus and address? You don't provide a copy of the I2C device tree to determine if you are.
What is the output from sudo i2c-detect -y 1
?
Thanks for replying @kizniche
Are you setting the correct bus and address? You don't provide a copy of the I2C device tree to determine if you are.
To be honest, I'm a noob in this, don't know if I'm setting the correct bus, although address, I think I am. Is there somewhere I can read more about this?
What is the output from sudo i2cdetect -y 1 ?
Looking closer at the trace back in your screenshot, it looks like the issue is with the ads1115 library, or rather, the call of a function of that library. It's been a while since the anyleaf library version has been updated, so this had likely been fixed. I'll check their library changelog.
Looks like the library is still at 0.1.9 https://pypi.org/project/anyleaf/
@AnyLeaf can you look into whether this is an issue with the ads1115 library specified to be installed when the anyleaf library is installed?
@David-OConnor do you know if this is a known issue?
Describe the problem/bug
Activating AnyLeaf PH sensor fails.
Versions:
Reproducibility
Expected behavior
The AnyLeaf sensor should be active and provide measures. Although the AnyLeaf input displays as "active" on the interface, the logs show an error, which I think is preventing the AnyLeaf sensor from functioning properly and displaying any measures.
Screenshots
The error log:
The AnyLeaf input configuration:
Additional context
To see if the sensor is working, I've run the anyleaf-python examples, and everything seems to be working:
Thank you :-)