Forum Replies Created
-
AuthorPosts
-
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.
November 22, 2022 at 6:19 pm in reply to: OpenSprinkler firmware 2.1.9(11) is available (weather query bug fix) #74360
RayKeymasterSure, this can be easily changed by shortening the check weather interval time:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/main.cpp#L57
you can customize it and recompile the firmware.November 21, 2022 at 5:17 pm in reply to: OpenSprinkler firmware 2.1.9(11) is available (weather query bug fix) #74351
RayKeymasterThe firmware issues a weather query every 6 hours by default. So if one call fails, that doesn’t mean all the subsequent calls will fail too. A failure could be due to a number of reasons, DNS time out, server connection time out, or maybe server overload and not responding etc.
November 20, 2022 at 2:54 pm in reply to: OpenSprinkler firmware 2.1.9(11) is available (weather query bug fix) #74343
RayKeymasterSorry, I really don’t know. We’ve tried our best, and also fixed the original problem (cloudflare adding extra header information) so even without firmware 2.1.9(11) the problem should be gone by now. I don’t know why you are getting offline error.
RayKeymasterRun-once program means an ‘ad-hoc’ program, i.e. one-time use program. So this command does NOT run one of your existing programs, but rather a one-time use program. If you want to run an existing program, there is a different API for that.
Since it’s a one-time use program, you can’t set all zones to have 0 run-time — that is not a valid program. You can use another command to reset all zones (i.e. turn all zones off). It’s all in the API document.
RayKeymasterYes, that’s correct.
-
AuthorPosts