Forums

Resolved
0 votes
Hi everyone,
A couple of hours ago a new Domoticz version was released upstream. As usual it is on the bleeding edge which creates challenges when trying to adopt it to ClearOS (or even Fedora...).

This new version is also uses the new OpenZWave 1.6 library which is a radical upgrade from previous version. While I belive the new version is much improved compared to the current version used in ClearOS, I am not sure how easy it is to do the upgrade without having to erase the device database (which would "kill" any ZWave network forcing the user to add the devices to Domoticz again.

Also, as previous releases have had a tendency to be "unfinished" at the time of the release. It is best to wait a while to make sure most bugs have been fixed. This time, the developer behind Domoticz even acknowledge in the release notes that it is not fully complete to be compiled on anything else than the latest Debian platform right now.

So given this, I will start to do my own test builds and see what modifiactions is needed before I can actually even build it. Then it needs to be tested and I need to find out what to do with the OpenZWave database etc. Expect this to take a month (at least).

/Fred
Sunday, March 22 2020, 06:14 PM
Like
1
Share this post:
Responses (4)
  • Accepted Answer

    Sunday, April 12 2020, 04:00 PM - #Permalink
    Resolved
    0 votes
    Hi,
    Domoticz 2020.1-2 and libopenzwave-1.6.1074-1 are now available for testing in repo contribs-testing (for ClearOS 7). This is as earlier stated a major upgrade, with a slightly new database format etc and using the whole new Z-wave library if you have any Zwave devices.

    Once you have upgraded domoticz will rebuild its database, so it is not possible to roll back without loosing all your settings unless you have made a backup first. There is a backup functioni inside Domoticz under the settings menu. (The files are found in /var/domoticz ). When installing Domoticz 2020.1-2 it will as an extra safety measure make an backup of the old database and put it under a special folder under /var/domoticz.

    I have tested it on a local machine for more than a week without any problems, but I only have a small Zwave plus network (with UZB1 as a controller) and using blocky as script language.

    To upgrade do this:

    1. Backup your Domoticz database: (Go to "Setup" -> "Settings" -> "Backup/Restore" inside the Domoticz web interface
    2. At the command line, logged in as root type:
    yum update --enablerepo=clearos-contribs-testing libopenzwave domoticz


    Please report in this thread if the new version seems to work OK or if you are facing issues with it.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 13 2020, 03:14 PM - #Permalink
    Resolved
    0 votes
    Fredrik Fornstad wrote:

    Hi,
    Domoticz 2020.1-2 and libopenzwave-1.6.1074-1 are now available for testing in repo contribs-testing (for ClearOS 7). This is as earlier stated a major upgrade, with a slightly new database format etc and using the whole new Z-wave library if you have any Zwave devices.

    Once you have upgraded domoticz will rebuild its database, so it is not possible to roll back without loosing all your settings unless you have made a backup first. There is a backup functioni inside Domoticz under the settings menu. (The files are found in /var/domoticz ). When installing Domoticz 2020.1-2 it will as an extra safety measure make an backup of the old database and put it under a special folder under /var/domoticz.

    I have tested it on a local machine for more than a week without any problems, but I only have a small Zwave plus network (with UZB1 as a controller) and using blocky as script language.

    To upgrade do this:

    1. Backup your Domoticz database: (Go to "Setup" -> "Settings" -> "Backup/Restore" inside the Domoticz web interface
    2. At the command line, logged in as root type:
    yum update --enablerepo=clearos-contribs-testing libopenzwave domoticz


    Please report in this thread if the new version seems to work OK or if you are facing issues with it.

    /Fred


    Hello Fred,
    Thanks for the update.

    I did not run (yet) in to serious problems.
    2 Nodon controllers needed be re-connect to Domoticz, but other z-wave devices still were functional without any issues.
    My scripts (both Blocky and DzVents) are still working.
    After re-adding the 2 Nodon controller, they were operating again. Needed just to change my Blocky script, because the idx was changed due to the re-adding
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 01 2020, 12:45 PM - #Permalink
    Resolved
    0 votes
    Upstream Domoticz have now released 2020.2 as a "Stable HotFix". Turns out that it is not just a minor adjustment to 2020.1. In the process a number of modules have now been moved outside the software package itself. In principle what has been done is a good thing, but it is (again) a major change that requires quite a bit of adjustment to make it work on ClearOS.

    After a few days trouble shooting I think got it working now. I have just updated a local machine that I have and I will run domoticz on it a few days to check that it is stable. If it works OK, then I will try to build it in the ClearOS build system and put it in contribs-testing for a couple of weeks before releasing it.

    /Fred
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 07 2020, 05:48 PM - #Permalink
    Resolved
    0 votes
    OK. the 2020-2 version is on its way.

    In order for this to build correctly I had to make a new libopenzwave that does not work with domoticz 2020-1 or earlier versions. This means that during a (hopefully short) time period between the build of libopenzwave and a successful build of the new domoticz that you can not install domoticz from clearos-contribs-testing. Installations of the old domoticz from the standard contribs library works without problem.

    The new libopenzwave is just built in contribs-testing and on its way to the mirrors. When that is done and it is also available in the build system, I will starting the build of domoticz 2020-2.

    /Fred
    The reply is currently minimized Show
Your Reply