OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › http://ui.opensprinkler.com/ not working for openspinkler pi › Reply To: http://ui.opensprinkler.com/ not working for openspinkler pi
January 21, 2015 at 10:59 am
#35278
Samer
Keymaster
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.