Switched OpenSprinkler to new wif and water pump won’t start now

I setup new wifi and had to update the opensprinkler system to a new wifi network. Everything was in working order prior to this. After updating I can fill my tank with water and I hear the solenoids engage when selected for each zone, but the pump does not activate to water each zone. What would cause this? Seems strange it would stop working after switching Wifi. Thank you

AI Powered Sprinkler Inhibitor

I mentioned in my post about 5v power that I would repost if my sprinkler inhibitor project, using the OpenAI API, worked out. I think it is working pretty well now. The prompts took considerable tuning. I added Over-the-Air programming. The github for this project is: https://github.com/bill-orange/Sprinkler_Controller

You might want to take a look at this. Adding an AI option to OpenSprinkler looks pretty do-able. If nothing else, adding AI to the product description is almost as good a marketing thing as “low fat” or “Gluten Free”. I am using an ESP32 but conceptually it should work okay on an ESP8266 with minor changes.

This project integrates well into Opensprinkler as a stand-alone box. It draws power from the 5v line, as we dsicussed. No relay is needed. The Inhibitor’s GPIO output goes directly into SN2.

This was fun. I hope others can get some use out of the concept.

Installation

Question about “Use Weather Adjustment”

I purchased and installed an OpenSprinkler controller about a week ago. Set up a schedule and then made sure i am on the latest firmware version 2.2.1(1) (updated from 2.2.1). For “Weather Adjustment Method” i chose “Auto Rain Delay” after briefly experimenting with Eto and “California Restriction”, but the latter currently turned off (see screenshots)…

I was also able to get a program to trigger at its scheduled time last weekend.

However, earlier this week an auto rain delay happened and showed up in the logs and was displayed on the main page. This was several days ago and there is presently no auto rain delay active. It appears that programs with the “Use Weather Adjustment” do not get scheduled to run. (And I think they disappear from the preview at midnight the day they are supposed to run.)

I would have expected that “Use Weather Adjustment” in my setup just means that the auto rain delay function is active for this program, but I might be misunderstanding things. — Is there something else that this setting does that could prevent scheduled program from running?

Also, I confirmed that the correct local time is shown on the main page, and that the weather forecast displayed looks reasonable.

Current measurement

If I’m correct, the firmware does not use the measured current value for anything other than displaying it. (and sending it for API request)
Are there any plans to detect shorted circuits, when current is higher than a set value, or broken lines?

reason of MD5 hash

I just want to ask out of curiosity, what are the advantages using the MD5 hash in API calls? If an attacker steals the MD5 hash, they can use it directly in API requests without reversing it. Or in this way avoids issues with special characters that might not be allowed in an API request?

OSPI HW test code

I am developing (yet another) farm automation program (it will be open source) and would like to pick up the OSpi board. by any chance did you publish your board test code? I can dig through openprinkler to figure out how the HW works, but it would be nice if the HW validation code was around?

specifically I get that the Solenoid drivers are connected through a 74595 and that you have an A/D available, and that you have some buttons on GPIO18/24/10 and some other?

Maybe is there a HW document?

many thx

ETo adjustment suddenly going to 0% (after a year of working great)

Hi there.

I have been using the ETo water level on our OpenSprinkler hardware.
App version: 2.4.49
Firmware: 2.2.1
Hardware Version: 3.2-AC

Suddenly, a few days ago, the ETo went to 0%. It’s never done this before.
I was using the Default(Apple) provider, so yesterday I changed providers (to Pirate Weather) assuming that there was some issue with Apple. Immediately, the ETo went to about 70%.

However, last night, the ETo went to 0% again.

I tried rebooting and turning off-on ETo, and it always goes back to 0%.

Nothing has changed in the network or configuration; in fact, we have been out of town for 2 weeks so I am doing all of this remotely via a VPN.

Any ideas on how to debug or solve this?

Is OpenSprinkler Y2038 compliant?

It’s still quite a few years away, but could you tell me if the OpenSprinkler firmware and API are Y2038 compliant? I did notice that in the API, it was using Unix epoch time in at least one place — rain delay stop time. Thanks

How much current can I draw off the 5v connection?

I have an ESP32 based project I am adding to my Opensprinkler installation. It would be helpful to power it right off the opensprinkler 5v supply. It draws 180mA max. I don’t want to draw too much current off the 5v supply. How much can I safely draw? Here’s my project. It uses AI to enable/disaple the sprinklers.

https://github.com/bill-orange/Sprinkler_Controller

OpenSprinkler Zone Expander over WiFi?

Hi, I have a large garden and the second area that I need to add to my setup is about 200ft way and getting wires from my current zone expander to where the valves are is very complicated.
Is there a way to connect a secondo expander via WiFi or connect the values to a WiFi devices that can interact with OpenSprinkler?