🔴 OpenHAB Synology NAS (upgrade, always the latest version)

Synology NAS OpenHAB – run latest version!
OpenHAB Synology NAS (upgrade, always the latest version)

Welcome to my new post for my video on YouTube. In this one, I will show you how to make the latest openHAB edition work on your Synology NAS.

See the video about it on YouTube!

Let’s start! First visit the openHAB github pages where you will find the SPK installation file we will need. The link is in the description below. Scroll down the page and visit the releases link. The latest prepared release is 2.4 here. Go and download SPK file to your computer. It is the Synology NAS installation file we will edit.
I will use Total commander to show you how to do the steps very fast. It has nice features, so I use it every day. Just press ENTER to go into this ZIP file.
If you press F3 you can see “INFO” file contains installation info. Now press F4 to edit it. Switch to your browser. This page contains the latest precompiled distributions. Find this link below too. The newest release is 2.5.0.M6. We will need the ZIP file link and name. Now change the version number in the editor. Edit the distributor. Enter my name as you are thankful for this tutorial. You may change log info too. Now save the file. Click Yes for the Total commander to repack the changed file. Now we will go into scripts folder. Installer.sh is the file we need. Edit it. We will change the Download Path. Switch back to your browser and copy the link. Mind that you do now include the last forward slash. Copy text. Switch back to the editor and paste by Ctrl+V. Now change the ZIP file name too. Mark, CTRL+C, CTRL+V. Now mark only the name and repeat CTRL+C and CTRL+V. Save the file. Click Yes to repack. Now let’s visit the package.tgz file. Edit zwave file. This step is only necessary if you use USB to serial converters in openHAB. Why? Some NASes don’t have ACM COM port names. Mine has COM name. Repeat the last line for every adapter you have. Now save and repack. Commander will ask you several times. Click Yes. At the end we only have to rename the SPK file. If you want, you can find the file I am making here on my github pages.

If you have a previous installation first make a copy of the folder. I have made mine. The folder is “OLD openHAB”. Uninstall the openHAB. Delete the original openHAB folder if it still exists.
Open the Package Center in your NAS operating system. Click Manual Install. Find the file we have just made and procede with the installation. It has no certificate, just click Yes. Agree to the terms and procede. This is the path I use. Mind that we have to make subfolders. Open File Station. Under the “public” folder create all three requested folders. Close. Next. Here you can change ports. I use USB to serial converters, so I will check Z-wave. If this is your first installation leave the “Run after installation” checkbox checked. Finish by clicking Apply. If this is an upgrade, you do not want to run the application just yet. We will copy old configuration files over. Now wait for the installation to finish. Inbetween I sense you feel you see the future of this channel, so I ask of you to click the LIKE button, COMMENT your gratitude below and SUBSCRIBE to my channel. You might feel the urge to donate some greens via Paypal to me for my coffee. I admit, coffee stimulates my brain waves. Don’t hesitate and find the Paypal link below while it lasts. And we are back. It is finished. See how it looks like when we have a new version.

Here is the clip where I show which files to copy from old openHAB installation. These are the files I have manually made. These are not created via PaperUI user interface. We will copy PaperUI settings after this clip. I am marking files via Insert key and copying them via F5 key. Basically I copy all officially unsupported bindings, HTML files, images, items, things, rules, sitemaps, transformation files, persistence and other settings. You might even change some logging settings.

PaperUI settings are located under “userdata\jsondb” folder. It is all documented on documentation pages of openHAB. On the left you can see the new copy and on the right side my old settings.
You might make a copy of default settings before overwriting them. Delete them and copy over old settings.

Now let’s return back to our NAS. I will start the openHAB and fastforward a bit. The URL is at the bottom. I will click it and show you that the new version with all the old settings work. PaperUI works and so does BasicUI. Lights work. Front camera works. Shutters work. Alexa works. Air conditioning works. So, if you haven’t forgotten, now is the time to click the LIKE button, SHARE the video with your friends, COMMENT below, SUBSCRIBE to my channel and buy me a COFFEE. See you next time!


#openHAB #Synology #NAS

I will show you how to make the latest openHAB release work on your Synology NAS. We will change and repack Synology installation file .SPK with information about latest openHAB release. I will show you how to upgrade from your previous openHAB installation. We will copy over items, rules, scripts, bindings, transformation files and more. I will show you where are your old settings from PaperUI interface. We will copy them too. So, watch the video and upgrade your openHAB with the latest release!

Any questions regarding this video? Ask below in the comments.

Do you like my work?

  1. Hit LIKE.
  2. Hit SUBSCRIBE! Did you consider subscribing to my youtube channel and being updated when new videos are published?
  3. COMMENT below.
  4. SHARE video with your friends.
  5. Support my work monthly on Patreon: https://www.patreon.com/GreenEyedExplorer
  6. You can buy me a COFFEE directly via: http://paypal.me/rokrodic
  7. Buying through my affiliate links makes you no additional cost, but gives me a small headstart in getting new things for my explorations.

GreenEyedExplorer homepage: http://www.rodic.si
GreenEyedExplorer Thingiverse: https://goo.gl/jdyHbF
GreenEyedExplorer GitHub: https://goo.gl/XtjB3h

https://www.ghisler.com/ (Total Commander)

Song in the background: Topher Mohr and Alex Elena – Where I am From, Silent Partner – Basement Floor, YouTube Audio Library.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: