Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 10
- Joined: 23 Mar 2024, 16:44
Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
Hey,
I want to add this sensor with EspEasy: https://www.adafruit.com/product/4026
It uses the I2C address 0x36.
On the climate-version there is the option to add the device "Environment - Soil moisture sensor" but it only lists Catnip and BeFIE as sensor-types.
After reading some posts i noticed that the Adafruit SeeSaw library is required to read correct sensor data.
Is it possible to add this through a plugin? Or another way to get the sensor working on EE?
Thanks in advance.
I want to add this sensor with EspEasy: https://www.adafruit.com/product/4026
It uses the I2C address 0x36.
On the climate-version there is the option to add the device "Environment - Soil moisture sensor" but it only lists Catnip and BeFIE as sensor-types.
After reading some posts i noticed that the Adafruit SeeSaw library is required to read correct sensor data.
Is it possible to add this through a plugin? Or another way to get the sensor working on EE?
Thanks in advance.
Re: Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
I'll see if I can add support for this sensor. We already have the SeeSaw library in use in ESPEasy, so that can be reused for this sensor.
/Ton (PayPal.me)
-
- Normal user
- Posts: 10
- Joined: 23 Mar 2024, 16:44
Re: Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
Thank you very much, thats awesome!
Re: Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
I've created PR #5025 to include support for the Adafruit I2C Capacitive Moisture sensor. A test-build is available from this GH Actions run. To be able to download you'll need a free Github account.
@knighToFdemonS please test and report your findings, either here or in the GH pull request .
/Ton (PayPal.me)
Re: Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
Is it a very big deal to add a new sensor? I am working on a vane to show wind direction. I have been experimenting with an as5600 angle sensor. It too uses 0x36, I believe. Is this something that can be added or is there a "work around" for reading the raw i2c data and doing the conversion myself?
Rob
Rob
Re: Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
The only thing the as5600 angle sensor has in common with the Adafruit soil sensor is the I2C address. Nothing in the data format or protocol has any resemblance, and neither has the sensor function.
That's a very good reason not to try and add support for an as5600 to this plugin, but either add it to another position/direction plugin, or create a new plugin for it.
That's a very good reason not to try and add support for an as5600 to this plugin, but either add it to another position/direction plugin, or create a new plugin for it.
/Ton (PayPal.me)
-
- Normal user
- Posts: 10
- Joined: 23 Mar 2024, 16:44
Re: Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
Thank you so much. Looks like it is working reporting the correct values.Ath wrote: ↑05 Apr 2024, 22:06I've created PR #5025 to include support for the Adafruit I2C Capacitive Moisture sensor. A test-build is available from this GH Actions run. To be able to download you'll need a free Github account.
@knighToFdemonS please test and report your findings, either here or in the GH pull request .
I will make advanced tests later, looks good so far.
Tested "Bin-ESP32S3-climate_ESP32s3_4M316k_CDC-20240405_PR_5025_8575073729" with an ESP32-S3.
Re: Add new sensor (Adafruit STEMMA Soil Sensor - I2C)
@knighToFdemonS The PR has been merged, and will be in the next ESPEasy release.
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 0 guests