OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) not working for openspinkler pi Reply To: not working for openspinkler pi



The JavaScript app uses a library called jquery-retry. If the AJAX fails, the request is attempted two more times.

That’s why your seeing the effect three times. The AJAX is failing due to CORS and cannot be allowed without changing the source code of OSPi.

As I mentioned earlier, if your building a PHP app then have it communicate with OpenSprinkler to prevent issue with CORS.