Soil probe not working
Moderators: grovkillen, Stuntteam, TD-er
Soil probe not working
Hi,
I am trying to make my soil probe based on a esp8266 working with Espeasy and the plugin P047 : https://espeasy.readthedocs.io/en/lates ... /P047.html
My device is based on a tmp112 (I2C) , and moisture should come to a0 output.
I have installed successfully the latest version of mega firmware (test version) :
No value is returned for temperature and moisture.
Is my device not a recognized one ?
Thank you for your help.
Manu
I am trying to make my soil probe based on a esp8266 working with Espeasy and the plugin P047 : https://espeasy.readthedocs.io/en/lates ... /P047.html
My device is based on a tmp112 (I2C) , and moisture should come to a0 output.
I have installed successfully the latest version of mega firmware (test version) :
No value is returned for temperature and moisture.
Is my device not a recognized one ?
Thank you for your help.
Manu
Re: Soil probe not working
Does the device show op when performing an I2C scan?
Re: Soil probe not working
Here is the result of the I2C scan.
Re: Soil probe not working
You have not selected the correct 'I2C address' in the configuration, 0x0 is the default, 'empty', value, and should be changed to 0x48, most likely available in the combobox as a selection.
/Ton (PayPal.me)
Re: Soil probe not working
It is done, but still no values for temperature and moisture.
Re: Soil probe not working
It might be needed to use the 'Force Slow I2C speed' setting, not all sensors allow for 400 kHz (default high speed).
/Ton (PayPal.me)
Re: Soil probe not working
Done, but still no success.
Re: Soil probe not working
Look at the previous I2C scan screen. The device in 0X48 does not appear to be supported. Isn't it a problem ?
Re: Soil probe not working
You are running a TEST build, I assume? Because in that build the device names are not included to save some space from the flash size. If a device is listed by its address, then it is detected.
/Ton (PayPal.me)
Re: Soil probe not working
Yes you are right, it is a test build.
Re: Soil probe not working
Sadly, I still do not get any values for temperature and moisture, even with all those settings.
Re: Soil probe not working
It looks like it can't read my soil device :
Re: Soil probe not working
It is still possible the sensor is working fine, but the plugin code does expect different data. (e.g. newer version of the chip)
Can you check with debug level logging enabled to see if there is more info from the plugin about what data is seen and is unexpected?
Can you check with debug level logging enabled to see if there is more info from the plugin about what data is seen and is unexpected?
Re: Soil probe not working
I tried different log levels but I always get the same single message.
Re: Soil probe not working
I looked at the P047 plugin and it appears to be written specifically for a moisture / light / Temperature sensor sold on Tindie. This one:
https://www.tindie.com/products/miceuz/ ... re-sensor/
From the product photo it appears it uses a 14-Pin microcontroller for the I2C access.
But you are using a TMP112 temperature sensor. Your board appears to be this one:
https://www.alibaba.com/product-detail/ ... 06302.html
I don't believe the TMP112 sensor is supported by ESPEasy. That is to say, I couldn't find a plugin for a TMP112.
- Thomas
https://www.tindie.com/products/miceuz/ ... re-sensor/
From the product photo it appears it uses a 14-Pin microcontroller for the I2C access.
But you are using a TMP112 temperature sensor. Your board appears to be this one:
https://www.alibaba.com/product-detail/ ... 06302.html
I don't believe the TMP112 sensor is supported by ESPEasy. That is to say, I couldn't find a plugin for a TMP112.
- Thomas
Last edited by ThomasB on 12 Nov 2020, 20:05, edited 1 time in total.
Re: Soil probe not working
Thanks.
How could I help to get my device and TMP112 sensor get supported by this plugin ?
How could I help to get my device and TMP112 sensor get supported by this plugin ?
Re: Soil probe not working
Your board measures moisture, temperature, and humidity. Which of these things is important to you?
Keep in mind that the TMP112 is a temperature sensor. The other measurements come from other sensors. Creating the plugin would require a lot more information. It will help if you posted a schematic.
My advice is to use the Tidie sensor module and wire it to a ESP8266 NodeMCU or Wemos D1 Mini board. That will allow you to use the existing ESPEasy plugin. I don't have experience with that Tidie board, so my advice should be taken as a suggestion only.
- Thomas
Keep in mind that the TMP112 is a temperature sensor. The other measurements come from other sensors. Creating the plugin would require a lot more information. It will help if you posted a schematic.
My advice is to use the Tidie sensor module and wire it to a ESP8266 NodeMCU or Wemos D1 Mini board. That will allow you to use the existing ESPEasy plugin. I don't have experience with that Tidie board, so my advice should be taken as a suggestion only.
- Thomas
Re: Soil probe not working
I have 2 of those devices. I can send one to anybody if it can help the community to get a plugin for it.
Re: Soil probe not working
I found useful information on the soil sensor. It's also a Tindie sold item (by April Brother). It is open source, so of course that means it is available from several China based suppliers too.
See these links:
Main Supplier (April Brother, China) Catalog Page: https://www.tindie.com/products/aprbrot ... or-rev-21/
Wiki: https://wiki.aprbrother.com/en/ESP_Soil ... ensor.html
Project Repository (source code and schematics): https://github.com/AprilBrother/esp-soi ... ure-sensor
3rd Party Homie Version: https://github.com/MoJo2600/esp-soil-moisture-sensor
Hackaday Article: https://hackaday.io/project/12843-esp-s ... ure-sensor
BTW, there are two versions. The original V1 board used a DHT11 temperature sensor. The V2 board changed the DHT11 to TMP112.
- Thomas
See these links:
Main Supplier (April Brother, China) Catalog Page: https://www.tindie.com/products/aprbrot ... or-rev-21/
Wiki: https://wiki.aprbrother.com/en/ESP_Soil ... ensor.html
Project Repository (source code and schematics): https://github.com/AprilBrother/esp-soi ... ure-sensor
3rd Party Homie Version: https://github.com/MoJo2600/esp-soil-moisture-sensor
Hackaday Article: https://hackaday.io/project/12843-esp-s ... ure-sensor
BTW, there are two versions. The original V1 board used a DHT11 temperature sensor. The V2 board changed the DHT11 to TMP112.
- Thomas
Re: Soil probe not working
That would be great to make it work with espeasy.
I didn't want to use an external MQTT like ThingSpeak so that's the reason why I tried to find out another firmware like espeasy to run it.
https://wiki.aprbrother.com/en/ESP_Soil ... ensor.html
I didn't want to use an external MQTT like ThingSpeak so that's the reason why I tried to find out another firmware like espeasy to run it.
https://wiki.aprbrother.com/en/ESP_Soil ... ensor.html
Re: Soil probe not working
Can you make an issue for it on GitHub?
Also make sure to list exactly what unsupported sensor is used, preferrable with one or more existing libraries supporting it on ESP8266/ESP32.
Also make sure to list exactly what unsupported sensor is used, preferrable with one or more existing libraries supporting it on ESP8266/ESP32.
Re: Soil probe not working
done. Thanks a lot for your time.
Who is online
Users browsing this forum: Bing [Bot] and 22 guests