OpenSprinkler › Forums › Hardware Questions › Rain sensor question for the OpenSprinkler
- This topic has 4 replies, 2 voices, and was last updated 1 year, 10 months ago by AndreasSprink.
-
AuthorPosts
-
March 17, 2023 at 2:07 pm #75036
AndreasSprinkParticipantHello,
I have the OpenSprinkler DC version.
I am looking for to use a “Rain Sensor” and wonder if the below “Orbit Eco Series Rain/Freeze Sensor Interrupts Sprinkler Timer 91069, Universal”
would be compatible with the OpenSprinkler?
This comes with wires which I beleive would be the most safe to use to connect to the OpenSprinkler?If this rain sensor is compatible, I wonder how this works. It seems the sensor have: Five Settings from 1/8″ to 1″ rain.
Question 1:
Will one wire be connected to one of the sensor ports and the other wire to the com port like the solonoids do?Question 2:
Will the rain sensor send a signal to OpenSprinkler somehow if rain reaches a level of for example 1/8″?
With that question I can see the below info in the API manual which I understand how to program.
Will the sensor send a signal and then for example activate a 24 hour delay. I am not sure exactly how this works.
I wonder how the rain level communication works from the rain sensor and the programming below would be the question?Change Controller Variables
rd: Set rain delay time (in hours). Range is 0 to 32767. A value of 0 turns off rain delay.
http://os-ip/cv?pw=xxx&rd=24 // set a 24-hour rain delayThank you!
March 17, 2023 at 2:12 pm #75038
RayKeymasterQ1: please take a look at the OpenSprnkler user manual. It explains and has a diagram showing how sensors should be connected:
https://openthings.freshdesk.com/support/solutions/articles/5000716364-opensprinkler-user-manualsQ2: I am not sure how to answer this question since I don’t know how the sensor works internally. I believe as you said, when rain reaches a certain level, its contact will break and OpenSprinkler can detect the change in the sensor status.
Rain delay and using rain sensor are two different things. Rain delay is a manually triggered event, you as user can trigger a rain delay. Rain sensor is automatic: as long as the rain sensor is activated, OpenSprinkler will respond to the rain sensor status until its status changes again.
March 17, 2023 at 3:23 pm #75040
AndreasSprinkParticipantThank you, yes I could see now to connect a sensor to for example to: SN1 and GND.
Then I think I could understand that it could be possible that when the sensor reaches a certain level and rain sensor is automatic on the OpenSprinkler, it would not run a watering program if I assume.
I am divided to perheps use a Soil Moisture sensor instead: “Irrometer Watermark Soil Moisture Sensor 5FT Water Conserving Monitor Probe”
The function I am after is to override and Not let watering programs run when moisture levels is over a certain threshold. The idéa I have is that moisture in the ground/garden is the result of Rain and temperature.Sorry for asking but could this one below be compatible so I am not buying something that might not be compatible?
Done some research it seems this one should have some quality to it or if you can recommend any wired moisture sensor with good quality.
The only info about “soil” when searching in the “OSAPI2.2.0” is the below. How does it work. For example isn’t moisture levels between 0-100%.
Is it possible to for example only let a specific watering program (Ex: “WaterProgram1”) run if the level is <= 30% etc. I am not sure how to make code for this?sn1t: Sensor 1 type. (0: not using sensor; 1: rain sensor; 2: flow sensor; 3: soil sensor; 240 (i.e. 0xF0): program switch).
March 18, 2023 at 2:48 pm #75047
RayKeymasterThe only types of soil sensors supported are ones that are dry contact type — they are basically like rain sensors, when the moisture level exceeds some threshold it outputs high (or the contact switch closes) and otherwise it outputs low (or contact switch opens). If you have an analog sensor you can use a LM393 analog comparator module like this:
https://www.amazon.com/HiLetgo-Moisture-Automatic-Watering-Arduino
which takes in analog signal and compares it with an adjustment threshold and outputs a digital signal.March 22, 2023 at 8:12 am #75071
AndreasSprinkParticipantThank you Ray, I am not entirely sure if I needed a soil sensor and a LM393 analog comparator.
Is it possible if I can ask it simply if the below soil sensor will be compatible and that sensor would be the only thing I need to buy to connect it to the OpenSprinkler?
I did ask the chatGPT about the soil sensor and wonder if all the info below that was said is more or less true and I could go ahead and buy this soil sensor?ChatGPT answer:
Hunter Soil-Clik: This is a soil moisture sensor that uses a hygroscopic disc to detect moisture levels in soil. It has a dry contact output that can be connected to an irrigation controller or other device. The sensor is easy to install and requires no maintenance.Yes, the Hunter Soil-Clik is compatible with the OpenSprinkler irrigation controller. The Soil-Clik is designed to work with any irrigation controller that has a normally closed (NC) or normally open (NO) switch input. The OpenSprinkler controller has a switch input that can be configured as either NC or NO, depending on the type of switch being used.
To connect the Soil-Clik to the OpenSprinkler, you will need to connect the two wires from the Soil-Clik’s dry contact output to the switch input on the OpenSprinkler controller. The Soil-Clik comes with a pigtail wire that can be used for this purpose. You can also connect multiple Soil-Clik sensors to a single OpenSprinkler controller, as long as each sensor is connected to a separate switch input.
Once the Soil-Clik is connected to the OpenSprinkler, you can configure the controller to use the sensor to trigger irrigation. You can set the Soil-Clik to activate irrigation when the soil moisture drops below a certain threshold, and you can also set a delay time to prevent the sensor from triggering irrigation too frequently. The OpenSprinkler’s user manual provides detailed instructions on how to configure the controller to use the Soil-Clik sensor.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › Rain sensor question for the OpenSprinkler