Forum Replies Created

Viewing 25 posts - 426 through 450 (of 1,705 total)
  • Author
    Posts
  • in reply to: Last Weather Call Days Ago #38502

    Samer
    Keymaster

    @radas Correct, when a program is running the controller will forgo network polls such as weather updates. The relevant line of code preventing the weather update when a station is running is contained in one line, here: https://github.com/OpenSprinkler/OpenSprinklerGen2/blob/master/main.cpp#L588. You are welcome to disable it for your use case however the reason we are doing this is to ensure the program runs uninterrupted. We will consider changing this condition in the future but for now as we roll out this relatively new featureset we want to ensure it works without interrupting any scheduled programs.

    As soon as the program stops though, the check_weather function will be called and since the time since last check has drifted, it will update immediately after a program run.

    in reply to: Zimmerman Method? #38473

    Samer
    Keymaster

    Richard Zimmerman is a forum member here who first introduced the weather adjustment feature in his code (explained here: https://github.com/rszimm/sprinklers_pi/wiki/Weather-adjustments) and we have since incorporated it into the main code base (Unified firmware) due to the feedback from users. As far as references go, I don’t think either one of us could provide much past what Richard Zimmerman has documented.

    in reply to: blank page #38468

    Samer
    Keymaster

    Unless you are hosting the UI files on the Raspberry Pi as well, Apache is not used. Also, I don’t see any errors in the log output you pasted. This is also why /var/www is empty. The firmware actually launches it’s own web server for the data and uses the Internet for the UI files. Therefore, if you don’t have a working Internet connection, this could be the cause of the blank page.

    Can you try an application or browser extension? We have extensions for Chrome and Firefox and apps for OS X, iOS, Android, Blackberry 10, Windows Phone 8 and Amazon Fire. The apps do NOT need an Internet connection and have all the UI assets they need bundled inside.

    Also, if you are interested in copying the UI files to the Raspberry Pi and using Apache to host them we have a guide for this: https://opensprinkler.freshdesk.com/support/solutions/articles/5000164006-using-a-different-server-for-ui-assets. In the future, we will consider preconfiguring the SD card for the OSPi to automatically do this however the reason we don’t the UI would no longer get updated automatically, like it does when hosted on the Internet.

    Also, none of this helps, can you open the Developer Tools (in Chrome right click and push “Inspect Element”) and navigate to the “Console” tab? Here you will see any errors listed in red. If there are any, can you please share them.

    Thank you!

    in reply to: Last Weather Call Days Ago #38467

    Samer
    Keymaster

    Hi Lukas (and everyone else with this issue),

    There was a bug discovered in firmware 2.1.4 that prevented the controller from correctly updating the weather data. This has been fixed and released in firmware 2.1.5. Please upgrade by following the guide here: https://opensprinkler.freshdesk.com/support/solutions/articles/5000381694-update-opensprinkler-firmware-with-downloads-

    Thanks!

    in reply to: Python script to log PI CPU temp to Thingspeak channel #38466

    Samer
    Keymaster

    Raspberry Pi keeps specifications on the max operating temperture but I did look this up before and I believe the network controller is what gets the hotest on the Pi but can withstand ~60 C before having to turn off.

    If it does overheat, the sensor will tell the board it’s too hot and it will just kill the power. This is in regard to the Raspberry Pi, not the OpenSprinkler Pi.

    Thanks!

    in reply to: Sunset Times correct in weather, but not in programs #38451

    Samer
    Keymaster

    The preview bug you are describing is known and has been fixed but not released yet. This will be fixed in app version 1.4.5. Just know the firmware will use the correct time and the bug is only in the UI.

    The odd/even restriction means don’t water on an even day or don’t water on an odd day. This sounds like it’s the opposite of what the Irritol did.

    in reply to: Unwanted loop caused a large waste of water #38443

    Samer
    Keymaster

    I appreciate the idea you had in mind however the changes since 2.0.9 are major and hard to correlate at this point.

    Thank you for your understanding!

    in reply to: Minor quirk in the operation of the UIs #38442

    Samer
    Keymaster

    Hi, thank you for reporting this. I completely understand what you are saying and will add some code to update the status of the operation flag throughout the UI.

    Thank you!

    in reply to: Unwanted loop caused a large waste of water #38436

    Samer
    Keymaster

    The scheduler was changed dramatically in 2.1.0 and again in 2.1.1. Therefore, could you update your firmware and let us know if that resolves the issue.

    The reason is we won’t be producing a patch/fix for 2.0.9 if the problem isn’t present in the later firmwares. I hope this makes sense.

    Thanks!

    in reply to: Tapatalk #38410

    Samer
    Keymaster

    Chad this should be resolved now. Had to update the forum URL in tapatalk settings. Let me know if you are still having the issue.

    Thanks!


    Samer
    Keymaster

    As of right now, the concept of users and access levels is not present. We will consider this in the future though.

    in reply to: Weather adjustment options – Germany #38396

    Samer
    Keymaster

    In firmware 2.1.5, we added weather adjustment options which lets you modify the scale of each factor in the Zimmerman method. This should allow you to tweak the adjustment for your environment.

    Thank you!

    in reply to: Logs lost after successful upgrade from 2.0.9 to 2.1.5 #38393

    Samer
    Keymaster

    No, however during the upgrade to 2.1.0, logs got moved into a LOGS directory on the SD card instead of putting them in the root directory. I believe that was the cause of the log files not showing up anymore. Most likely they are in the same format and can be moved into the directory manually if you remove the SD and put it into a computer temporarily.

    in reply to: At f/w 2.0.5 to upgrade or not… #38382

    Samer
    Keymaster

    Yes, it is a FireFox Marketplace application which can be installed using FireFox and will show up as it’s own app on your computer once installed.

    The link is here: https://marketplace.firefox.com/app/opensprinkler/

    This also works on FirefoxOS devices/phones.

    in reply to: arduino controller date and time incorrect #38377

    Samer
    Keymaster

    What location are you using? I’m wondering if it’s a timezone issue as some time zones can have a 30 minutes difference.

    Do you see the drifting occurring or is it immediately 30 minutes behind after a reset etc?

    in reply to: At f/w 2.0.5 to upgrade or not… #38310

    Samer
    Keymaster

    Starting with firmware 2.1.5, we no longer support hosting the UI files on the SD card. We really never recommended it but now we have removed the ability for the reasons outlined below:

    First, the SD card is very slow for the Arduino (leading to browser timeouts) and was very noticeable to the end user so for this alone the SD card hosting the files was never acceptable (in my opinion).

    Second, the SD card files access from the Arduino perspective was a fair amount of code so by removing it we were able to add other features (such as weather adjustment options which OS 2.1 would not have enough space for otherwise).

    Third, the OpenSprinkler does not require the UI files to function, at all. So by hosting them on the SD card you are not protecting yourself in any measurable way. Really what you need is the OpenSprinkler app. Every copy of the app has the UI files integrated and will never require an Internet connection. This means if you are using the Google Chrome extension, Firefox extension, OS X app, iOS app, Android app, Windows Phone app, Amazon Fire app, BlackBerry 10 app, or even opening index.htm locally on your computer, you won’t require an Internet connection.

    For a full list of OpenSprinkler activities that require an Internet connection please refer to my list here: https://opensprinkler.com/forums/topic/os-regular-connection-to-the-cloud/#post-38210. This also highlights how the device will operate in the absence of an Internet connection.

    in reply to: HDMI Port #38304

    Samer
    Keymaster

    This is exactly why I prefer the Arduino for the sprinkler system application over the Pi. The Pi comes with additional complexity which needs to be accounted for.

    With that said, it likely won’t fit in the case if you try to use your own wiring. Does SSH stop working as well? If so, you might have an underlying issue causing the Pi/OS to lockup. If that’s the case, you can look into using a watchdog to reboot the Pi for you.

    in reply to: HDMI Port #38302

    Samer
    Keymaster

    It is possible to use wires to attach the pins from the OSPi to the OS which would free up the space to plug in your HDMI cable.

    in reply to: At f/w 2.0.5 to upgrade or not… #38301

    Samer
    Keymaster

    There are quite a few improvements and new features in the upgrades from 2.0.5 however the upgrade does require you to upgrade via the USB port and to make sure you backup your configuration.

    If you don’t mind performing the tasks above, you can upgrade to gain some new features and stability.

    If the steps above sound complicated and the controller is doing everything you need it to, there is no reason to have to update.

    in reply to: App can't connect to opensprinkler #38288

    Samer
    Keymaster

    Try deleting the site from the app and re-add it as a new site. If it still doesn’t work in iOS or Android please let me know.

    in reply to: OpenSprinkler stops working #38267

    Samer
    Keymaster

    Jerry,

    Thank you for the debugging the issue and finding a resolution. I was able to recreate the problem by following the steps you mentioned. I went ahead and created a pull request with the proposed fix and can confirm it resolves the symptoms described. I will merge the pull request after a few more tests. I test/debug on OS X so I added a define for MSG_NOSIGNAL which isn’t available in OS X (however SO_NOSIGPIPE is).

    https://github.com/OpenSprinkler/OpenSprinklerGen2/pull/20

    Thanks!

    Update: I went ahead and merged this. So please update and let us know if the issue is resolved or if it persists.


    Samer
    Keymaster

    Ah okay now I understand.

    The app immediately asks for the programs after adding them from the backup and sometimes the controller needs a second to save everything and report it. The app however won’t check again for another 30 seconds so it’s likely your other activity allowed time for it to re-poll.

    I’ll find a better way to update the programs after an import, possibly adding a small delay.

    Thanks!


    Samer
    Keymaster

    In regard to the config being lost after upgrade, this is something that is expected. When the firmware updates a major version, it deletes the EEPROM and this is done since the layout is no longer compatible with the new one and resources needed to convert between all various firmware jumps could get quite complex.

    Instead, we allow the app to export and import the config, as you did.

    What do you mean you had to configure the parameters before the program became visible?

    Thanks for the feedback!

    in reply to: Edit weather adjustment #38220

    Samer
    Keymaster

    Yes, this is something we are working and should have it available in the next version.

    in reply to: Static IP DNS Server? #38219

    Samer
    Keymaster

    Hi Jess,

    This is actually a recent bug discovered in 2.1.4 and a fix will be released very soon in 2.1.5.

    For now, rebooting the controller should resolve the issue.

    Thanks!

Viewing 25 posts - 426 through 450 (of 1,705 total)