Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rugged I2C Moisture Sensor Issue #975

Closed
KDPPD opened this issue Dec 19, 2024 · 2 comments
Closed

Rugged I2C Moisture Sensor Issue #975

KDPPD opened this issue Dec 19, 2024 · 2 comments

Comments

@KDPPD
Copy link

KDPPD commented Dec 19, 2024

Been interested in this project for awhile and decided to finally do it but now I'm pretty much stuck on the last sensor.

I purchased this I2C chirp sensor:
https://www.robotshop.com/products/rugged-i2c-soil-moisture-sensor?gad_source=1&gclid=CjwKCAiAgoq7BhBxEiwAVcW0LHC8pwh7UGqfl7dKvULHO3RFbgWzN5LBikgDXBQXCjeQMHVRhxWGIhoCuagQAvD_BwE

I2C moisture sensor is detected on 0x20.
i2cdetect
I2C 0x10 = DockerPI Relay
I2C 0x44 = SHT3XD

I've calibrated utilzing the chirp.py which seems to work on 0x20 but the I2C address reads in decimal.
chirp

GUI Settings:
moisture sensor

Log Error:
2024-12-18 17:58:23,928 - ERROR - hardware.sensor - Error updating sensor CHIRP sensor moisture named 'Soil Moisture' at address '0x20'. Check your hardware! Error getting new data from sensor CHIRP sensor moisture named 'Soil Moisture' at address '0x20': division by zero

What am I missing here?

Appricate your project and so far it's been a breeze, thanks for all your hardwork.

@KDPPD
Copy link
Author

KDPPD commented Dec 22, 2024

It works! Excellent job. I was definitely way off from finding that answer.

@KDPPD KDPPD closed this as completed Dec 22, 2024
@theyosh
Copy link
Owner

theyosh commented Dec 22, 2024

Euh, I only fixed the GUI which did not show the min and max moisture calibration values. But that have solved it?

But nice that it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants