Forum Replies Created
-
AuthorPosts
-
RayKeymasterTo customize the weather algorithm, you can either run the weather script on your own server and direct your opensprinkler (use the /su page) to your own weather server, or you can run a local server and send command to opensprinkler to change the watering level periodically.
RayKeymasterI suggest you to use the OpenSprinkler web UI in a browser, open a developer tools window, then create a program, and take a look at the ‘Networks’ tab of the developer tools window. It shows the exact command /cp that’s sent to the controller. That way you can see exactly how each variable is set.
About expander: you need to enable all 24 zones in Edit Options -> Station Handling, set the number of zones/stations.
January 9, 2023 at 9:35 am in reply to: Time is not changing on Main Controller with this URL string #74674
RayKeymasterThe GPS coord of Athens, Greece should be 37.98, 23.72, why did you have 37.98,-23.72 (negative 23.72)??? You shouldn’t need to input the GPS coord manually, once you input the location or select a location on the map in the UI, it will calculate the GPS coord automatically.
January 8, 2023 at 8:46 pm in reply to: Time is not changing on Main Controller with this URL string #74670
RayKeymasterI think it’s best you submit a support ticket with a copy of your configurations so we can check your firmware version, location, and related settings.
January 8, 2023 at 6:21 pm in reply to: Time is not changing on Main Controller with this URL string #74666
RayKeymasterIs there any reason you need to set the time zone manually? The controller uses your location to automatically get your time zone.
If you need to set it manually you need to clear out the location. Also the command to set time zone is not /cv, it’s /co, please check the API document again.
RayKeymasterThe firmware is compiled for ESP8266, it’s NOT for ESP32
RayKeymasterWhat browser are you using? If you use Chrome, that’s likely to force http to become https, and as a result it doesn’t work with local IPs due to mixed content. You can try Firefox or Safari which doesn’t force https.
If you have OpenSprinkler 3.x you may want to upgrade your firmware to firmware 2.2.0 (we haven’t officially released it yet but it’s going to be officially released very quickly). With firmware 2.2.0, remote control can be done through OTC token and secure OpenThings cloud server, so that way https://ui.opensprinkler.com would work fine with it.
RayKeymasterYou can bookmark each controller in the browser.
The other way is to go to:
http://ui.opensprinkler.com
and add all your controllers. This allows you to switch between sites.
RayKeymasterWhy not access the controller directly using a browser? The windows app has not been updated for a long time. There is really no need to use the windows app.
RayKeymasterThe water level will be auto-updated if you changed the weather adjustment method and so on. If you leave weather adjustment method to ‘manual’, then you can modify the water level manually.
The mobile app hasn’t been updated to include OTC settings, but we’ve already finished the development so the mobile app will be updated in a week of time.
RayKeymasterOK, I know “413 request was too large” is caused by the request header size exceeding 1024 bytes. Are you using a browser to access the controller, or the mobile app? The parameters of the GET request itself is only about 600 bytes, so it must be that the rest of the header is fairly large.
“anything I don’t specify reverts to defaults” — I am surprised by this — this behavior is on early firmware versions. Firmware 2.1.9 and later no longer resets parameters if they don’t appear in the request. I think it’s best you submit your configurations so we can take a closer look.
RayKeymasterYou didn’t report what’s the watering percentage? To check firmware version, at the homepage swipe left to right or click the upper-left corner icon, then ‘About’.
RayKeymaster@dotMorten: I can’t reproduce the issue you reported. Tested on OS 3, OS 2.3 and OSPi, all can save weather adjustment method just fine. You should probably file a support ticket with your configurations so we can check what might be the cause.
RayKeymaster@Ryan Turnquist: I can verify that the display of labels after checking ‘organize by group’ is indeed a bug in the UI, we will be fixing it asap.
I did think about ‘ignore pause’ as an additional attribute. This will have to wait till the next firmware release because it will complicate the ‘pause’ logic quite a bit, so it will need significant changes to the current code base.
RayKeymasterWell, without seeing the configuration file, it’s hard to tell. I encountered one case where the configuration has MQTT enabled, the issue is that the firmware then immediately starts to connect to MQTT server and thus the rest of the import is not processed in time resulting in a time out. You can file a support ticket with your configuration attached so we can take a look. If we can identify a problem, we can edit the configuration file by deleting certain data that triggers the issue and then the import should be successful.
RayKeymasterYou can replace the 7805 regulator and see if it works. It may have overheated and broken down.
RayKeymasterWhile this should be possible for OSPi, it’s not possible for OpenSprinkler 3.x — the ESP8266 WiFi chip does not have enough computation power to make an efficient secure server.
RayKeymasterThe ‘interfacing’ functions are in the gpio.cpp file:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/gpio.cpp#L185
it uses direct read/write of system files. It’s also possible to use command line tools, like the ‘raspi-gpio’ command to implement most of these functions.
RayKeymasterCurrently there is no plan to support OTC for OSPi. The WebSocket library required by OTC does not exist for RPi. I am sure it’s possible to replicate the library for RPi, but it’s going to take quite a significant amount of work.
RayKeymasterWhich hardware version is this controller?
December 5, 2022 at 8:11 am in reply to: Broken link to “using a different server for ui assets” #74449
RayKeymasterWe no longer publicize this method. Instead, you can go to the OpenSprinkler app’s repository:
https://github.com/OpenSprinkler/OpenSprinkler-App
download the repository, unzip it, and go to the www folder, click index.html, and add a controller that way. Or you can go to:
http://ui.opensprinkler.com
and add a controller (note: http and not https because most browsers prohibit mixed content)
RayKeymasterIf your router can do DHCP reservation, then why would you need to set static IP on the controller? You want a fixed IP, and DHCP reservation can achieve that, so you can keep Opensprinkler in DHCP mode. Your problem was due to setting DHCP off, isn’t it? What I was suggesting is a way to get fixed IP without having to set DHCP off.
RayKeymasterHave you tried using the DHCP reservation feature on your router to set a fixed IP?
November 23, 2022 at 8:27 am in reply to: API documentation error for “cp” (change program) command #74364
RayKeymasterThe ‘uwt’ parameter is included intentionally — some users use external script to change this bit so wanted a way to directly modify it without having to pass in the entire program parameters. So ‘uwt’ and ‘en’ are provided to directly change these bits without having to pass in the rest of the program data.
You are right that if either of these parameters are present, the rest of the program data is ignored. I will clarify it in the document.
-
AuthorPosts