The DiskStation by Synology is a famous NAS server solution for your home, allowing the installation of additional packages.We are proud to be able to provide an openHAB Synology package.
![]() # Prerequisite - Install Java
Find helpful customer reviews and review ratings for Synology DiskStation 2-Bay. Setting up tasks/cron jobs, adding Telnet support, setting up VPN access - it's all. DNS service to allow you access to your home network (whose IP address is. Type of support (CRM) and human resources (ERP), VOIP (Asterisk), LDAP. Note: I recently purchased a Synology DiskStation DS411j & I'm putting up. So let's install ipkg so we can then install other software on the Synology DiskStation! Apache; asterisk; autossh; avahi; bash-completion; cdrtools; clamav; coreutils. Set up the Synology DiskStation DS411j to support UTF-8.
Current releases of openHAB require Oracle Java due to the generation of certificates based on EC which is not available in free Java implementations.If you see the following error you are likely using OpenJDK:
The easiest way to install Java is to install the Synology Java8 package from Package Center.After installation, OpenJDK will be used by default and must be upgraded.To update Oracle JDK to Java8, click the Install Java / Upgrade Java button and then follow the onscreen instructions.The filename and format of the uploaded file will be checked before installation.
Armada 370/XP systems running DSM 6 require hard float ABI rather than the soft float used on DSM 5.If there is not a Java8 package in the Package Center, your machine may not be supported by the Synology package.
The best option for older unsupported Synology models such as PowerPC and ARMv5 is to include the PC-Loadletter Repo.Download Java SE(latest ARMv6)(Java Cryptography Extension if required) and put them in the public folder of your NAS.Then start the installation of Java8 SE.
Note that it may be necessary to rename the downloaded file to match the name the Loadletter utility expects which may be an older version than what is currently available.
The Java8 PowerPC versions are available from Oracle.
# Installation
Download the latest SPK package: ReleasesThe SPK is a wrapper to download the latest openHAB release and does not contain openHAB itself.
If your NAS cannot connect to the internet, the installer will tell you to download and place the ZIP file into your NAS public folder.
# Configuration
The location of configuration files by openHAB differs depending on wether or not a shared folder named
public exists:
For certain Synology models the
public folder is created automatically during the first setup.The administrator can also create a public shared folder if desired.
Synology does not document which models will automatically create a public folder.Refer to the Synology knowlegde base article on Shared Folder to learn more.
# Logging
The openHAB2 log files can be found here:
/volume1/@appstore/openHAB2/userdata/logs/ .
From Version openHAB-2.2.0.006 the SPK generates two log files located at
/var/log/ .
The first log file
openHAB2-install.log will be generated during the installation. If you can't install the openHAB2 SPK, please have a look inside the file.
The second log
openHAB2-start-stop.log will be generated by starting and stopping openHAB2 inside the Package Manager.
Caught a mistake or want to contribute to the documentation? Edit this page on GitHub
What Is a Synology NAS?is a company, founded in 2000, specializing in Network Attached Storage (NAS) devices. A NAS, simply put, is a computer optimized for data storage, often with additional functionality layered on top. Synology has two primary product lines, DiskStation and RackStation, with the former intended for home users and small offices and the latter intended for larger commercial environments.The range in size from simple one-bay models (starting at around $150) that offer a non-redundant place to park your data, all the way up to larger models that support 12 drives (starting at around $1000+) with support for advanced multi-disk redundancy and even expansion via auxillary disk bays. Between the two ends of the size spectrum, they can effectively cover the home use needs of everyone from the “I need to backup my family photos” crowd to the “I need to back up the entire internet” crowd.DiskStation models come with a propriety Linux-derived operating system, known as DiskStation Manager. DiskStation Manager comes with a very intuitive web-based interface that feels like you’re using a desktop computer, complete with easy to identify icons, well laid out menus, and abundant help files.
In addition to core NAS features like file management, you can add a large array of custom plugins that handle things like organizing your family photos, torrenting files, and everything in between. The end result is a multi-function device that can perform the tasks of a full size computer, but without the energy consumption.
(Even the beefiest DiskStation models consume less than half what a desktop computer or full size home server would.)Let’s look at the setup process for the, a four-bay model with plenty storage room and plenty of memory and processing power (including on-the-fly video transcoding for home streaming applications). It’s a great model to showcase the setup process, as it sports the additional ports and such found on the larger models but still shares the same operating system found on all DiskStation models. The Physical Setup: Fill, Plug In, Boot, and Enjoy the SilenceYour Synology NAS comes with a power cable, an Ethernet cable, drive mounting screws, and, if you have a higher end model, it may also come with hot-swap drive bay trays, and a second Ethernet cable (the high end DiskStations support dual network cards for increased network throughput).
Before we take a look at the actual unit and how to fill it up, let’s talk about disk selection. Hard Drive SelectionFor an optimum NAS experience, we recommend starting with new drives, in the largest size your budget will allow. For our purposes we’ll be using, which are specifically designed for NAS use where operation is projected to be around the clock in a tight space.
Regardless of the brand of hard drives you go with, you want to, at minimum, avoid budget or desktop drives and stick with server/NAS drives.If you’re contemplating what size drives to use (or the effects of mixing different size drives), we highly recommend to help visualize how different drive combinations yield different amounts of usable space.RELATED:Synology uses a custom RAID setup called Synology Hybrid RAID (SHR)—seen as the selected option in the screenshot above—designed to keep your drives redundant. That means you’ll need more drives, but if one fails, you won’t lose any data, because it’ll be mirrored on another drive. You can, if you aren’t familiar with it.Even if you’re familiar with basic RAID terminology, though, you’re likely not familiar with Synolgy’s Hybrid RAID setup if you haven’t used Synology products before.
It is a superior option for almost every consumer scenario, hands down. It offers more flexibility than traditional RAID, it’s much easier to expand your storage in the future if you use it, and it makes radically more efficient use of disk space when the disk array doesn’t have perfectly matched drives. Don’t take our word for it though—if you want to dive into the technical breakdown between SHR and RAID,.
Adding the DrivesLet’s take a look at the case with the removable cover off, and then pop (and populate) the drive bays. To remove the face plate, simply wiggle it away from the chassis of the NAS. The plate is held in place by thick rubber fingers (designed to help silence vibration) and should come off easily with a first touch.Note the tabs at the top of each drive bay. Simply push the tab gentle upwards and slide the tray out. Although tray screws are included with all the models (some of the more economical models in the Synology line don’t have drive trays and require direct mounting of drives via screws), you don’t need to use them on the hot-swap trays. While you can do so if you’re really set in your ways, it’s much better to use the hard drives in their trays without the screws by gently pulling off the side guards (seen below), pushing the hard drive into the tray, and then snapping the side guards back into place. (The only exception for the use of screws on the hot-swap trays is with the use of 2.5″ drives—you have to screw mount them to keep them from sliding around.)The hard drives are held very firmly in place thanks to rubber grommets in the side of the trays, and the lack of hard contact between the drive and the tray (thanks to the rubber buffer) does an amazing job minimizing vibration.
Once you’ve trayed all your drives, slide them back into the NAS. Where to Park Your NASWith the drives in your NAS, it’s time to take a peek at the back of the NAS to see where everything will be plugged in, and talk briefly about where you’ll place it in your home. First, here’s the backside.On this particular model you’ll find a power jack, two LAN ports, an eSATA port, two USB ports (which can be used both for storage expansion and backup as well as using your Synology as a print server), and, of course, the cooling fans. Why two LAN ports on the larger premium models?
If you’re using those models in a high-demand environment (e.g. Your Synology is the file server for a large household or organization that is accessing the NAS simultaneously) you can use both LAN connections for a significant throughput boost.
This kind of arrangement shines when multiple people are all streaming HD video at once but is less important if you’re the only one streaming video to a single destination.With that in mind let’s talk about NAS placement. Wherever you place the NAS it should be, ideally, a cooler area of your home (ground floor and basements are great, stuffy attic guestrooms are not) with hardline access to your router or network switch. If you’re a mostly-wireless household, this means you may be limited to placing your NAS next to wherever the router is installed.
First Boot Setup: Configuring Your NASOnce you’ve found the right spot for your NAS and wired it all up, it’s time to boot it up for the first time. Unlike a traditional computer, there won’t be a mouse, keyboard, and monitor attached. When you press the power button, it will boot up quickly and then just sit there (don’t be alarmed if you don’t hear a thing, we can’t hear the fans on our unit unless we have our ear a few inches from the back of it).After powering it on, head to any computer that’s on your local network (Ethernet or Wi-Fi connection is fine, so long as it’s on the same network as the NAS). Open your web browser and head to, this will pull up the Web Assistant startup wizard, seen below.
Click “Connect” to start the process of configuring your Synology NAS.The first step is the naming of your server and the creation of the administration account. There’s a couple things to consider on this step. FIrst, your server name is how your NAS will appear on your network and will be listed in various applications.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |