the variables are case sensitive. so $Feuchte is different then $feuchte
maybe there is an issue?
-
Howto build a cheap wired Soil Moisture Sensor
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
It seems to be good … I added a variable Feuchte1
so, the rules runs without errors"variables": [ { "name": "Feuchte1", "value": 1 } ]
I watch the values and check the setting for the values (0.3/0.7) in the measurement rule
… use is with my Hydroculture SystemAbout the Sensor Raw Values:
Water … 0
AIr … 1000
Substrate … 300 - 600 -
I’ll show you some picture … it’s really works
Thanks @johnny11I also use the cheap china kram
http://www.ebay.de/itm/Bodenfeuchtesensor-Garten-Feuchtigkeitsmessgerat-Soil-Moisture-Sensor-Arduino-/321588601923
Homedurino and Sensors
Probe
a part of my project
The moist sensor send me a pushpullet if the substrate is to arid (dry) -
Hello,
so this thread is locked: https://forum.pimatic.org/topic/2229/has-anyone-experience-with-a-esp-soil-moisture-sensor
I’ll upload my promised pictures here:
I use a piece of copper wire to fix the spoke
Not beautiful, but rare … it keeps
Before brazing, sand the material slightly
Something insulating tape (I wait for the shrink tube) … readyThis makes the sensor significantly more resistant to corrosion
As I said, as a material I use a bicycle spoke made of stainless steelGreets
-
It’s really long way to haven
I did my way, and hope you go on yours.btw, resistive senors is really wrong way. In some cases of soil you can get a negative resistance.
-
@ul7aajr said in Howto build a cheap wired Soil Moisture Sensor:
In some cases of soil you can get a negative resistance.
I doubt this is the case. Otherwise, you have superconducting soil. It is perhaps a misinterpretation of the values you get from the A/D converter.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Yes, “superconducting” sounds good.
Most of usable sensors are capacitive. Capacitive sensors reliable having no electrical contact with soil.
With MCU on board can be very compact. I did sensor 7 mm diameter only.
-
Hi. I also testet a kind of this sensor at my Pimatic. I have already connected the Arduino, but i can not write the last rule.
Does anyone know, where is my mistake??This I have added to devices:
{ “id”: “moisturesensor1”, “name”: “FeuchteSensor1”, “class”: “HomeduinoAnalogSensor”, “attributes”: [ { “name”: “Feuchte”, “unit”: “”, “label”: “”, “pin”: 14, “interval”: 10000, “processing”: “$value” } ], “xAttributeOptions”: [] }, { “id”: “pin-switch01”, “name”: “Pin Switch FeuchteSensor1”, “class”: “HomeduinoSwitch”, “pin”: 13, “inverted”: false }, { “id”: “vmoisturesensor1”, “name”: “Feuchte Tomaten”, “class”: “VariablesDevice”, “variables”: [ { “name”: “vmoisturesensor1Var”, “expression”: “$Feuchte1”, “type”: “number” } ], “xAttributeOptions”: [] },
And here are the rules:
“rules”: [ { “id”: “startmoisturemeasurement”, “name”: “StartMoistureMeasurement”, “rule”: “when every 5 minutes then turn on pin-switch01 for 20 seconds”, “active”: true, “logging”: true }, { “id”: “readmoisturesensor”, “name”: “ReadMoistureSensor”, “rule”: “when Pin Switch FeuchteSensor1 is turned on for 12 seconds then turn on Pin Switch FeuchteSensor1”, “active”: false, “logging”: true }
Rule number 1 is ok. But i dont know, what is the correct command for the last rule. Can sombody help me??
It does not work, when i write:
"if Pin Switch Moisture 1 is turned on for 12 seconds then set $Feuchte1 = ($moisturesensor1.Feuchte * 0.3) + ($Feuchte1 * 0.7)"
into the command line. -
are the variables correctly spelled regarding case sensitivity?
and what exactly does not work?pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@luke147 Make sure to create the variable first which is used to assign the value calculated by the seconds rule, by adding a variable using the “Variables” function of the pimatic frontend. If you follow the original example the name of variable is
Feuchte1
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law