OpenSprinkler Forums OpenSprinkler Unified Firmware Announcing OpenSprinkler Unified Firmware 2.1.5 (major bug fix)

Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #38248

    Ray
    Keymaster

    Hi All,

    We’ve just released OpenSprinkler Unified Firmware 2.1.5. This firmware includes the fix to a major DHCP bug (see below), and added a couple of new features.

    Bug Fixes:

    – Fixed a major DHCP bug that causes repeated DHCP requests when leaseTime is infinity (e.g. with DHCP reservation). Note that this is only relevant to OS; it does not affect OSPi or OSBo.
    – Fixed a bug that causes the controller to get stuck in ‘Connecting…’ when the last successful weather call expires.
    – Fixed a bug that causes master station to not run when rain sensing or rain delay is in effect.

    New Features:

    – Added support for changing weather parameters for the Zimmerman method (requires microSD card and App version 1.4.4)
    – Added support for DC powered OpenSprinkler (with built-in boost converter)
    – Added support for I2C LCD (to be used with future OpenSprinkler hardware)
    – Added firmware minor version number
    – Added support to display hardware version and type on start-up (OS only)


    Upgrade OS 2.0/2.1/2.2/2.3 to Firmware 2.1.5:

    Please follow the OS Firmware Upgrade Instructions.


    Upgrade OSPi/OSBo to Firmware 2.1.5:

    Please follow the OSPi/OSBo Firmware Upgrade Instructions.


    Technical Details:

    1. We discovered a DHCP-related bug (in the EtherCard library for Arduino) earlier today. This bug causes the device to send repeated DHCP requests if the DHCP lease time issued by the router is infinity (-1), which is often the case when you have set up DHCP reservation for OpenSprinkler. This actually explains several strange issues we’ve seen previously, related to DHCP and network connectivity. So it’s highly recommended you upgrade to this new firmware as soon as possible. Note that this bug only affects OpenSprinkler, not OSPi or OSBo.

    2. This firmware supports editing the parameter weights used in Zimmerman weather algorithm. Specifically, the app sends the parameters to the controller and the controller stores them to the microSD card. When making weather query, the controller passes the parameters to the cloud server, thus the parameters will affect the returned water level. Currently three parameters are editable: temperature, humidity, precipitation. The weight associated with each parameter ranges from 0 to 100%. 0 means that parameter does not participate in the calculation at all; 100% means full weight. For example, if all three weights are 0, that means none will influence the water level, therefore the water level is always 100%. If all three weights are 100%, it’s equivalent to the original Zimmerman algorithm. You can adjust the weight accordingly to change the influence of the three factors.

    To use this feature on OS, you will need to have a microSD card installed (all OS 2.3 units come with built-in microSD card). For OSPi/OSBo, it’s automatically supported with no extra requirement.

    3. Support for I2C LCD and DC powered OpenSprinkler are also added in this firmware. These are in preparation for the upcoming hardware. In particular, DC powered OpenSprinkler will use 9VDC and is meant for both 24VAC sprinkler solenoids as well as DC solenoids. It’s mainly for International markets where 24VAC power supply is difficult to source. I will make a separate announcement when it’s ready to be released.

    #38258

    Wokkeltje
    Participant

    Tnx for the update of the Zimmerman parameters.
    My first impression seems very promising.

    I just noticed that after the update my config was lost, I had to import the backup again.
    After the update I needed to configure the Zimmerman parameters before the program became visible.

    This was not an issue for me, and I don’t know if it was an issue related to my setup or if it was by design.

    Tnx for the good work.

    #38259

    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!

    #38261

    Wokkeltje
    Participant

    After the upgrade I logged on and imported the config from version 2.1.4.
    Everything seemed OK, except that I did not see my 2 programs.
    After I configured the “Adjustment Method Options” the 2 programs became visible.

    #38263

    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!

    #38268

    BinaryOS
    Participant

    Added support for changing weather parameters for the Zimmerman method

    Excellent! thank you! shall upgrade over the weekend.

    #38296

    Wokkeltje
    Participant

    A question about the Weather Diagnostics.

    I use the following weather station: http://www.wunderground.com/personal-weather-station/dashboard?ID=IVLAAMSG160#history

    The site is reporting the following data

    jun 10, 2015
    High
    Temp: 19.1 °C
    Humidity: 94%

    Low
    Temp: 8.7 °C
    Humidity: 50%

    Average
    Temp: 13.9 °C
    Humidity: 80%

    My OS reports:
    Min Humidity: 45%
    Max Humidity: 87%
    Mean Temp: 12.5 °C

    Why is the OS showing different data than I find on Wunderground?

    Is it also possible to be able to configure not to use the average temp, but the max temperature (or the average daytime temp) because in Belgium we have cold nights, so the average is Always low.
    Since the 2.1.5 version I am able to lower the temp impact, so this is already very nice.

    #38339

    caletronic
    Participant

    Hi,

    While I’ve been very pleased so far with my ospi opensprinkler I am now quite angry. The firmware upgrade instructions worked perfectly. Why didn’t you tell us that our current config would be wiped and that it should be saved? I did see the “export configuration” option but didn’t really know why I would want to do that.

    Now I have to re-enter my entire config and we’re supposed to be heading out of town for a couple of weeks so I’ll have put in some late hours getting this all set up again.

    Aargh!

    #38340

    cuteboi
    Participant

    Linux binary requires some Debug files;

    $ ./osFWUpdater_x64
    ./osFWUpdater_x64: symbol lookup error: ./osFWUpdater_x64: undefined symbol: _ZN6QDebugD1Ev

    I already installed the libqt5serialport5, but not sure what’s next, I’m searching Google for the meantime

    EDIT: Recompiled, and loaded perfectly

    #38342

    rhldr
    Participant

    I’ve suggested before to save the config file as part of the update process. Open Updater, Save config, Download latest, Update, Restore config all in one process. Seems like a simple solution.

    #38357

    tom
    Participant

    +1 on the update process saving and restoring the configuration.

    #38379

    Wokkeltje
    Participant

    Any idea about the difference I see between what my OS is reporting and the data on Wunderground?
    (See my post from June 10, 2015 at 5:10 am)

    #38582

    ottorino
    Participant

    No success here on MATE Mint

    I get the same error as cuteboi
    ./osFWUpdater_x64: symbol lookup error: ./osFWUpdater_x64: undefined symbol: _ZN6QDebugD1Ev

    I cannot recompile
    I get the prompt after qmake but this what I get after “make”

    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o mainwindow.o mainwindow.cpp
    In file included from /usr/include/qt4/QtGui/QComboBox:1:0,
    from ui_mainwindow.h:16,
    from mainwindow.cpp:2:
    /usr/include/qt4/QtGui/qcombobox.h: In member function ‘void MainWindow::on_btnDetect_clicked()’:
    /usr/include/qt4/QtGui/qcombobox.h:233:10: error: ‘void QComboBox::currentIndexChanged(int)’ is protected
    void currentIndexChanged(int index);
    ^
    mainwindow.cpp:51:66: error: within this context
    ui->cmbDevice->currentIndexChanged(myHandler->curr_device);
    ^
    make: *** [mainwindow.o] Errore 1

    No matter if I run both commands as sudo

    #38583

    Samer
    Keymaster

    If you are in Linux then you can update manually using avrdude (no GUI just CLI). I’m on my mobile now but if you provide your OpenSprinkler hardware version I can reply in a few minutes with the specific command needed to update.

    #38584

    ottorino
    Participant

    The one with one orange socket. 2.1 right?

    #38586

    radas
    Participant

    Customize Zimmerman method params is nice option, but why is it not possible to set more then 100%, for example wanna set the rain to have higher impact for calculation. Thanks

    #38599

    ottorino
    Participant
    #38602

    rjalex
    Participant

    Is there any way of subscribing via email, RSS feed or whatever other mechanism to firmware updates announcements only ?

    2.1.5 has the very important modifiers for the zimmerman algo but I stumbled on it’s announcement just by chance visiting the forum (and missed 2.1.4 entirely).

    Thank you very much.

    #38605

    Samer
    Keymaster

    The application will actually notify you when an update is available. You should see the notification on the top right corner of screen. The notification will also show you the changelog.

    Hope this helps!

    #38614

    rjalex
    Participant

    Thank you so much Samer ! I really feel dumb for not noticing ! 🙂 Take care.

    #38624

    Samer
    Keymaster

    No problem at all and just so you know, when you dismiss the popup it will never show it again for that version number. However, if a newer update comes out, the popup will re-appear.

    Thanks!

    #38657

    Ray
    Keymaster

    @radas: the reason the weights are capped at 100% is that almost everyone who needed the adjustment felt the original weights are too aggressive, therefore we provided options to reduce the weight of each factor. Technically there is no difficulty at all to allow the weight beyond 100%, but we haven’t heard any request before yours.

    #38742

    ottorino
    Participant

    Just for the records.
    On updating the firmware, also the logs are canceled, not only the programs.

    #38747

    Samer
    Keymaster

    The logs are not shown after upgrading from firmware prior to 2.1.0. This is because the way logs are stored changed in 2.1.0. Any update after that will not cause loss of log data.

    Update: Also, the log data from before is still present on the SD but has been moved to a LOGS sub directory.

Viewing 24 posts - 1 through 24 (of 24 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Announcing OpenSprinkler Unified Firmware 2.1.5 (major bug fix)