-
-
Notifications
You must be signed in to change notification settings - Fork 196
en.Installation
After the necessary hardware and software requirements for the installation of RaspberryMatic have been checked and fulfilled accordingly, you can continue with the actual installation of RaspberryMatic using the following sections. The installation process differs from the hardware platform used, so that the installation for each hardware platform is explained separately using step-by-step instructions in the following sections.
For the impatient or for already advanced CCU / HomeMatic / Linux users, the following quick start guide should explain the basic steps that can be found in every hardware-based guide in a similar process to carry out the RaspberryMatic installation:
** When using a CCU3 hardware: **
- Under [Releases] (https://github.com/jens-maus/RaspberryMatic/releases/latest) download the latest version as
RaspberryMatic-X.XX.XX.YYYYMMDD-ccu3.tgz
archive. - Log into the WebUI of the CCU3 that has already started.
- Under
Settings -> Control Panel -> Central Maintenance
, select the downloaded* .tgz
file like a standard firmware update underSelect file
and then start the update viaUpload
. - Then RaspberryMatic should be installed on the CCU3 hardware and can be used.
** When using your own RaspberryPi / ELV-Charly or Tinkerboard: **
- Under [Releases] (https://github.com/jens-maus/RaspberryMatic/releases/latest) download the latest version as
RaspberryMatic-X.XX.XX.YYYYMMDD-ZZZ.zip
archive (ZZZ corresponds to the hardware platform used -rpiX
ortinkerboard
, for ELV-Charly you userpi3
) - Unpack the archive accordingly using suitable archiving tools.
- Flash the
* .img
file contained in the archive using imaging tools such as" [Etcher] (https://www.balena.io/etcher/) "onto a suitable SD card of at least 4 GB or, in the case of the If a "Tinkerboard S" is used, the image can also be transferred directly to the internal eMMC after connecting the Tinkerboard via USB. - Insert the SD card into the RaspberryPi / ELV-Charly or Tinkerboard.
- Connect a suitable HomeMatic / homematicIP radio module via GPIO or USB.
- Then connect the RaspberryPi / ELV-Charly or Tinkerboard to the power and then RaspberryMatic should start up accordingly.
** When using a virtualization environment (vmWare ESXi, Proxmox, VirtualBox, etc.): **
- Under [Releases] (https://github.com/jens-maus/RaspberryMatic/releases/latest) download the latest version as
RaspberryMatic-X.XX.XX.YYYYMMDD.ova
file (not the*. zip
file!) - Import the downloaded
* .ova
file directly into the administration interface of the virtualization environment used and make the basic settings of the virtual RaspberryMatic VM in the subsequent dialogs. - Connect a suitable HomeMatic / homematicIP radio module to the host machine via USB and have it passed to the RaspberryMatic VM.
- Then start the VM and then RaspberryMatic should start up normally and be accessible via the WebUI.
More detailed installation instructions for all supported platforms can be found in the following sections.
The following sections describe how to install and operate RaspberryMatic using dedicated hardware or how to commission it in a virtualization environment.
- [CCU3] (Installation-CCU3)
- [ELV-Charly] (Installation-ELV-Charly)
- [RaspberryPi] (Installation-RaspberryPi)
- [ASUS Tinkerboard] (installation tinkerboard)
- [Intel NUC] (Installation-IntelNUC)
In addition to the installations on real hardware, there is also the possibility of installing RaspberryMatic in modern virtualization environments such as vmWare ESXi, Proxmox, VirtualBox, Synology VMM, etc. as a virtual x86 machine and together with a suitable [USB-based HomeMatic radio module] (Introduction # requirements) to be used. Here, RaspberryMatic is brought out as a so-called * .ova
archive that can be imported directly into the common virtualization solution with just a few clicks. This is to be described separately for each supported virtualization platform below:
- [vmWare ESXi] (installation-vmWare-ESXi)
- [Proxmox Virtual Environment] (Installation-Proxmox-VE)
- [Oracle VirtualBox] (Installation-VirtualBox)
- [Synology Virtual Machine Manager] (Installation-Synology-VMM)
- [QNAP VirtualizationStation] (Installation-QNAP-VirtualizationStation)
- [vmWare Workstation Player] (Installation-vmWare-Workstation-Player)
- [QEmu / KVM] (Installation-QEmu)
- [HyperV] (Installation-HyperV)
If you have successfully completed the basic installation on your own hardware or in your virtualization environment and you already have a different or older CCU control center from the company eQ3 / ELV, you can find out in the following sections how to adopt your existing configuration.
Due to the extensive compatibility between the operating system / firmware used on the CCU3 and RaspberryMatic, when switching from CCU3 firmware to RaspberryMatic, manual adjustments are generally only necessary if you switch directly from your CCU3 to a virtual RaspberryMatic system. More information about switching to a virtual RaspberryMatic can be found [here] (Installation # switch-to-virtual-raspberryMatic).
If you have installed RaspberryMatic directly on your existing CCU3 hardware using the [Installation Instructions] (Installation-CCU3), the configuration including the installed CCU add-ons should have been adopted automatically and no further steps are necessary. If, on the other hand, you change from the CCU3 hardware to another ARM-based hardware (RaspberryPi, Tinkerboard), after the fresh basic installation on this new hardware, the system backup (* .sbk
) previously exported via CCU3 WebUI can be transferred to the new RaspberryMatic via WebUI import. Further steps are then no longer necessary.
If you want to switch from an older CCU2 control unit with firmware version 2.x to RaspberryMatic, there are a few things to consider. If you have carried out the above basic installation steps on the new hardware or for the virtual RaspberryMatic and the new RaspberryMatic system works in principle and you can connect to the WebUI, you can access the data transfer from your old CCU2 (also LXCCU, YAHM, piVCCU2) as follows:
- If you want to take over the data from a CCU2 / LXCCU / YAHM / piVCCU2, you should make sure that you use the latest CCU2 firmware and a firmware version before you start taking over the configuration from your old CCU2 to RaspberryMatic. Otherwise, there could be certain problems with the switch if you also use the latest RaspberryMatic version.
- Log in to the old CCU2 using the WebUI and make a backup (
* .sbk
) of the current settings / configuration, etc. underSettings-> Control Panel-> Security-> Create backup
and keep them safe if the following points apply lead to a mistake. - Make a note of all the additional packages (CCU add-ons) listed under
Settings-> Control Panel-> Additional Software
, as these will have to be installed manually in a RaspberryMatic-compatible version later (after the configuration has been transferred to RaspberryMatic). - Now go through the list of additional packages / CCU add-ons under
Settings-> Control Panel-> Additional Software
and basically uninstall ** ALL **, but exclude the following add-ons, otherwise their configuration will also be deleted (these can be deleted later under point 10 can then be installed "over it" again):- [CUxD] (https://github.com/jens-maus/cuxd)
- [JP-HB-Devices-addon] (https://github.com/jp112sdl/JP-HB-Devices-addon)
- [HB-TM-Devices-AddOn] (https://github.com/TomMajor/SmartHome/tree/master/HB-TM-Devices-AddOn)
- Create a backup (
* .sbk
) again underSettings-> Control Panel-> Security-> Backup
and keep it temporarily. - Now shut down the old CCU2 and completely disconnect it from the power (_may not run parallel to RaspberryMatic! _).
- Completely delete the browser cache of the browser currently in use, then restart the web browser.
- Log in to the new RaspberryMatic using the WebUI and import the last backup (without additional software / add-ons) under
Settings-> Control Panel-> Security-> Import backup
. - After the restart, which was carried out by the backup, you should reconnect to the RaspberryMatic WebUI and first enter the following NTP server string under
Settings-> Control Panel-> Time / Position Settings-> NTP Server
:0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org
This ensures that a valid NTP server is entered after the next reboot, from which the current time can be obtained when booting. - Now you can go through the addon list noted in step 3 via the WebUI and install all addons in the respective [RaspberryMatic compatible version] (Administration # ccu-addons - additional software) in order to restore the previous functions.
- As a last step, RaspberryMatic should restart and then the WebUI with the old password / login data and all HomeMatic devices, programs, etc. should be available again. If, contrary to expectations, this does not work, you can now restore the first backup (before uninstalling add-ons) in your old installation and you should find the old version again. Please also note that, depending on the existing programming in your CCU, there may be an increased duty cycle (ie radio load) when booting up and you sometimes have to wait> 1h until communication disruptions to certain HomeMatic devices disappear.
If you still have an old CCU1 hardware and would like to take the big leap from your CCU1 to RaspberryMatic, the same / similar procedure applies here as for [switching from a CCU2] (installation # switch-from-ccu2). In addition, it is important to have your CCU1 system backup (* .sbk
) installed in the latest 2.xx RaspberryMatic version before switching to the latest 3.xx RaspberryMatic version. That means: you should first install the last RaspberryMatic version released as 2.xx version ([2.35.16.20180826] (https://github.com/jens-maus/RaspberryMatic/releases/tag/2.35.16.20180826)), then take over its CCU1 backup in it, and then update this 2.xx version of RaspberryMatic to the latest 3.xx version.
If you want to switch either from your older CCU2 / CCU3 control center or from a hardware-based RaspberryMatic system directly to a virtual RaspberryMatic system, you can proceed as follows:
- First you should use the [basic installation instructions] (installation # basic installation-virtual) in your respective virtualization environment to ensure that the new virtual RaspberryMatic boots up properly and that the WebUI can be accessed accordingly.
- Then you should create and download a corresponding system backup in your old installation / headquarters under
Settings-> Control Panel-> Security-> Backup
(* .sbk). - Now go through the list of additional packages / CCU add-ons under
Settings-> Control Panel-> Additional Software
and basically uninstall ** ALL **, but exclude the following add-ons, otherwise their configuration will also be deleted (these can be deleted later under point 10 can then be installed "over it" again):- [CUxD] (https://github.com/jens-maus/cuxd)
- [JP-HB-Devices-addon] (https://github.com/jp112sdl/JP-HB-Devices-addon)
- [HB-TM-Devices-AddOn] (https://github.com/TomMajor/SmartHome/tree/master/HB-TM-Devices-AddOn)
- Then create another / new system backup (
* .sbk
) and store it temporarily. - Now you should deactivate the old CCU central unit or take it off the power, since you should not let two CCU central units with the same configuration run in parallel in your environment.
- If you have not already connected a USB-based radio module (HB-RF-USB, HmIP-RFUSB, HM-CFG-USB2) to your virtual RaspberryMatic system, you should now do this according to the installation instructions for your virtualization environment.
- Log into the WebUI of the virtual RaspberryMatic system and restore the system backup (without CCU add-ons) accordingly.
- As a last step, you should then manually reinstall all CCU add-ons that were previously manually uninstalled. Please note that you should check the compatibility of the CCU add-ons or x86 of a virtual RaspberryMatic beforehand.
- Finally, the new, virtual RaspberryMatic system, with all installed CCU add-ons, should be restarted once more. Please also note that, depending on the existing programming in your CCU, there may be an increased duty cycle (ie radio load) when booting up and you sometimes have to wait> 1h until communication disruptions to certain HomeMatic devices disappear.
Table of Contents RaspberryMatic Documentation © 2015-2024 Jens Maus and RaspberryMatic Contributors, licensed under CC BY-SA License 4.0