Forum Replies Created
-
AuthorPosts
-
RayKeymasterThis is not a firmware issue — the Use Metric is never stored in the firmware. The UI does, I believe, auto-detect metric vs imperial system (based on your location). So it’s possible that on your desktop browser it was able to auto-detect. The setting is stored in browser’s local cache. It’s not stored on the controller.
RayKeymasterPlease file a support ticket:
support.opensprinkler.com
including the specific OTC token you are referring to, so we can take a look what might be wrong.
RayKeymasterI am not aware of any ongoing issue with the OTC server at the moment. All our test devices are connected and accessible. Maybe double check your OTC token? If you have created more than 1 OTC tokens, maybe you were using the incorrect token?
RayKeymasterIt looks like you are using the firmware developed by our German distributor Stefan. Since the analog sensor features are written by him (our firmware does not support this yet), please direct your questions to their forum.
March 28, 2025 at 7:52 am in reply to: Problem with changing section names and their configuration #81705
RayKeymasterWhat is firmware 2.4.49? That’s not an officially released firmware. Are you using the firmware by our German distributor Stefan? If so, please direct the question to their forum.
RayKeymasterVery cool. I like the circular display, looks very nice. Thanks for sharing!
On a high level, the goal you want to achieve is what the OpenSprinkler-Weather script is doing, except our weather algorithm isn’t using gen AI at the moment. The weather script runs on a cloud server, and the firmware queries it every few hours to get the watering percentage.
I imagine a local (non-cloud) AI-based solution can be very useful for adding computer vision to the controller. For example, turn on sprinklers when there are cats or wild animals on the lawn. It can also be used to add voice recognition capabilities.
March 16, 2025 at 10:23 am in reply to: ETo adjustment suddenly going to 0% (after a year of working great) #81600
RayKeymasterThe weather server returns the weather data used for the ETo calculation, and the firmware stores it. You can check the ‘wtdata’ field in the /ja (JSON all) endpoint to see what data it used that resulted in the 0% calculation.
RayKeymasterBecause it’s undesirable to store and use plaintext password. Worse than a stolen MD5 hashed password would be if the attacker obtains your plaintext password and can log in to your other accounts. It’s not possible to recover your plaintext password from its MD5 hash. This is similar to how Linux stores user passwords — it never stores the plaintext password, it only stores a hashed version, so if someone obtains the hash, at least they won’t be able to get the plaintext password and use it to log into your other accounts.
RayKeymasterCorrect, it’s currently for display only. You can use it to manually check if there is any broken lines, for example, if the current is too low when a zone is on, that generally indicates the solenoid is not activated.
There is no plan yet to use the current sensor for triggering any actions, although similar to the Flow Alert, it’s fairly easy to implement a current sensor alert. Note that often when there is a shorted circuit, it would result in a tripped fuse, or the power supply voltage collapsing triggering an immediate reboot — there won’t be enough time for the current sensor to even read a reliable value.
March 15, 2025 at 7:05 am in reply to: ETo adjustment suddenly going to 0% (after a year of working great) #81588
RayKeymasterThe firmware always resets the watering level to 100% before sending out a weather query so it shouldn’t get stuck in 0% — usually if it’s stuck at 0%, it’s because the weather algorithm returned 0% to the firmware.
One example of how ETo will return 0% is if there is significant precipitation. The formula of ETo is explained in our support article:
https://openthings.freshdesk.com/support/solutions/articles/5000823370-use-weather-adjustments
as you can see if there is significant precipitation it can cause ETo to become 0%.
RayKeymasterThe OSPi board does not have a built-in microcontroller so the test code is not in the firmware since the firmware will have to run on a RPi. We have a dedicated OSPi tester, which is based on a ATmega microcontroller. It runs basic testing code including testing each zone, button, and LCD etc.
RayKeymasterThe current firmware is Y2038 compliant, but not Y2106 compliant — it represents time using unsigned long, which means it will overflow in the year 2106, but it will work just fine through 22038.
RayKeymasterIt’s probably ok. The entire 5V rail can supply up to 2 amp. OpenSprinkler’s ESP8266 draws about 100 to 150 mA (if you use wired Ethernet module, that’s another 180mA). So it can easily support another gadget that needs 200mA. Keep in mind that all this power eventually come from the external 24VAC power adapter (if using AC) or 7.5VDC power adapter (if using DC), so if you also want to run many zones simultaneously then it’s going to strain the external power adapter. But if you don’t run more than 1 or 2 zones at the same time, it should be ok.
RayKeymasterPlease check the user manual:
https://openthings.freshdesk.com/support/solutions/articles/5000716364-opensprinkler-user-manuals
RayKeymasterYou may want to consider installing a per-zone fuse. Using one single fuse for the whole controller makes it difficult to choose the correct fuse rating. Because some of the customers run multiple zones at the same time, which draws a lot of current, it’s very difficult for one single fuse to distinguish between whether the current surge is due to turning on multiple zones at the same time, or one solenoid is shorted. To solve the problem you can install a small fuse (like 0.5A or 1A) inline on each zone wire, that way, if a particular zone is shorted that should trip the fuse quickly and correctly.
RayKeymasterThat’s what the ‘Remote Station’ feature is for: use one OpenSprinkler as a master controller, and another one as remote controller. Just one expander cannot be a remote controller, because the expander is a passive device that does not have a microcontroller in it. But you can buy another main controller and use that as a remote controller.
RayKeymaster“but I do not do it during the 3 minutes.” — what does that mean?
RayKeymasterI can reproduce this issue. Will check it shortly. Thanks for reporting.
RayKeymasterThe per-zone flow data will only be non-zero if the zone runs for at least 2 minutes and half minutes or more. This is because the logic to compute a reliable flow rate for each zone requires that much running time to stabilize the reading.
RayKeymasterOK. Thanks for posting the update.
RayKeymasterI see, I figured out the link issue: it should be https://raysfiles.com/.. NOT http (i.e. secure vs. non-secure). It has been fixed now. Please try again.
Are you using static IP assignment on OpenSprinkler? If so, yes that will be erased so it goes back to DHCP mode. You can always click button B1 to find the IP address it’s assigned by the router. In fact, we always recommend not changing DHCP settings on OpenSprinkler, instead, use the router’s DHCP reservation to reserve a fixed IP, that’s a much better way to manage fixed IP.
After you upgrade the firmware, and find out the IP address, then you can still go to:
http://os_ip/su
to change the UI link to your local server. You should probably update the content on your local server too, as new firmwares generally have new features that require matching UI files. If you don’t upgrade the content on your local server, some of the new features won’t be visible.
RayKeymasterThe link is not broken. Try to use a private browsing window or clear your browse cache. It may be that your browser has cached an old and outdated link.
The firmware update instructions say specifically to save a copy of your configurations so you can import them after the firmware upgrade, to restore settings.
I’m not sure about static content from your reverse proxy. You need to provide more details.
RayKeymasterIf you have 24VAC power adapter connected, you can measure the AC (note: AC, not DC) voltage from the COM (common) terminal to a zone. When that zone is open, the voltage should be about 24VAC.
Alternatively, you can measure the DC voltage (note, DC) from +5V pin to a zone. When that zone is open, the voltage should be about 5VDC, and when the zone is closed, the voltage should be close to 0V.
RayKeymasterThe firmware build script automatically handles I2C config in your config.txt:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/dev/221_1/build.sh#L11
The firmware does NOT use I2S or SPI so they are not needed.
RayKeymasterFirmware 2.2.1(1) is in this branch:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/tree/dev/221_1
so you can pull this branch already and it will make the LCD and buttons work. It’s not yet merged to the master branch because we are finalizing the UI/app and will release the new firmware once the UI/app is released. -
AuthorPosts