RaspberryMatic

A feature-rich but lightweight, buildroot-based Linux operating system alternative for your CloudFree CCU3/ELV-Charly "homematicIP CCU" IoT smarthome central. Running as a pure virtual appliance (ProxmoxVE, Home Assistant, LXC, Docker/OCI, Kubernetes/K8s, etc.) or on a dedicated embedded device (RaspberryPi, Tinkerboard, IntelNUC, etc.)

APACHE-2.0 License

Stars
1.5K
Committers
48

Bot releases are hidden (Show)

RaspberryMatic - RaspberryMatic 3.55.5.20201226

Published by jens-maus almost 4 years ago

This is release 3.55.5.20201226 of RaspberryMatic which is a maintenance release with bugfixes and major feature changes including the following changes:

Downloads License Donate

Hier klicken fΓΌr deutsche πŸ‡©πŸ‡ͺ Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

CCU/HomeMatic service changes:

  • integrated update of OCCU firmware to 3.55.5-1 version with full compatibility to the CCU3 3.55.5 firmware which comes with the following changes:
    • added support for new Homematic IP CO2-Sensor, 230V (HmIP-SCTH230 – ELV) device
    • added support for new Homematic IP Wired Fußbodenheizungscontroller (HmIPW-FALMOT-C12) device.
    • added support for new Homematic IP Feinstaubsensor (HmIP-SFD – ELV) device.
    • the default delivered HmIP-HAP firmware was bumped to 2.2.18 and the HmIPW-DRAP firmware was bumped to 2.2.16 on the CCU.
    • upon identifying a new HmIP-HAP/HmIPW-DRAP firmware, the start page will show a notification as well now.
    • unified the WebUI to perform the same way for a HmIP-HAP and HmIPW-DRAP firmware update.
    • upcoming firmware updates can now be directly downloaded and installed without manual file download+upload.
    • added possibility to switch on an automatic HTTP => HTTPS redirection for the WebUI to potentially improve connection security.
    • fixed problem with setup of the emergency heating/cooling mode when using a HmIP-FALMOT-C12 / HmIPW-FALMOT-C12.
    • fixed the display of the valve opening numbers in case of 0% where previously only "-" was displayed.
    • fixed problems when using the table filter functions to filter by functions.
    • fixed problem that the device firmware overview WebUI page was not refreshed automatically after a firmware update of a HmIPW-DRAP.
  • changed cronBackup.sh to make sure a .nobackup file is present in BACKUPDIR so that the directory itself won't be part of any further system backup job whatsoever (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=62833)
  • fixed CloudMatic reverse proxy functionality which was broken for the 64bit platforms since no nginx/zabbix_agentd binaries were copied.
  • updated NEO Server Addon package to latest 2.6.0 version.

WebUI changes:

  • added new 0095-WebUI-userSysVarTblMoveUpDown WebUI patch adding up/down buttons in user favorite system variable table to manually change the order (#1000, @jp112sdl).
  • added new 0096-WebUI-AdditionalSoftwareSortedList WebUI patch which will show the list of install CCU Addons in an alphabetical order (#1003, @jp112sdl).
  • added new 0097-WebUI-SetSysvarValueByUser WebUI patch that will allow to edit the values/content of any system variable in the system variable configuration dialog (#1004, @jp112sdl).
  • added new 0098-WebUI-Fix-ProofAndSetValue WebUI Bugfix patch that fixes a recently introduced issue in OCCU 3.55.5 which prevented the modification of device parameters in the WebUI (cf. https://homematic-forum.de/forum/viewtopic.php?f=27&t=63496&p=626052#p625986).
  • added new 0099-WebUI-Add-DeviceRenameAllChannels WebUI patch which introduces a new functionality in the device parameters dialog allowing to rename all channels of a device with a single operation (#1020, @jp112sdl).
  • enhanced the 0072-WebUI-Fix-hm_autoconf WebUI Bugfix patch to also introduce a fix for creating the default system variable in case no radio module was connected on first/initial startup (#1021, #861, @alexreinert).
  • added new 0100-WebUI-Fix-CreateDirectLink-GroupDescription-Translation WebUI Bugfix Patch which fixes not translated values in the direct link group setup (#1025, @jp112sdl).

Operating system changes:

  • added BR2_PACKAGE_LIBUV and BR2_PACKAGE_C_ARES to multilib32 package so that we have the necessary dependencies to get the mosquitto ccu addon running again (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=62825)
  • adapted usbmount.rules in /lib/udev so that we prevent bootfs/rootfs/userfs to be accidentally mounted in case the partuuid is somewhat screwed and thus the usbmount prg might be run and then end up mounting the main media twice (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=62833)
  • upon factory reset operation we make sure to force the PARTUUID to 0xDEEDBEEF under all circumstances even if no repartitioning is necessary. This should fix cases where due to certain misconfigurations the PARTUUID changes and thus misbehaviour might result. Thus, a factory reset operation now also resets the PARTUUID and not only reformats userfs (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=62833)
  • added "Country=DE" to default wpa_supplicant.conf config template so that it will be correctly setup when using /boot/SetupWIFI. In addition, wpa_cli can now also be used because we allow config updates per default (#997).
  • changed multimacd startup script to stop multimacd by using a PIDFILE check instead.
  • upon shutdown/reboot we make sure to put the RF module into bootloader mode or otherwise it might still handle incoming RF packages.
  • added Include statements to our default sshd_config/ssh_config files so that user configuration options can be put into the user configurable /usr/local/etc/ssh directory structure.
  • we force proper permissions for /usr/local/etc as well as /usr/local/etc/ssh and a potential authorized_keys file to prevent users from a potential misconfiguration where sshd might complain about invalid directory permissions (cf. https://homematic-forum.de/forum/viewtopic.php?p=622935#p622937).
  • use BR2_x86_corei7=y for our intelnuc builds since IntelNUC systems always have SSE until SSE4.2. Thus, we should be able to profit from using more cpu features matching what is used in IntelNUC systems.
  • added new rpi-eeprom buildroot package which will generate the necessary pieeprom.upd/.sig files which we can put into the bootfs partition of the rpi4 image so that a rpi4 (if booted from USB) will be able to update its EEPROM immediately (https://github.com/home-assistant/operating-system/pull/939).
  • added /etc/rc.init symlink to /usr/local/etc/rc.init to provide an additional hint that by creating this file in /usr/local things can be added that should be executed as early (during init) as possible.
  • updated RaspberryPi4 related linux kernel and u-boot bootloader patches which finally allows to use USB connected mass storage devices (USB stick, SSD disk) to boot RaspberryMatic without any SD card (#842).
  • added support for RaspberryPi4 Compute Module as well as for the new RaspberryPi400.
  • updated Raspberry Pi kernel+firmware to latest kernel 5.4.83 LTS version with improved RaspberryPi4 support and updated all other platform kernels to 5.4.84 LTS.
  • updated Busybox.config and removed all unnecessary busybox commands that are already provided by util-linux which we also ship.
  • updated buildroot/Linux environment to latest 2020.11 version.
  • updated JAVA version for aarch32hf to latest 8.50.51.263-ca-jdk8.0.275 LTS.
  • added support for LSI53C10XX SCSI controller commonly used in VMs (https://github.com/home-assistant/operating-system/pull/1060).
  • updated generic_raw_uart package to lastest master commit.

πŸ‘ͺ Contributors (alphabetically):

  • @alexreinert
  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update/Documentation πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.53.34.20201121

Published by jens-maus almost 4 years ago

This is release 3.53.34.20201121 of RaspberryMatic which is a major feature and bugfixing release including the following changes:

Downloads License Donate

IMPORTANT NOTICE:
Please note that this is a MAJOR release which incorporates changes on hardware support level. So please make sure to read the ChangeLog (see Operating system changes) before updating and that you understand the implications of the incorporated switch to a 64bit OS, especially if you are using a RaspberryPi2 as your current hardware platform for RaspberryMatic.

Hier klicken fΓΌr deutsche πŸ‡©πŸ‡ͺ Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

CCU/HomeMatic service changes:

  • integrated update of OCCU firmware to 3.53.34-3 version with full compatibility to the CCU3 3.53.34 firmware which comes with the following changes:
    • updated ReGaHss logic engine R1.00.0388.0226 (Nov 2 2020) version with the following changes:
      • fixed a bug within the new delayed State() functionality where State(x, 0, true/false) executions resulted in ScriptRuntimeErrors and where the retrigger argument didn't have the same defaults like old, plain State(x) executions (#942).
      • fixed a bug where x.DPArchive() could only be used in case a DP has been previously set visible using x.Visible(). Now both method should work completely independent as expected (#948).
      • fixed a recently created issue in system.Exec() which created never cleared zombie processed in case a command is executed in background mode using the "&" character (https://homematic-forum.de/forum/viewtopic.php?f=65&t=61454&p=613916#p613916).
      • fixed issue in system.Exec() which resulted in permanently opened stdin pipes which could result in ReGaHss running out of file descriptors in long turn.
    • Added a more descriptive display of data points in diagrams using "mouseover" events.
    • Fixed the formating of dialogs for the settings of the pump-protecting functionality when editing direct connectios of a HmIP-FAL device.
    • Fixed false-positive warning outputs in the HmIPServer Logfile (NoSuchDeviceException in LegacyNotificationHandler).
    • Fixed issues when dimming of wired dimm actors via HmIP RF remote controls.
    • Fixed Bargraph based DutyCycle display when using LAN gateways.
    • Fixed issue that configuring dimm channels (6,7,8) of a HmIP-MP3P didn't correctly submit the shutdown duration to the device.
  • Fixed the setup of a .nobackup file in the NEO Server CCU Addon environment so that it definitly won't be part of any system backup.
  • reworked the /bin/checkUsrBackup.sh script to correctly deal with cases where no RF module or no HmIP-capable RF module is installed so that no error message is returned from it due to the fact that we can't check the HmIP validity of the backup using the RF module routines in HMIPServer (#890).
  • Fixed issue where upon performing a factory reset with a HM-MOD-RPI-PCB left the .doCoproFactoryResetfile in the system config.
  • integrated changes to check for the existence of a RPI-RF-MOD module and in case it does not exist we disable the Advanced LAN Routing features in HMIPServer which are only available with a RPI-RF-MOD with 4.2.x copro firmware. In addition, we show a WebUI popup warning in case a user without a RPI-RF-MOD tries to use functionality that requires the Advanced LAN Routing functionality. This should also fix error messages in hmserver.log about the non working lanrouting (see
    https://homematic-forum.de/forum/viewtopic.php?f=65&t=61869&p=612555#p612555).
  • added a dynamic maximum heap size calculation for the startup of HMIPServer.jar. This should help to potentially reduce java garbage collection. In fact, this could help to slightly improve performance of HMIPServer in environments with enough memory available.

WebUI changes:

  • enhanced the 0085-WebUI-AddonPopupScrollable WebUI patch to also make the other popupTable uses in the control center of the WebUI scrollable so that popups will not end up off-screen anymore.
  • added a new 0086-WebUI-Fix-500Errors WebUI bugfix patch which will fix "Error 500" errors that occur due to to Ajax.Request() executions not being responded properly via "puts" exections (#959).
  • enhanced 0026-WebUI-Fix-CacheControl WebUI patch to get rid of all unnecessary ?_version_= options for our webui.js and jquery links.
  • added new 0087-WebUI-Fix-DoubleSIDs WebUI bugfix patch which should fix the false double additions of the ?sid=@xxxxx@ URL parameter when the LoadFromFile() methods are used in the cp_XXXXX.cgi WebUI interface files (#959).
  • adapted 0036-WebUI-AppleIcons WebUI patch to be somewhat more compatible to the latest changes to the CacheControl WebUI patch.
  • added new 0088-WebUI-Fix-MissingReportValueUsage WebUI/OCCU patch which should add the missing /www/api/methods/interface/reportvalueusage.tcl file in the general JSON RPC interface (#965).
  • integrated improvement for 0077-WebUI-NegateCondition WebUI patch which should use a more intuitive way to present the relatively new "not" negate functionality added to WebUI programs (#966).
  • added new 0090-WebUI-Add-ReGaSaveButton WebUI patch that adda a new button to explicitly save changes to the configuration without having to logout (#979, @jp112sdl)
  • added new 0091-WebUI-Add-HM-OU-LED16-LedStatus WebUI patch that adds the LED status of an HM-OU-LED16 in the WebUI (#985, @jp112sdl).
  • added new 0092-WebUI-Fix-DeviceReplacement WebUI patch that should fix the non working device replacement that is/was broken since several CCU firmware versions (#879, @jp112sdl).
  • added new 0093-WebUI-AllowAdminUserChanges WebUI patch that allows to remove the standard "Admin" user to be able to improve the general WebUI security (#987, @jp112sdl).
  • added new 0094-WebUI-userSysVarTblValuesWordWrap WebUI patch that fixes display issues in the WebUI favorite display when a enum-based system variable consisted of too long string values (#991, @jp112sdl).

Operating system changes:

  • Major update of the underlying Buildroot/Linux operating system towards a full-fledged 64bit kernel+environment. Now, 64bit supporting hardware systems like the RaspberryPi4, RaspberryPi3 (thus CCU3 / ELV-Charly) and the x86-based OVA/intelnuc platforms will be delivered as a 64bit OS image.
    IMPORTANT NOTICE:
    • Existing users of the OVA x86 platform should check with their virtualization environment that after the update to this 64bit version they switch the CPU/OS settings of the RaspberryMatic VM to a "64bit OS" template/CPU/environment so that the VM system can assign 64bit features to the virtual RaspberryMatic appliance.
    • Existing users with a RaspberryPi2 hardware have to reinstall their SD card from scratch due to the fact that from now on there are dedicated release archives for the rpi2 target (don't use the rpi3 anymore!). Thus, please create a fresh backup, reflash your SD card with the rpi2 image file and reinstall the backup accordingly. Afterwards you should have a working system again and have to use the rpi2 download archives in future.
    • While a 32bit binary compatibility layer had been integrated alongside the 64bit support and the standard list of third-party CCU Addon have been tested for compatibility, some third-party software or CCU Addon might run into issues with the new 64bit environment or should be ported/recompiled as a full 64bit application.
  • added ipv6 localhost and allnodes/allrouters definitions in /etc/hosts to improve IPv6 compatibility.
  • use umask in S06InitSystem and also make sure /etc/config/firmware exists as otherwise HMIPServer will complain.
  • modified WiFi network setup to check for a /boot/SetupWIFI file with SSID+Password on seperate lines. And in case it exists during bootup we generate the corresponding /etc/config/wpa_supplicant.conf file automatically. This should allow to setup a WIFI connection by just adding a file "SetupWIFI" to the FAT32-based boot partition (SSID in first line, Password on second line) and the WiFi connection should then be automatically started upon start.
  • disabled NETLINK monitoring for wlan0 interface monitoring via ifplugd because this caused issues in restarting ifplugd.
  • added -w option for ifplugd.eth0 startup so that we wait on fork of the daemon. This should prevent that we continue too fast on startup, resulting in the NTP and other services not having a properly working network connection (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=62143).
  • disabled all non working CONFIG_RTC_SYSTOHC kernel options and reenabled the regular cron-based systohc RTC clock synchronization using hwclock for an improved hardware clock management (#956).
  • integrated a new zram-based swap mechanism that is based on https://github.com/StuartIanNaylor/zram-swap-config and which will setup a zram-based swap partition for general purpose use. This should slightly improve the general memory footprint and also potentially increase performance in critical memory situations.
  • added a -e 1 option to the bad blocks check so that the bad blocks check aborts immediately on the first bad block rather than continuing until the end of the device. This should help to prevent potential crashes in case severely broken disks are currently in use and also prevent that the badblocks.txt result file will eat all memory in /tmp (This refs https://homematic-forum.de/forum/viewtopic.php?f=65&t=62135&p=615209#p615209).
  • updated linux-firmware package to latest 20201022 to integrate improved firmware versions.
  • updated ethtool to 5.9 for further fix integrations.
  • updated Monit to latest 5.27.1 for integration of important fixes (#993).
  • updated JAVA version to latest 8.50.0.xxx-ca-jdk8.0.275 LTS for all supported platforms.
  • updated buildroot/Linux environment to latest 2020.08.2 version.
  • updated Raspberry Pi kernel+firmware to latest 1.20201022 version.
  • updated Linux kernel versions to new major LTS 5.4.x version (5.4.77) for all supported platforms.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update/Documentation πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.53.30.20201024

Published by jens-maus almost 4 years ago

This is release 3.53.30.20201024 of RaspberryMatic which is a maintenance release including the following changes:

Downloads License Donate

Hier klicken fΓΌr deutsche πŸ‡©πŸ‡ͺ Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

CCU/HomeMatic service changes:

  • integrated update of OCCU firmware to 3.53.30-2 version with full compatibility to the CCU3 3.53.30 firmware which comes with the following changes:
    • updated ReGaHss logic engine R1.00.0388.0224 (Sep 29 2020) version with the following changes:
      • fixed a zero-day issue in the internal script parser which didn't work correctly with nested method calls if the outer and inner method were allowed to take 2+ parameter. This created invalid runtime errors while the execution of these nested calls should have been perfectly valid (#922).
  • largely reworked/simplified the RF module initialisation/setup so that the new detect_radio_module tool kindly developed by @alexreinert is used while keeping the basic functionality to combine multiple RF modules for a shared DutyCycle use. In addition, the device type (HB-RF-USB, GPIO, etc.) will be put into a new variable in /var/hm_mode. Furthermore we now can correctly query a HM-MOD-RPI-PCB connected to a HB-RF-USB or HB-RF-USB-2 (#910, #911).
  • slightly increased the timeout for the RF module firmware update process so that a firmware update of the old HM-MOD-RPI-PCB is guaranteed to proceed in time.
  • fixed /etc/init.d/S06InitSystem to make sure a missing /usr/local/sdcard/measurement directory exists so that the cronjob and HMIPServer init script can copy the content of the /tmp/measurement to the permanent storage (#913).
  • integrated a new OCCU bugfix patch which will fix the BidCos-RF description file of the HM-OUT-CFM-TW device by using 0xA4 instead of 0x24 for the index of LONG_ACT_TYPE (#915, @jp112sdl).
  • integrated a fix for the Mediola NEO CCU Addon so that it will not be included in the standard system configuration backup since the Addon doesn't really contain any user configuration, thus can be omitted from being part of the backup.
  • added /usr/local/eQ-3-Backup to the standard paths being omitted from the system config backup. This should fix issues where upon switching from a CCU3 firmware to RaspberryMatic resulted in this path being part of the config backup.

WebUI changes:

  • added new 0080-WebUI-Fix-SideIncOpenTag WebUI patch to fix an invalid placed open tag < character in an emitted html statement in side.inc (@jp112sdl).
  • added new 0081-WebUI-Fix-DecalcificationTimeMinute00 WebUI patch fixing the selection of 00 minutes in the decalcification UI (#931, @jp112sdl).
  • added new 0082-WebUI-Fix-SetVisibilityScriptError WebUI patch fixing ScriptRuntimeError outputs resulting from trying to change the visibility based on the channel id of a device (#919, @jp112sdl).
  • added new 0083-WebUI-Fix-DeviceTestScriptError WebUI patch fixing ScriptRuntimeError outputs resulting from trying to apply a test on a device rather than on a single channel (#939, @jp112sdl).
  • slight improvement of 0038-WebUI-DeviceOverview-StatusColumn WebUI patch to check for a non existing rssiListHmRF variable as otherwise a js exception is raised in the WebUI.
  • added a new 0084-WebUI-Fix-InvalidObjectCrashes WebUI bugfix patch which should workaround/fix issues where the room view could not be displayed anymore if an added channel hasn't any valid linked device anymore (#944).
  • fixed a bug in the 0038-WebUI-DeviceOverview-StatusColumn WebUI patch which didn't return a valid JSON output for the new HmIP-RCV device in Interface.rssiInfo queries (#957).
  • integrated a new 0085-WebUI-AddonPopupScrollable WebUI patch which modifies the Addon maintenance/install popup so that the content of the popup will be scrollable. This should improve usability in case many addon packages are installed and thus the popup would have to be moved in multiple steps (#592, @jp112sdl).

Operating system changes:

  • added the missing E1000E package to get the network interface working again in the recovery system for the ova/intelnuc platform.
  • added more kernel config options to streamline all NUC hardware support somewhat more.
  • added buildroot patch to update ethtool to version 5.8 to fix the netlink error: No such file or directory error which appeared with 5.7 (cf. https://www.spinics.net/lists/netdev/msg659759.html).
  • added HyperV-PCI kernel config options to optimize use of the OVA variants in HyperV setups.
  • enabled drivers for Intel Network devices with Virtual Function for OVA platform.
  • added a commented out dtparam=sd_poll_once=on entry in /boot/config.txt to let users know how to poll only once for a missing sd card in case USB drive boot is used with a RaspberryPi.
  • integrated a minor fix for the /bin/updateTZ.sh script which should catch rare cases where an empty /etc/config/TZ file could have caused a situation of an invalid /etc/config/localtime symlinking. In addition, updateTZ.sh will now only update files in /etc/config in case something was actually changed. This should omit write operations upon startup. (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=61426).
  • added support for Intel NUC6CAYH model which stalled upon bootup due to issues with the i915 DRM driver. Now we completely omit the DRM driver and just rely on stupid framebuffer devices for a HDMI debug output. In addition, more IWLWIFI firmwares were added so that also the wifi of the NUC6CAYH should be supported now (#930).
  • fixed an issue with OS time synchronisation which didn't work correctly anymore as soon as a network link up/down event was identified during runtime. This caused the RTC time to be read out regularly instead which also was incorrectly written back by the NTP because it was written in local time rather than in UTC time.
  • slightly reworked the eQ3StartNetwork and eQ3StopNetwork ifup/ifdown scripts to deal better with static IP address setups which could explain certain issues people were having with not having a link available during bootup (#471).
  • modified the standard .ovf template file to use ovf:id=99 in OperatingSystemSection so that a 2.x/3.x/4.x Linux system is assumed and thus VMXNET3 can be manually selected as a network interface in vmWare ESXi (https://homematic-forum.de/forum/viewtopic.php?f=65&t=61792)
  • fixed issue where upon an unclean shutdown the corresponding status file was not correctly cleared and thus the log file was continued to be filled with unclean shutdown events (#955).
  • integrated a fix for S01InitHost in the recovery system where could happen that at the time the lsblk command is executed the partuuid could not be extracted yet, thus we retrieve the mmcX string using the mountpoint only.
  • we now store DHCP provided NTP server addresses in /var/etc/ntp-dhcp.conf and use this file in the chrony/NTP server startup and add these servers as local NTP servers to the complete NTP server list. This should further improve the NTP server setup in user environments where the NTP server address equals the central router and where this router provides his own address as a valid NTP server.
  • updated U-Boot bootloader for all supported target platforms (RaspberryPi, Tinkerboard) to latest 2020.10 version.
  • updated buildroot/Linux environment to latest 2020.08.1 version.
  • updated Linux kernel versions to new major LTS 5.4.x version (5.4.70) for all supported platforms.
  • updated Raspberry Pi kernel+firmware to latest 1.20200902 version

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update/Documentation πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.53.30.20200919

Published by jens-maus about 4 years ago

This is release 3.53.30.20200919 of RaspberryMatic which is a major feature release including the following changes:

Downloads License Donate

Hier klicken fΓΌr deutsche πŸ‡©πŸ‡ͺ Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

CCU/HomeMatic service changes:

  • major update of OCCU firmware to 3.53.30-1 version with full compatibility to the CCU3 3.53.30 firmware which comes with the following changes:

    • Integration of HmIP-WRC2 (Homematic IP Wandtaster – flach)
    • Integration of HmIPW-WRC2 (Homematic IP Wired Wandtaster – 2-fach)
    • Integration of HmIPW-BRC2 (Homematic IP Wired Wandtaster fΓΌr Markenschalter – 2-fach)
    • Integration of HmIP-DRSI1 (Homematic IP Schaltaktor fΓΌr Hutschienenmontage)
    • Major Update for improved homematicIP LAN routing functionality:
      With the following LAN-routing changes it is now possible to connect up to two HmIP-HAP and/or HmIPW-DRAP systems to a single CCU. This allows to enhance the overall homematicIP device reachability and even have distributed HmIP-Wired installations in one house combined:
      • Integration of Homematic IP Access Point (HmIP-HAP) as a homematic IP LAN gateway:
        It is now possible to connect a Homematic IP Access Point (HmIP-HAP) as a "Homematic IP LAN Gateway" to a CCU. For this a firmware update for HmIP-HAP is integrated into the CCU firmware and can be applied via Systemsteuerung > Access Points mit inkompatibler Firmware now.
      • Major firmware update for Homematic IP Wired Access Points (HmIPW-DRAP):
        Due to major improvements in HmIP LAN Routing a HmIPW-DRAP with firmware version < 2.1 have to be forcefully updated. For this a new wizard had been added to the WebUI which will guide users to the firmware update process for a HmIPW-DRAP.
    • HmIPW-DRAP and HmIP-HAP devices will now be added as normal devices and are accessible via Einstellungen > GerΓ€te and Status und Bedienung.
    • With the device firmware version >= 1.6.0 for the HmIPW-DRBL4 and HmIP-DRBLI4 it is now possible to switch outputs so that in case of switched connections/installations they can be swapped via software accordingly. In addition, the new firmware also allows to dynamically switch between shutter and blind mode without having to manually adapt direct connections anymore.
    • The virtual HmIP remote control device had been renamed to HmIP-RCV-1.
      Please note: This change could require to adapt own scripts/programs to use the new naming in case the virtual remote control channels had been previously accessed via names.
    • Improvements of the service messages for HmIP-FALx integrated.
    • The filtering of parameters in the legacyAPI of HmIPServer is now also for events possible.
    • The multicast-routing can now be disabled for certain devices (e.g. HmIP-PSM).
    • On a fresh/clean CCU installation, the WebUI auto-login feature is now disabled per default.
    • Added a new button under Systemsteuerung to explicitly search for and update incompatible firmware versions (< 2.1.0) for HmIP-HAP and HmIPW-DRAP devices.
    • HmIP RF actors should now be faster available after a fresh CCU reboot.
    • A warning message had been added to the device detail display in case a device is part of a heating group and should be configured within the group settings instead.
    • The maximum alarm time for a HmIP-ASIR was changed to 600s.
    • Direct connections for the virtual remote control (HmIP-RCV-50) were not displayed in the WebUI.
    • It is now possible to switch between "Auto" and "Manu" mode for linked heating devices in WebUI programs.
    • It is now possible to add direct connections for a HmIP-ASIR/-O/B1/-2 to sensors of type CONDITION_SWITCH_TRANSMITTER (e.g. HmIP-SLO).
    • If a lot of rooms/functions were added, the "OK" button of filter dialogs could not be reached anymore. These dialogs can now be moved using a mouse event in the WebUI.
    • Fixed the sorting direction in the WebUI system protocol which changed with each update of the system protocol view.
    • A parser error was fixed in the XMLRPC interface of the LegacyAPI of the HMIPServer component if within a struct empty strings with string tags were provided.
    • Fixed a problem that in case a backup of a CCU2 was restored the virtual remote control device disappeared.
    • Some channels of devices were classified as "Fensterkontakt". This had been changed to plain "Kontakt" now.
    • The misleading description for the device config parameter "Zyklische Statusmeldung" were adapted to be more easily understandable.
    • Under certain circumstances, the status value for LOWBAT channel parameters were delivered with a wrong datatype for channel 0 of virtual group devices.
    • The minimal value for the device config parameter "Filterzeitraum" of sensors were changed to 500ms because smaller values could lead to the devices not working correctly anymore.
    • The maximal value for the device config parameter "Entkalkungsfahrt" for HmIP(W)-FALxCx devices were changed to 24 days.
    • Fixed incorrect service messages that could appear in some rare cases when using HmIP(W)-FALx-Cx devices.

    In addition, the following changes upon the CCU3 3.53.30 Firmware had been integrated in OCCU 3.53.30-1:

    • updated ReGaHss logic engine R1.00.0388.0223 (Aug 27 2020) version with the following changes:
      • fixed an issue in system.Exec() where upon executing a system command that waits for stdin input could block ReGaHss execution endlessly. In addition, system.Exec() accepts an additional 4th parameter now to specify the content of stdin. This 4th optional parameter can be be e.g. used to supply information to the command execution in case a non background command is being executed (#847).
      • implemented an additional optional parameter to dom.GetObject() which will take the desired object type (e.g. OT_DEVICE, OT_CHANNEL, etc.) of a request object name or id and only return the object in question if the object type is also matched. This should allow to workaround the issue that if there are two objects with the same name but different object types, that the object can still be retrieved via dom.GetObject() which were not possible before (#876).
      • fixed issue with break and continue statements which could not be used after a nested foreach() or while() loop and only worked within the first level of a loop (#878).
      • fixed issue that the .ToFloat() function was only allowed for variables of type string while others like .ToInteger() were allowed for all vtXXX object types. This change should, thus, allow to more generally use the var datatype and always use .ToFloat() without having to forcefully convert the variable to a string type before (#883).
      • fixed a bunch of incorrect case sensitive string comparison checks to actually perform case insensitive matches because, e.g. the RFCs of HTTP protocol defines them to be case-insensitive. This should make all the HTTP related interfaces more tolerable according to the specs.
      • implemented the possibility to send RemoteApi requests also UTF-8 encoded using a Content-Type: xxx; charset=utf8 request header. If found ReGa will automatically convert the content then to ISO-8859-1 internally before using it. This should help to send RemoteApi calls using the tclrega.exe interface easier in case only utf8 encoding is possible.
      • fixed the request header parsing to actually only parse the potential header part of the request because otherwise the request content could have influenced header option evaluation.
      • fixed some severe buffer overflow issues in the internal string format routines which were mainly used by the remote API xml output functionality and which under certain circumstances could result in invalid xml output being returned (#870).
      • fixed the delayed State() functionality to also work with OT_CHANNEL and OT_PROGRAM objects which were just outputting error messages and not executing the specified delayed State() change.
  • updated NEOserver package to latest 2.5.6 version.

  • integrated full support for HB-RF-USB-2 adapter PCB to connect a RPI-RF-MOD or HM-MOD-RPI-PCB via USB to a RaspberryPi/TinkerBoard or virtual OVA based RaspberryMatic system. Many thanks go to @alexreinert for developing this nice adapter PCB and for the ongoing support in integrating it nicely into RaspberryMatic.

  • fixed an issue in the main S11InitRFHardware startup script which didn't query/store all RF module related information correctly which in fact could end up in using an incorrect BidCos RF module address on a fresh/clean installation (#900).

WebUI changes:

  • updated 0073-WebUI-AstroDelays WebUI patch to use somewhat more verbose text phrases in the time module config window so that the Offset/Duration setting should become more obvious to standard users. Thanks to Ralf Penzler for the suggested text phrases.
  • simplified the 0076-WebUI-Fix-SuperCharScriptUse WebUI bugfix patch to use string concatenation to solve the ^ char issue rather than using a meta string to search+replace the ^ char in the WebUI script editor (#225).
  • updated 0075-WebUI-Fix-HTMLinUserFavorites WebUI patch to not use the .Trim() workaround anymore since the latest ReGa correctly works with ^^ strings again.
  • fixed 0034-WebUI-Addon-Config WebUI patch to be applicable for all supported occu platforms and not just the older arm-gnueabihf platform.
  • Added 0077-WebUI-NegateCondition to implement a combobox-driven condition negate possibility (#884, @jp112sdl).
  • improved 0026-WebUI-Fix-CacheControl WebUI patch by removing the not required "AvoidBrowserCache" URL parameter handling since this WebUI patch should have fixed all Browser Cache related issues from previous WebUI versions and the "AvoidBrowserCache" url parameter was just a workaround.
  • integrated a first version of a new WebUI Patch (0079-WebUI-Fix-SideIncNotePad) adding a fix for being able to use a = characters in device parameter strings (often used by CUxD). Previously the = character could not be used because the corresponding regular expression to split an URL parameter like CMD=A=B failed because the regexp was splitting it into CMD=A and B rather than in CMD and B. With the patch of ic_common.tcl this issue should be fixed now (#888).
  • integrated a new WebUI fix patch (0079-WebUI-Fix-SideIncNotePad) to fix the accidentally removed notepad image and possibility in then branches of WebUI programs (#908).
  • fixed neoserver addon package to allow to uninstall the neoserver completely again (#894).
  • updated integrated codemirror js editor to latest stable 5.56.0 version.

Operating system changes:

  • added basic support for the ArgonONE RaspberryPi case and Argon FAN HAT by adding a dedicated fan control daemon and basically supporting the power button on the ArgonONE case (#863, thanks to @Bono1969 for providing the test hardware).
    PLEASE NOTE: Some hardware versions of the ArgonONE/FAN HAT seem to have issues in I2C communication resulting in not correctly being recognized upon startup of RaspberryMatic.
  • added include extraconfig.txt to /boot/config.txt so that users can put own config options to a /boot/extraconfig.txt file instead of having to modify the main config.txt file.
  • added basic support for the Raspberry Pi PoE HAT for the rpi3 and rpi4 target so that an installed Raspberry Pi PoE HAT will automatically control the fan (thanks to ESPe71 for providing the necessary PoE Hat test hardware).
  • right after triggering a unclean shutdown alarm we remove the uncleanShutdown status file so that monit won't complain all the time.
  • reverted the removal of hdmi_force_hotplug=1 from raspberrypi4 config.txt to get HDMI port activation running again.
  • added support for intel NUC10 systems by directly using the intel provided e1000e network driver version 3.8.4 which comes with support for the I219-V chipset the intel NUC10 generation uses for their ethernet network. In addition, the linux-firmware package was updated to 20200721 version which comes with updated intel iwlwifi firmwares for the intel NUC10 generation hardware. Thus adding full hardware support for the intel NUC10 hardware.
  • we always make sure to use start.elf/fixup.dat rather than letting the rpi bootloader decide on its own which one to take (any potentially the wrong one). This should make the whole raspberrypi bootup more reliable.
  • we put all rpi-firmware overlays in the bootfs partition since we have enough space there and to potentially fix issues when the rpi bootloader might automatically load an overlay which then might not exist.
  • updated generic_raw_uart driver to latest version available while excluding all HB-RF-ETH related kernel drivers from being integrated as they are not ready for integration yet.
  • updated buildroot/Linux environment to latest 2020.08 version.
  • updated Linux kernel versions to new major LTS 5.4.x version (5.4.63) for all supported platforms.
  • updated Raspberry Pi kernel+firmware to latest 1.20200819 version
  • updated Java8 Azul version to latest 8.0.265 LTS update.
  • updated wireguard-linux-compat to 1.0.20200729

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update/Documentation πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.51.6.20200621

Published by jens-maus over 4 years ago

This is release 3.51.6.20200621 of RaspberryMatic which is a bugfixing release including the following changes:

Downloads License Donate

🚧 Changes:

CCU/HomeMatic service changes:

  • updated OCCU firmware to 3.51.6-7 version which comes with the following changes:
    • updated ReGaHss logic engine R1.00.0388.0219 (Jun 19 2020) version with the following changes:
      • partly reverted the previous super string (^) escaping fix as it proofed to produce some regressions. Instead the escaping of standard strings was improved to also allow string escaping like "\\\\" which previously produced syntax errors (#225).

        Please note: This change introduces a breaking change regarding backlash escaping in strings used in user scripts. While previously, a string like \\" was incorrectly interpreted as \", the new fixed parser now correctly requires that each backslash use is properly escaped or otherwise a syntax error is raised. Thus, to create a string \" one has to correctly use three (3) backslashes, thus \\\" now. As an alternative, a user can/should use the char ' as the outer quotation mark or use a raw/super string like ^\"^.

    • fixed a bug in the xmlparser library which didn't use case insensitive comparisons to identify closing clear tags. This caused issues so that no script variable 'pre' or 'script' could be used in the tcl<>rega script interfaces and thus not in the WebUI script editor environment (#230).
  • fixed a bug where a HM-MOD-RPI-PCB connected to a HB-RF-USB/HB-RF-USB-2 didn't initialise correctly in an OVA environment due to omitting the rf module reset. Now we make sure that if a HB-RF-USB/HB-RF-USB-2 is used the rf module will be reset under all circumstances. In addition we use timeout 20 commands on all major rf module query commands so that any potentially stalling query command might not completely stall a bootup anymore (thanks to @alexreinert for the hint).

WebUI changes:

  • integrated a new WebUI bugfix patch which fixes a crash bug when creating new rooms/functions in the WebUI. There two event handlers were called at the same time resulting in an undefined html element exception could have resulted in a crashed browser session (#855).
  • added a new WebUI bugfix patch which should fix a WebUI stalling or miss-display if a user favorite added system variable contained various HTML tags which on one hand displayed correctly on the normal system variable display but failed when a user added this system variable to his user favorite display on the main startpage (#856).
  • implemented a new WebUI bugfix patch which will finally fix using a ^character in the WebUI script editor. Previously, the WebUI script editor didn't allow to use the ^ character in the editor window or at least didn't allow to save any script containing any ^ character. This was caused, because the script editor functionality uses the raw/super string functionality of ReGaHss and thus ^ chars are usually not allowed. Now, a meta escape sequence @$@% is used internally to replace the ^char when supplied to the internal esp function and then unescaped automatically (#225).

Operating system changes:

  • fixed monit temperature check to also catch cases where the thermal_zone0/temp sysfs node might exist but actually returns an error when trying to read the temp from it. Now a value of 0 should also be returned for this case.
  • added missing CONFIG_BCM2711_THERMAL kernel config option which was the reason why the temperature watchdog couldn't identify the current CPU temperature using the thermal_zone0/temp sysfs entry when using a RaspberryPi4.
  • removed hdmi_force_hotplug=1 from raspberrypi4 config.txt because newer firmwares don't require this workaround anymore. Thus, by having it removed the HDMI port will automatically be switched off like for the other rpi targets, potentially reducing RF interferences.
  • added an additional tvservice check to S01InitHost so that we also catch situations where tvservice -s might not be able to return correct HDMI connection information but tvservice -l properly shows if a HDMI cable was connected during boot or not. Thus, disabling HDMI should be more reliable now when booting a rpi without a HDMI cable attached.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.51.6.20200613

Published by jens-maus over 4 years ago

This is release 3.51.6.20200613 of RaspberryMatic which is a major maintenance release including the following new features, bug and security fixes:

Downloads License Donate

🚧 Changes:

CCU/HomeMatic service changes:

  • updated OCCU firmware to 3.51.6-5 version which comes with the following changes:
    • updated ReGaHss logic engine R1.00.0388.0218 (Jun 9 2020) version with the following changes:
      • fixed the parsing/escaping of the super string (^) for being able to define strings without having to escape single or double quotations (#225).
      • implemented a functionality to specify an offset time and duration for the sunrise/sunset astro functions. Now TimeSeconds() and CalDuration() can be used together with all already existing SunOffsetType() values to specify the offset and duration accordingly. Note, that to specify a negative time offset one has to use the sotBeforeSunXXXX rather than sotAfterSunXXX with SunOffsetType(). Furthermore, a pure sotSunrise or sotSunset timer offset will always use a timer offset of zero.
      • integrated a fix for certain @time@ strings which did not convert supplied times correctly because they should have assumed local time instead.
      • replaced all gettimeofday()/time() calls with proper clock_gettime() uses as e.g. gettimeofday() was defined obsolete in POSIX 2008. In addition, we use CLOCK_MONOTONIC where relative time calculations are performed so that time operatins are more immune to time changes. This change should slightly improve timer reliability in case of time changes performed by users or other applications.
      • fixed some potential undefined string copy operations.
      • fixed a minor potential crash bug in low memory conditions.
  • updated integrated mediola NEO SERVER CCU-Addon package version to latest 2.5.3.
  • slightly improved RPI-RF-MOD recognition by checking for 0x..ffff rather than 0x00ffff because newer models seem to have different address ids than expected (cf. alexreinert/debmatic@abf4862)
  • added preliminary support for HB-RF-USB-2 PCB (https://github.com/alexreinert/PCB/tree/master/HB-RF-USB-2) and updated generic_raw_uart kernel module version to latest version available.

WebUI changes:

  • implemented a new WebUI patch that allows to set an offset and duration time for the astro timer functions. That means that one can create astro timers now where a user can set something like e.g. "at sunrise minus/plus X minutes". In addition, a user can now limit the astro timer duration if wanted and not having it automatically ended at the opposite astro time (#221).
  • fixed 0037-WebUI-DevConfig-RSSI patch by explicitly using a catch{} statements to query for the devname of a HmIP device because it seems that under some circumstances this array is not populated correctly and thus otherwise ends up in an error when the set rssi_list is executed (#845).
  • integrated a minor WebUI style fix which provides a white background in the device thumbnail table cells of the service message view for a slightly nicer display.

Operating system changes:

  • bumped Linux kernel versions to new major LTS 5.4.x version (5.4.44) for all supported platforms and updated RaspberryPi firmware files to matching versions available.
  • updated buildroot/Linux environment to latest 2020.05 version.
  • updated U-Boot version to 2020.01 and adapted environment/patches accordingly.
  • updated java AZUL version to latest 8.46.0.225-ca-jdk8.0_252 for ARM targets.
  • added support for new 8GB hardware version of RaspberryPi4b model (d03114).
  • added 'wireguard' as an directly integrated buildroot package so that users/services can setup/provide own wireguard VPN solutions in future (#776).
  • added a new unclean shutdown watchdog job that identifies any unexpected system crash or unclean shutdown situation (user unplugs power or a power outage) and notifies a user upon the next boot via a standard WebUI alarm message.
  • integrated a new cron-based fstrim execution to support reclaiming of freed disk space for devices supporting the TRIM/DISCARD operations.
  • added /etc/config/NoFSTRIM and /etc/config/NoBadBlocksCheck status file checks so that the weekly fstrim and daily backblocks check can be more easily disabled by users.
  • added a workaround for potentially slow or broken /dev/hwrng devices which might either block the rng daemon startup for an unacceptable amount of time due to head -c1 access test stalling. Now we wait a maximum of 5 seconds for the test to complete or we use /dev/urandom right away to work around this matter. This fixes issues where newer versions of Synology VMM seem to provide slightly broken /dev/hwrng devices to guest systems (#831).
  • added a global /usr/etc/npmrc to set the npm cache to /tmp/npm-cache and thus have it located on a writeable path so that npm install won't complain anymore. In addition, a /root/.npmrc link to /usr/local/etc/npmrc will allow users to put an own user configurable npmrc file and use npm config set/get accordingly (#823).
  • we use a lsblk call to identify the main mmcX device number of the rootfs. This should fix issues where upon using an eMMC with a tinkerboard the red led was constantly blinking because an incorrect mmcX device number was selected. Now the number will be automatically identified upon startup.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.51.6.20200420

Published by jens-maus over 4 years ago

This is release 3.51.6.20200420 of RaspberryMatic which is a minor maintenance and bug fixing release including the following new features, bug and security fixes:

Downloads License Donate

🚧 Changes:

CCU/HomeMatic service changes:

  • updated OCCU firmware to 3.51.6-3 version which comes with the following changes:
    • updated ReGaHss logic engine R1.00.0388.0216 (Apr 17 2020) version with the following changes:
      • fixed UriEncode(), UriDecode() functions to handle strings with umlauts correctly on all supported hardware platforms.
  • implemented a new delayed diagram storage mechanism which will make sure that the rrd files of the HMIPServer diagram functionality are only saved in fixed time intervals (every 10 minutes) rather than as soon as they are updated. This should prevent that USB/SD cards die way to early since the rrd files can be updated too often. In addition, they usually store the updated data on the same disk blocks and thus run too fast into the maximum memory cell limitation. Now the new mechanism will also make sure that different cells are used on every rrd file update and thus prevent the wear levelling to be exhausted too fast.
  • added a minor patch for /bin/hm_autoconf which will check for an empty InterfaceUrl() before adding the interface to the working list. This should fix issues in environments where users switch between different interfaces or perform a first boot without any interface / rf module at all.
  • updated integrated mediola NEO SERVER CCU-Addon package version to latest 2.5.1.

WebUI changes:

  • modified the WebUI patch for highlighting inactive programs in the program list to use the color.map to specify which colors should be used for the inactive highlighting (pgmTextColorInactive, pgmBackColorInactive). This allows users to define their own inactive color for better customization (0070, #800, @jp112sdl).
  • integrated a fix for the WebUI patch to bring back the channel sorting capabilities in the channel selection dialog. Now all channels, including virtual channels, will be displayed as otherwise some channels might not show up correctly (0066, #810).

Operating system changes:

  • updated buildroot/Linux environment to latest 2020.02.1 LTS version.
  • fixed RaspberryPi4 related linux kernel options so that recent 4.19.x kernels boot correctly again.
  • updated the RaspberryPi recognition routines for an improved hardware recognition. This should also add support for the RaspberryPi4b Rev 1.2 as well as for the Compute Module 3+.
  • fixed support for mounting exFAT formatted usb sticks and also modprobe fuse in case an NTFS formatted drive is about to be mounted.
  • bumped wiringpi package to version 2.60 to add support for RaspberryPi4b.
  • added hardware support for the pimoroni Fan SHIM HAT by adding a new "raspi-fanshim" service which will be automatically started if a /etc/config/enableFanshim status file is present. It will then automatically turn on/off the fan if the temperature is reaching 65 degree celsius or turn it off under 50 degree celsius (#811).
  • reduced the bluetooth communication baudrate for a potentially more stable bluetooth functionality on
    RaspberryPi3b models.
  • added hdmi_force_hotplug=1to config.txt of RaspberryPi4 version so that a headless RaspberryPi4 continues to boot correctly.
  • fixed S21rngd startup script to add the /dev/urandom routing option rather than replacing the whole ${DAEMON_ARGS} argument. This should keep the -q option to keep the rngd quiet as much as possible and not flood the syslog with thousands of debug messages.
  • updated Java 8 LTS version to 8.46.0.19-ca-jdk8.0.252 for all i686 targets (OVA, intelnuc).
  • updated Linux kernel version to latest LTS 4.19.x for all supported platforms and updated RaspberryPi firmware files to latest version available.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.51.6.20200229

Published by jens-maus over 4 years ago

This is release 3.51.6.20200229 of RaspberryMatic which is a major maintenance and bug fixing release including the following new features, bug and security fixes:

Downloads License Donate

🚧 Changes:

CCU/HomeMatic service changes:

  • updated OCCU firmware to 3.51.6.-1 version with full compatibility to the CCU3 3.51.6 firmware which comes with the following changes:
    • Integration of eTRV-HmIP-B-UK (Homematic IP HeizkΓΆrperthermostat - basic UK)
    • Integration of HmIP-STV (Homematic IP Neigungs- und ErschΓΌtterungssensor, ELV-Bausatz)
    • Integration of HmIP-FSI16 (Homematic IP Schaltaktor mit Tastereingang (16 A) – Unterputz,
      ELV-Bausatz)
    • Integration of HmIP-WRCR (Homematic IP Drehtaster, ELV-Bausatz)
    • Integration of HmIP-DSD-PCB (Homematic IP Klingelsignalsensor, ELV-Bausatz)
    • Integration of HmIP-DRDI3 (Homematic IP Dimmaktor fΓΌr Hutschienenmontage - 3-fach,
      ELV-Bausatz)
    • For improved security, when setting a new SSH password, the password is not supplied as an argument anymore.
    • Added a waiting animation when loading/displaying the license information during a CCU firmware upgrade.
    • Uncritical log messages (multimac: Bad cast: std::bad_cast) of the multimacd process were moved to another log level.
    • For direct connections with dimming devices the minimal level of < 10% was not correctly saved and thus the dimmer always switched to 0%.
  • integrated a new default cronjob that performs a nightly bad blocks check via /sbin/badblocks and triggers an alarm message via monit if a bad block is found on the main device (e.g. SD card).

WebUI changes:

  • integrated a new WebUI patch which fixes issues with installations only using a HmIP-RF only communication solution (HmIP-RFUSB). These installations ended up in not being able to apply any device firmware
    update because the WebUI was explicitly checking the DutyCycle via the BidCos-RF interface only (0068, #770)
  • integrated a new WebUI bugfix which uses the correct label (stringTableTxMinDelayValue) for the easymodes display of TC_MINDELAY_VALUE rather than incorrectly using stringTableRamdomTimeValue (0069, #781).
  • integrated a new WebUI patch so that inactive programs get gray text to make them more easier distinguishable (0070, #779, @jp112sdl).
  • integrated a new WebUI patch to add the program name to the security checks on delete program (0071, #785, @jp112sdl)

Linux operating system changes:

  • updated java version for armhf targets to latest 8.44.0.213-ca-jdk1.8.0_242 LTS version.
  • updated Linux kernel version to latest LTS 4.19.x for all supported platforms and updated RaspberryPi bootloader to latest version available.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.49.17.20200131

Published by jens-maus over 4 years ago

This is release 3.49.17.20200131 of RaspberryMatic which is a minor bug fixing and maintainance release including the following new features, minor bugfixes and security fixes:

Downloads License Donate

🚧 Changes:

CCU/HomeMatic service changes:

  • minor changes to potentially fix issues with cloning a system in the intelnuc platform recovery system.
  • changed /bin/updateDCVars.tcl to set the DutyCycle system variable to -1 in case no own BidCos-RF/HmIP RF module is found.
  • modified /bin/updateDCVars.tcl to also query the DutyCycle of HmIP only RF modules (HmIP-RFUSB) in case no BidCos-RF or dual copro module is installed. This should enable a proper DutyCycle display for these RF modules also.

WebUI changes:

  • integrated new WebUI patch to reenable the disabled channel sorting in the 3.49.17 CCU3/OCCU firmware update so that within the channel and multichannel views device channels can be sorted again (0066)
  • added a new WebUI patch which fixes issues in case SENDER_LINKCOUNTER/RECEIVER_LINKCOUNTER does not contain a certain link peer, thus resulting in a severe tclsh error being displayed in the WebUI. Now a proper table is generated and the broken link will be correctly displayed instead (0067).
  • changed lighttpd webserver config to set server.http-parseopts in global lighttpd.conf to disable the url-ctrls-reject and url-path-2f-decode option or otherwise third-party addobns like hm_pdetect which encode complex textareas using URL encoding might cause newer lighttpd versions to return "400 Bad Request" messages. (jens-maus/hm_pdetect#77)

Linux operating system changes:

  • added some missing virtualization config options for the x86 ova kernel defconfig potentially improving virtualization support for various virtualization environments.
  • relinked the /etc/usb_modeswitch.d directory to /usr/local/etc to be usable by user configurations (#763).
  • added a new default PS1 shell prompt and set PAGER to use less instead of more.
  • updated buildroot/Linux version to latest 2019.11.1 version.
  • updated java version for i686 targets to latest 8.44.0.11-ca-jdk8.0.242 LTS version.
  • updated Linux kernel version to latest LTS 4.19.x for all supported platforms and updated RaspberryPi bootloader to latest version available.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - Experimental Nightly Build Snapshots

Published by jens-maus almost 5 years ago

Downloads Snapshot Build License Donate GitHub sponsors

πŸ‡©πŸ‡ͺ WARNUNG:
Bei den Dateien die unter "Assets" zu finden sind handelt es sich um experimentelle Build-Snapshots. Diese sind NICHT fΓΌr den produktiven Einsatz bestimmt, sondern lediglich fΓΌr Testzwecke vorgesehen – z.B. um neue Features bzw. Bugfixes zu testen. Die Nutzung dieser Versionen kann zum kompletten Daten/Konfigurationsverlust fΓΌhren oder andere nicht vorhersehbare Effekte hervorrufen. Die Nutzung geschieht daher auf eigene Gefahr!

Eine stabile/aktuelle Version kann stattdessen unter "Releases" heruntergeladen werden.

πŸ‡ΊπŸ‡Έ WARNING:
The files found under "Assets" are experimental build snapshots. They are NOT meant to be used in production environments as they may contain severe bugs or incompatibilities which could destroy your installation/configuration. They are meant to be used for internal tests of new features and intermediate bugfixes only. Use of these experimental builds is therefore at your own risk.

A stable/latest version can be downloaded from "Releases"

RaspberryMatic - RaspberryMatic 3.49.17.20191225

Published by jens-maus almost 5 years ago

This is release 3.49.17.20191225 of RaspberryMatic which is a major feature enhancement release including the following new features, minor bugfixes and security fixes:

Downloads License Donate

🚧 Changes:

CCU/HomeMatic service changes:

  • updated OCCU firmware to 3.49.17-4 version with full compatibility to the CCU3 3.49.17 firmware which comes with the following changes:
    • Integration of HmIP-DRSI4 (Homematic IP Switchactuator for top hat rail - 4x, ELV-kit)
    • Integration of HmIP-DRBLI4 (Homematic IP Blindactuator for top hat rail - 4x, ELV-kit)
    • The virtual display of the blind height for blind actuators will not be displayed in virtual channels but in the real channels now
    • added easymode profiles for HmIP-ASIR-O
    • rework/improvements of event delivery for Homematic IP XML-RPC API
    • update of web links on WebUI help pages
    • added "compatibilitymode for Elster devices" in HM-ES-TX-WM config parameters
    • the config parameters for real channels will now also be displayed in the non-expert view in the WebUI. These are important for changing basic settings to e.g. change a HmIP-DRBLI4.
    • stability improvements for HomeMatic IP Wired operation.
    • changes for a more intuitive WebUI display of the config parameters for "standard mode on power up"
    • added easy mode profile for HmIP-SAM for "switch on/off"
    • changed WebUI user setup to not allow spaces in user names anymore
    • upload of device firmware updates will now be prevents if the required firmware version does not match the minimal requirements of the device firmware description.
    • added new config parameter to allow to stop running connections for rf blind actuators (This requires device firmware updates to >=1.8.0 which will be released shortly)
    • added new config parameter for "valve change value" and "automatic change from static to pwm" (This requires device firmware updates to >=1.0.10 which will be released shortly)
    • removed the color selection "red" for text and background for HmIP-WRCD and added new config parameter for switching from power to battery use.
    • rework of week programme setup for HmIP devices.
    • added new "channel action" config parameter for HmIP dimm and switch actuators which can be used within WebUI programs (activity). This allows to comfortably change the switch duration and brightness and switch mode in WebUI programs.
    • added new "channel action" config parameter for HmIP blind actuators so that the blind height and lamella position can be comfortably changed within WebUI progams.
    • for the display of new available device firmware updates a filtered list will be requested from the update server so that only device firmware updates will be displayed matching the used CCU firmware version.
    • modified the description field for WebUI programs with using time module settings so that the end time will additionally displayed now
    • for wired and rf-motion sensors with firmware > 2.x.x (released soon) the brightness can be displayed in the status/control WebUI displays
    • a warning will now be displayed if trying to update device firmwares while the general duty cycle in >= 80%.
    • the long press switch can now be disabled within setup of device connections
    • fixed an error with the display reset of a HmIP-WRCD
    • fixed the output of an acoustic signal with a HmIP-WRCD
    • fixed bug with the switch-on delay in easymode profil "switch on/off" of a HmIP-WTH-2
    • under certain conditions the "OK" button was not displayed correctly during setup of a direct connection between devices.
    • fixed certain display problem when sorting direct connections by receiver
    • fixed incorrect connection of the long-press mode with switch actuators which was incorrectly configured as a toggle operation instead
    • removed unnecessary information notes when activating the "power supply" setting in HmIPW devices when direct connections where setup
    • fixed bug where HmIP-energy devices (e.g. HmIP-PSM) showed values with NaN as the value for the CCU.
    • incorrect syslog identifiers were used for multimacd and rfd syslog outputs
    • the XML-RPC remote API of the Homematic IP services always outputted "1.0.8" when using "getVersion". Now the CCU firmware version number will be output instead.
  • integrated a minor fix for the included CloudMatic Addon which did not supply the correct zabbix_agentd version.
  • modified internet check to not perform any network/internet check operation if /etc/config/internetCheckDisabled exists.

WebUI changes:

  • changed the HTTPS/SSL certificate generation process to generate self-signed certificates with the "extendedKeyUsage", "keyUsage" and "nsCertType" x509 options in openssl so that the generated certificates comply more to what modern web browsers require.
  • added new WebUI patch which improves the loading speed of the "Gewerke" /"Function" admin listing which previously could take too long and thus block ReGaHss resulting in monit triggering a restart under certain conditions (@jp112sdl, #751).
  • added new WebUI patch to fix the broken direct connection sorting in the official CCU 3.49.17 firmware release.

Linux operating system changes:

  • added a new qemu-guest-agentd guest agent client for the virtual OVA platform targets so that Qemu driven virtualization environments (Proxmox, Synology VMM, QNAP, Qemu) will integrate more nicely any allow to query certain metadata updates of the virtual client (#744).
  • enabled certain addition "VirtIO" linux kernel modules so that supported virtualization platforms can be setup to use "VirtIO" devices for network and hard disk support which should provide some more efficiency and speed.
  • lowered the vmx hardware compatibility to "vmx-10" which should allow to directly import the *.ova file in ESXi 5.5 also
  • changed rootfs ext4 filesystem setup to generate a full 64bit ext4 filesystem for potentially improved speed and security
  • updated buildroot/Linux version to latest 2019.11 version.
  • updated Linux kernel version to latest LTS 4.19.89 for all supported platforms and updated RaspberryPi bootloader to latest version available.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.47.22.20191130

Published by jens-maus almost 5 years ago

This is release 3.47.22.20191130 of RaspberryMatic which is a major feature enhancement release including the following new features, bug and security fixes:

Downloads License Donate

🚧 Changes:

General changes:

  • Integrated support for two new hardware platforms for running RaspberryMatic on intel-based x86 hardware while using USB-enabled RF hardware (e.g. HB-RF-USB, HmIP-RFUSB, HM-CFG-USB-2) to communicate to HomeMatic devices (BidCos-RF, homematicIP):
    • Open Virtual Appliance (OVA): For running RaspberryMatic within the following virtualization environments:
      • vmWare ESXi
      • Proxmox Virtual Environment
      • Oracle VirtualBox
      • Synology Virtual Machine Manager
      • QNAP VirtualizationStation
      • vmWare Workstation Player
      • QEmu
      • Microsoft HyperV
    • intelNUC: For directly running RaspberryMatic on the following Intel NUC hardware models:
      • 8.Gen intelNUC (Coffee Lake): NUC8i3BEK/NUC8i3BEH
      • 7.Gen intelNUC (Kaby Lake): NUC7i3BNK/NUC7i3BNH
      • 6.Gen intelNUC (Skylake): NUC6i3SYB/NUC6i5SYB
      • 5.Gen intelNUC (Broadwell): NUC5i3RYB/NUC5i5RYB
      • 4.Gen intelNUC (Haswell): D34010WYB/D54250WYB
      • 3.Gen intelNUC (Atom): DE3815TYBE
      • 2.Gen intelNUC (Ivy Bridge): D33217GK
      • 1.Gen intelNUC (Sandy Bridge): DCP847SKE

CCU/HomeMatic service changes:

  • implemented full LED support when using a RPI-RF-MOD with a HB-RF-USB adapter (#640).
  • fixed HMIP-RFUSB-TK identification. Now a firmware update cycle should be correctly omitted if a HMIP-RF-USB-TK is used (#641).
  • fixed a bug in mod_authn_rega where missing SO_RCVTIMEO/SO_SNDTIMEO socket options could cause that lighttpd webserver stalled in case XMLRPC auth requests were processed while ReGaHss was not yet running and thus could not answer to these auth requests (#730).

WebUI changes:

  • added functionality to add a standard subjectAltName consisting of the provided hostname and local ip address when creating a new HTTPS certificate. This should mitigate potential issues where the HTTPS certificate was not fully accepted by Google Chrome (#738).
  • enhanced the Recovery System WebUI to allow to not only create backups but also to restore *.sbk backup files directly in case the normal system is not accessible/bootable anymore.
  • implemented a new "Clone System" functionality in the Recovery System WebUI. Now users can use the recovery system to copy/clone their whole system to other connected devices. This can be particular useful for installing RaspberryMatic on a SSD of a intelNUC so that the image can be initially booted via an USB stick but then copied to the internal SSD afterwards.
  • added more european captial cities and countries to the global country and GPS position list (#741).
  • integrated a new WebUI patch for fixing issues with the jqueryURLPlugin.js URL parser class used in the WebUI. This patch updates the class to its latest 2.3.1 version (https://github.com/allmarkedup/purl) and integrates a fix for correct "@" URL parameter parsing (allmarkedup/purl#83) (#742).

Linux operating system changes:

  • updated hardware watchdog setup to only run the watchdog daemon or restart it via monit in case /dev/watchdog is present. This should allow to run RaspberryMatic on hardware platforms without any hardware watchdog present.
  • updated buildroot/Linux version to latest 2019.08.2 version.
  • added libgpiod and tools as a new default package so that gpios can be queried and changed the official linux-way.
  • fixed USB ntfs support to use ntfs-3g correctly for mounting NTFS formatted volumes.
  • update Java8 version to latest stable patch version (8.0_232).
  • updated Linux kernel version to 4.19.85 for all supported platforms.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.47.22.20191026

Published by jens-maus almost 5 years ago

This is release 3.47.22.20191026 of RaspberryMatic which is a minor feature enhancement release including the following new features, minor bugfixes and security fixes:

Downloads License Donate

🚧 Changes:

CCU service changes:

  • updated OCCU firmware to 3.47.22-3 version with full compatibility to the CCU3 3.47.22 firmware which comes with the following changes:
    • added new ReGaHss logic engine R1.00.0388.0215 (Oct 11 2019) version with the following changes:
      • fixed invalid "Compare of ISEVALUEs" error messages when manually re-enabling timer programs with periodic timers.
      • Fixed issue where licenseinfo.htm was not retrievable without valid session.
    • integrated fixes in HMIPServer service which should fix issues in the homematicIP XML-RPC interface which could get stalled due to non-reachable external clients and thus stopped to show homematicIP device updates in the WebUI and external clients.
    • integrated a fix for the HEATING_CLIMATECONTROL_SWITCH_TRANSMITTER switch on/off profile which should incorrect controls in the WebUI for certain climate control devices.
  • integrated an rf-module factory reset mechanism which will also clear the internal memory of a connected RF module upon a standard factory reset via the WebUI.
  • updated NEOserver package to latest 2.4.8 version.
  • fixed some minor bugs in the web interface of the NEOserver Addon which resulted in certain unnecessary browser error/warnings (#726, @psytester).

WebUI changes:

  • implemented a new manual favorite sorting patch for the WebUI. Now, a user can manually sort entries in the user favorite list so that the corresponding combobox on the main start page will now display the manually sorted favorites instead of forcing an alphabetical sorting. In addition, a logged in user can now only see its own favorites rather than also showing all favorites of an admin or other users (#706, 0062).
  • improved the MenuSortedIcons patch to use alternative menu icons from icons8.com which also come with high resolution variants so that in a zoomed environment the menu icons look more nice (#663).
  • severely improved the 0026-WebUI-Fix-CacheControl WebUI patch which will not use _version_ parameters in URLs anymore to signal a browser to fetch a new version of a served file. Instead, we now use proper Cache-Control: response headers directly supplied via the lighttpd web server so that proper ETag-based caching mechanisms take place. In fact, this change should now hopefully fix all remaining browser cache related issues when updating from one release to another so that no manual browser cache clearing should be necessary anymore. In addition, the forced Cache-Control: response headers will now also take care of a proper web caching setup for third-party addons also delivering any web content (0026).
  • added new WebUI patch to make sure that the download URLs of addons is opened in a new browser tab or window (#727, 0063).
  • minor css style improvements by moving some css directives from webui.js to style.css (#716, @ptweety).
  • updated CodeMirror version to latest 5.49.0 for the improved WebUI script editor WebUI patch (0046).
  • retired the 0052-WebUI-Fix-ESP-Security WebUI patch as it has been integrated in latest OCCU 3.47.22.

Linux operating system changes:

  • updated buildroot/Linux version to latest 2019.08.1 version.
  • updated Linux kernel version to 4.19.79 for ASUS Tinkerboard and 4.19.79 for RaspberryPi and added a dedicated device tree overlay for the bcm2710 version of the RaspberryPi2b boards.
  • changed U-Boot bootdelay option to -2 and removed scroll lines config so that bootup cannot hang on serial interrupts anymore.
  • added usb_modeswitch as a new default package so that USB devices which provide different operating modes (3G/4G USB sticks) can more easily be used.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @psytester
  • @ptweety

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.47.18.20190918

Published by jens-maus about 5 years ago

This is release 3.47.18.20190918 of RaspberryMatic which is a minor maintenance release including the following new features, minor bugfixes and security fixes:

Downloads License Donate

🚧 Changes:

CCU service changes:

  • updated OCCU firmware to 3.47.18-1 version with full compatibility to the CCU3 3.47.18 firmware which comes with the following changes:
    • added new ReGaHss logic engine R1.00.0388.0213 (Sep 6 2019) version with the following changes:
      • fixed delayed State() variant to directly execute a State() command without involving the scheduler if the supplied delay time is <= 0.
      • fixed bug in delayed State() function which didn't work under all circumstances due to a misconverted value conversion.
    • general stability improvements in the homematicIP service daemon.
    • improvements in the homematicIP XML-RPC interface which could get stalled due to external clients suddenly not be reachable anymore.
  • integrated updated generic_raw_uart kernel module package to newer version fixing bogus "unknown interrupt iid 0c" messages when used with a ASUS Tinkerboard.

WebUI changes:

  • enhanced MenuSortedIcons patch to be able to use the user-configurable color.map file to override the menu sorting and thus be able to sort the menu items using corresponding css statements (#709, @ptweety).
  • fixed minor sorting bug in new sorted menu webui patch (#695, @ptweety).
  • modified MenuSortedIcons patch to also use plural terms for the system variables menu items in german and english translations (#696, @ptweety).

Linux operating system changes:

  • updated buildroot/Linux version to latest 2019.05.2 version.
  • fixed missing HDMI console output for RaspberryPi4 target and changed the default frame buffer device for all RaspberryPi targets to use CONFIG_FB_SIMPLE instead.
  • updated Linux kernel version to 4.19.72 for ASUS Tinkerboard and 4.19.71 for RaspberryPi including the corresponding RaspberryPi firmware files.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @ptweety

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.47.15.20190831

Published by jens-maus about 5 years ago

This is release 3.47.15.20190831 of RaspberryMatic which is a major release including the following new features, minor bugfixes and important security fixes:

Downloads License Donate

🚧 Changes:

CCU service changes:

  • updated OCCU firmware to 3.47.15-5 version with full compatibility to the CCU3 3.47.15 firmware which comes with the following changes:
    • Changes in the WebUI were not saved anymore upon logoff from the WebUI.
    • RF-based actors for registering energy consumption (HM-ES-PMSw1-Pl*) showed energy values with "NaN" rather than the actual consumption numbers.
    • The config dialogs for channel 3 of the HM-MOD-EM-8Bit (Version 1.0) were not displayed.
    • The duty cycle display on the main page of the WebUI could show incorrect values if additional LAN gateways were connected to the CCU.
  • added new ReGaHss logic engine R1.00.0388.0212 (Aug 28 2019) version with the following changes:
    • if a system/esp url is accessed without a valid session id the web browser will be instructed to redirect to the login.htm instead. This should make these esp pages more secured to be accessed without a valid session id.
    • fixed several security issues regarding potential remote code execution issues where processing POST requests even worked without a valid session.
    • fixed CVE-2019-9583 where certain url redirections to the login page still ended up in exposing session ids in Location http response headers.
    • fixed CVE-2019-9726 which allowed to display the content of any arbitrary file on the filesystem due to a NUL-byte vulnerability in the web server.
    • fixed CVE-2019-14474 where an empty Call("") execution caused ReGaHss to crash unexpectively.
    • fixed bug where upon session clearance a warning was output even for empty session ids, thought the session was most probably cleared already.
    • fixed a bug in the new State() function with delay routines where due to missing ISE value conversion the delay functionality didn't work for HSSDP objects. Now the routines try to convert the supplied ISE value to the appropriate type or returns false if the value conversion didn't work and thus the State() call couldn't be executed as expected (#659).
    • fixed invalid "pointer is null" error output in case no channel dps should be cleared.
  • changed monit configuration to check for an existing /etc/config/internetCheckDisabled file which will cause the regular monit-based internet check to be disabled and thus not cause any alarm message if the internet connection is lost for a certain amount of time (#664).
  • raised the monit-based alarm threshold to 5 minutes for warning about high cpu/memory usage so that the system will warn/alarm only if the cpu/memory is exhausted for a longer period of time.
  • changed the daily cronBackup to be executed with a processing "nice" value of 10 so that other more important processes have higher cpu priority.
  • updated embedded CloudMatic CCU Add-on package to latest version with additional sessionID-based security fixes applied.
  • updated embedded Mediola NeoServer CCU Add-on package to version 2.4.6.

WebUI changes:

  • integrated a new WebUI patch to improve the security in session clearance upon a WebUI logout (0060).
  • integrated a new WebUI patch sorting the standard WebUI menu items alphabetically and adding dedicated menu icons as well as displaying the favorite list on the main page alphabetically sorted (#663, #665, @jp112sdl, 0061).
  • enhanced the DutyCycle display WebUI patch to display up to 5 additional LAN gateway connections (#670, 0057).
  • slightly enhanced the DutyCycle display WebUI patch to display more nicely (#674, #675, @ptweety, 0057).
  • fixed a bug in the improved script editor WebUI patch where the editor window was automatically horizontally resized if the content in the editor got too large (#671, 0046).
  • fixed a bug in the ESP Security WebUI patch which prevented the initial WebUI installation wizard to correctly save the provided Admin password (#677, @quickmic, 0052).
  • reworked ESP Security WebUI patch to contain more robust fixes for certain ESP related security issues and also integrated some more ESP security fixes in programs.fn which should fix CVE-2019-14475 and CVE-2019-14473 (0052).

Linux operating system changes:

  • added support for new RaspberryPi4 Model B hardware supporting all three different 1GB, 2GB and 4GB models. Please note, that due to RaspberryPi firmware limitations the HDMI console will currently not show any kernel bootup messages and that the HDMI port can not be automatically powered off to reduce RF interferences.
  • integrated USB ethernet gadget mode for RaspberryPi Zero and RaspberryPi Zero W (requires /etc/config/usbGadgetModeEnabled) which allows to connect the USB port directly to a separate Linux/macOS/Windows system and use this connection as an alternative Ethernet connection (eth0) to connect to the internet (#648, #216, @fhirschmann).
  • updated Linux kernel version to 4.19.69 for ASUS Tinkerboard and 4.19.68 for RaspberryPi including the corresponding RaspberryPi firmware files.
  • updated embedded Java version to latest stable 1.8.0_222-8.40.0.178.
  • updated the embedded Bluetooth firmware files for RaspberryPi to the latest official versions.
  • streamlined all U-boot settings throughout all different hardware platforms to unify the feature sets accordingly.
  • enabled lz4 compression for kernel images and cpio compression in all defconfig files. This should make uncompression (thus bootup) slightly faster since lz4 should perform way better than standard gzip.
  • disabled max-worker setting in global lighttpd.conf to potentially fix issues with large file uploads.

πŸ‘ͺ Contributors (alphabetically):

  • @fhirschmann
  • @jens-maus
  • @jp112sdl
  • @ptweety
  • @quickmic

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.47.10.20190713

Published by jens-maus over 5 years ago

This is release 3.47.10.20190713 of RaspberryMatic which is a major feature release including the following new features and minor bugfixes:

Downloads License Donate

🚧 Changes:

General changes:

  • updated OCCU firmware to 3.47.10-4 version with full compatibility to the CCU3 3.47.10 firmware which comes with the following changes:
    • Integrated the following new Homematic devices: HmIP-ASIR-2, HmIPW-STHD, HmIPW-STH, HmIPW-WTH, HmIP-FALMOT-C12, HmIPW-FAL24-C6, HmIPW-FAL230-C6, HmIPW-FAL24-C10, HmIPW-FAL230-C10, HmIP-MIO16-PCB.
    • Channels of the virtual remote control (HmIP-RCV-50) could not be deleted from rooms and maintenance groups.
    • When adding a direct connection to a HmIP-MP3P from a wind sensor a color selection was displayed rather than a sound selection.
    • The button "GerΓ€te-Firmware" on the page "Einstellungen" was renamed to "GerΓ€te-Firmware-Übersicht".
    • Integrated a WebUI patch to prevent remote HTML injections during Add-on version requests.
    • Fixed a problem where under certain circumstances a session ID could be generated without a valid login.
    • The displayed amount of rain for a HmIP-SWO-* were accidentally doubled on each CCU restart.
    • JSON-API: The access level for get-/setMetadata calls were now set to GUEST and ADMIN accordingly.
    • A dialog was added for a HmIP-MP3P to configure playlists within WebUI programs.
    • Integrated a WebUI patch to prevent the web server from sending any Server: response header.
    • In direct connections between a motion sensor and a switching/dimming actor the actor should not be switched off anymore if there is still identified motion in place if the actor reacts upon ambient light brightness.
    • HM-ES-TX-WM - Integrated the changed behavior if firmware version > 2.x.y is used and which comes with SML protocol compatibility to read out electric smart meters. With firmware version 2.x.y only ES-IEC sensor is supported anymore and no IR, Gas or LED sensor can be used with a HM-ES-TX-WM device.
    • Added new functionality (week programme) for HmIP-MIOB.
    • Added new functionality (MIOB switching for heating/cooling support) for all HmIP-FAL devices.
    • Added automatic transmission of location and timezone data to supported HmIP devices with astro functionality included.
    • Added some security relevant HTTP response headers to generally improve the WebUI security.
  • updated Linux kernel version to 4.19.58 for ASUS Tinkerboard and to 4.19.57 for RaspberryPi including the corresponding firmware files.
  • updated U-boot boot loader version to 2019.01 version coming with Buildroot.
  • updated buildroot/Linux version to latest stable 2019.05.1 version.
  • integrated all third-party changes from https://github.com/alexreinert/piVCCU/tree/master/kernel where
    eq3_char_loop and rx8130 was modified and dts changes proposed. Also adapted the RTC clock setup accordingly. Furthermore we use the latest generic_raw_uart sources for upcoming builds now (@alexreinert).
  • changed the DutyCycle system variable update interval from every 3 minutes to every minute to be in sync with the new WebUI way of displaying the DutyCycle using a progress bar.
  • slightly improved /dev/urandom random number initialisation by executing a helper tool signalling the kernel that there is somewhat more entropy available after having seeded urandom correctly.

WebUI changes/fixes:

  • integrated a new WebUI patch to display more than a single DutyCycle ProgressBar on the WebUI start page where the regularly queried DutyCycle values of all interfaces are extracted using the updateDCVars.tcl helper script and then used to display the progress bars (@jp112sdl, https://homematic-forum.de/forum/viewtopic.php?f=65&t=51583&start=70#p517536).
  • integrated a smoother timezone/utcOffset/utcOffsetDST calculation routine which doesn't require to maintain an own utcOffset list in addition to the anyway mostly obsolete timezone list implemented in cp_time.cgi. Now the utcOffset and position sync functionality in latest WebUI doesn't require this utcOffset list anymore while allowing to set way more time zones.
  • integrated an upstream WebUI fix for incorrect "NaN" displays in the WebUI for energy/power meters (@jp112sdl, https://homematic-forum.de/forum/viewtopic.php?f=65&t=51583&p=517276#p517276).
  • integrated a new WebUI fix for preserving the active/inactive state of WebUI programs when editing them (#235, @jp112sdl).

Bugfixes:

  • fixed checkHmIPdevices.sh helper script to use a better search pattern and only move away ap/apkx files if the regadom already contains HmIP-RCV devices which means that there are references to the RF module at all. This should fix issues where people were coming from earlier versions of RaspberryMatic not containing HmIP-RCV devices already and thus the ap/apkx of the GPIO rf modules were accidentally moved away leaving no HmIP devices in the WebUI at all.
  • fixed another bug in checkHmIPdevices.sh which accidentally moved away *.ap and *.apkx files from HmIPW-DRAP devices. Now it will check metaData.conf for a reference to a HmIPW-DRAP and if it identifies it it will skip the found SGTIN (#655).
  • integrated a workaround for a problem with the Mediola NEO Server add-on web configuration pages which could not be accessed if the WebUI itself was accessed via https.
  • added nofail mount options where appropriate so that upon startup the system doesn't complain if a certain filesystem is missing during boot.
  • changed the syslog file limit for /var/log/messages to automatically rotate rather than potentially filling the tmpfs until the logrotate daemon rotates it once per day due to excessive logging settings in the WebUI.

πŸ‘ͺ Contributors (alphabetically):

  • @alexreinert
  • @jens-maus
  • @jp112sdl

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

  • CCU3, ELV-Charly, RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
    πŸ“¦ RaspberryMatic-3.47.10.20190713-rpi3.zipSHA256: 69a92a611cd1ac02e0a754d0069ce7a21d01291d875c4e1182ecfd381a70598f

  • RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
    πŸ“¦ RaspberryMatic-3.47.10.20190713-rpi0.zipSHA256: f0ff3dcf3398c4c712a0345068c3a6bfe3e63d7751398cf65adbbd4c02e4345f

  • Tinker Board S, Tinker Board:
    πŸ“¦ RaspberryMatic-3.47.10.20190713-tinkerboard.zipSHA256: 6dec97dded11992e91bba1ab20444a576c7674c5c1a0fe4806e8858e75867307

  • CCU3 (only required once for switching from original CCU3 firmware to RaspberryMatic):
    πŸ“¦ RaspberryMatic-3.47.10.20190713-ccu3.tgz SHA256: 2c6b7f8a747381a6b48a0eeac6b4b3f14b484fbaf1588e1f8bb8d286bbb48db3

RaspberryMatic - RaspberryMatic 3.45.7.20190622

Published by jens-maus over 5 years ago

This is release 3.45.7.20190622 of RaspberryMatic which is a feature release including the following new features and minor bugfixes:

Downloads License Donate

🚧 Changes:

General changes:

  • updated OCCU firmware to 3.45.7-5 version with full compatibility to the CCU3 3.45.7 firmware and incorporating the following changes:
    • added new ReGaHss logic engine R1.00.0388.0208 (Jun 16 2019) version with the following changes:
      • modified State() scripting function to be able to specify a delay time in milliseconds which will delay the set operation for the specified amount of time. In addition, with a third boolean parameter a user can disable the retriggering/cleaing of an already scheduled event (#262).
      • modified scheduler to work with milliseconds precision and also changed the tick count routines to ensure that the queried time is not influenced by time changes (manual, NTP).
      • a time to query via SunAzimuth/SunElevation/SunsetTime/SunriseTime can now be specified as an additional parameter to these system functions so that users can now use these functions with a specific time.
      • implemented a new rega.conf setting (SchedulerListSize) for changing the maximum number of scheduled events in the scheduler list and changed the default to 10000 due to sufficient performance.
      • fixed session ID generation to only generate a new session ID for selected pages like index.htm and login.htm and make sure to prevent any further sessionID generation for other pages.
  • added a new checkHmIPdevices.sh helper script which will be automatically started before starting HMIPServer and which will try to check if a *.dev, *.ap, *.apkx file should be moved away into an "old" folder so that upon HMIPServer startup only device files which are actually correctly referenced in the global homematic.regadom database are present (#613).
  • added explicit detection of HmIP-RFUSB-TK so that only compatible firmware updates will be applied to it (#641, @alexreinert).
  • added soft-link /etc/rc.local pointing at /usr/local/etc/rc.local so that a user can more easily create a rc.local file for own shell commands being executed during startup.
  • modified standard syslogd options to not enforce any maximum logfile length because we are relying on logrotate to actually rotate all logfiles to keep the memory clean/slim. In addition the standard logrotate configuration will now take care of all *.log files no matter where they are coming from.
  • updated integrated Mediola NEO server Addon to version 2.4.5.
  • updated buildroot/Linux version to latest stable 2019.05 version.
  • updated Linux kernel version to 4.19.51 for ASUS Tinkerboard and to 4.19.42 for RaspberryPi (raspberrypi-kernel_1.20190517-1) including the corresponding firmware files.
  • updated Java version to latest stable 1.8.0_212-8.38.0.163.

WebUI changes/fixes:

  • fixed a bug in the new sticky filters WebUI patch which resulted in some filter to lose their red signaling color (#617, @psi-4ward).

Bugfixes:

  • fixed bug in the global logrotate configuration where a log file rotation was always force each night rather than only be performed once the log file reached a certain limit.
  • fixed dtoverlay and dtparam command use by integrating missing libfdt support in the RaspberryPi builds (#648, @fhirschmann)

πŸ‘ͺ Contributors (alphabetically):

  • @alexreinert
  • @fhirschmann
  • @jens-maus
  • @psi-4ward

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.45.7.20190511

Published by jens-maus over 5 years ago

This is release 3.45.7.20190511 of RaspberryMatic which is a hotfix release fixing some important issues revealed in the previous update. This includes the following changes:

Downloads License Donate

🚧 Changes:

Bugfixes:

  • fixed bug in the monit configuration where the wlan0 check even triggered a reinit of the wlan0 interface if the eth0 interface was used and the /etc/config/wpa_supplicant.conf file exists (#624).
  • fixed problem with certain Addons not working anymore due to too strict CSP response headers by temporarily disabling them again (#620, #619).
  • fixed CloudMatic support by integrating an updated Addon version (v20190507) which should fix issues with the reverse proxy service not working with the latest RaspberryMatic versions (#589).
  • integrated kernel fixes by having updated the Linux kernel for ASUS Tinkerboard to version 4.19.40.

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.45.7.20190504

Published by jens-maus over 5 years ago

This is release 3.45.7.20190504 of RaspberryMatic which is a feature release including the following new features and minor bugfixes:

Downloads License Donate

🚧 Changes:

General changes:

  • updated OCCU firmware to 3.45.7-4 version with full compatibility to the CCU3 3.45.7 firmware
  • added new ReGaHss logic engine R1.00.0388.0207 (May 1 2019) version which comes with the following changes:
    • fixed another minor timer module issue where during winter->summer dst change a periodic timer could have been executed twice with the same begin time. In addition, even timers outside the start/stop times of the dst change were incorrectly executed.
    • fixed another issue in the begin time calculation of period timers which could result in unexpected segfaults under certain conditions.
    • the history buffer size can now be specified/modified using /etc/rega.conf by specifying a HistoryBufferSize setting.
    • implemented new system.SunAzimuth() and system.SunAltitude() script functions which will return the current sun position in degrees relative to the current position and time.
    • integrated another time module fix where upon startup all periodic timers fired a single time even though their time didn't match the actual time they should fire.
    • moved scheduler thread startup to be started earlier so that timer evaluations can be performed more early.
    • fixed minor bug where in case a system variable was connected to a channel this reference wasn't cleared correctly upon removal of the channel/device (https://homematic-forum.de/forum/viewtopic.php?f=31&t=50077)
    • the embedded web server of ReGaHss will not output any Server: response header anymore to reduce the probability to use search engines to find CCU installations insecurely connected via port forwarding.
    • fixed a bug in the astro day/night calculation routines where on a DST switch day from midnight till the switch time an incorrect sunrise/sunset time was returned.
    • if any output is put to the console a timestamp will now be added and the output will be properly synchronized throughout the different used threads.
  • updated buildroot/Linux version to latest stable 2019.02.2 version coming with only minor changes and important security fixes compared to the previous version.
  • raised maximum number of history/protocol entries from 3000 to 10000 so that external applications (e.g. PocketControl) or the WebUI can maintain more history entries.
  • bumped linux kernel version to 4.19.36 for ASUS Tinkerboard and RaspberryPi including the corresponding firmware files.
  • added an under-voltage monitoring check using vcgencmd (RaspberryPi only) and monit so that users are warned if their connected power supply is not capable of providing enough voltage to the system.
  • added strace, tcpdump, ser2net and libnetfilter conntrack as new default packages which should better match the default package set like in a CCU2.
  • integrated basic exFAT filesystem support for e.g. mounting external USB devices.

WebUI changes/fixes:

  • added a new major WebUI feature patch introducing functionality providing sticky filters. Now filters for table displays in the WebUI will keep the filter rules if a WebUI user returns to the table display (e.g. listing devices). This should considerably improve usability when working with the WebUI (#601, #243, @psi-4ward).
  • added new WebUI patch to add IANA conform timezones (e.g. Europe/Berlin) and to also have more locations and more detailed GPS coordinates defined so that users can more easily install a RaspberryMatic system worldwide (#602).
  • integrated a protection against cross site scripting (XSS) attacks by forcing Content-Security-Policy: response headers and masking lighttpd to not output any Server: response header at all to improve security (#597, @psytester).
  • integrated more WebUI related security fixes for the ESP remote script API where for some functions no user level check had been performed and thus non-admin users could easily perform admin operations.
  • enhanced the "Equal than" WebUI patch to also fix a problem in incorrectly setting the condition type thought no condition was changed when saving a WebUI program with string comparisons.
  • added new WebUI patch fixing an incorrect reference to nfs_datepicker.css in the help page, which isn't required anymore and just resulted in font size errors if included.
  • added a new WebUI bugfix patch which fixes an issue when generating the usrAckInstallWizard files in case a username contains more than plain ASCII characters (#600).
  • updated javascript-based CodeMirror WebUI Scripteditor engine to latest stable 5.45.0 version.

Bugfixes:

  • fixed bug where monitoring the health of the wlan0 interface did not work correctly on platforms not having any wifi interface at all (#587).
  • fixed triggerAlarm.tcl to generate an alarm system variable will now make sure to correctly set the system viable meta data as well and re-create it if not setup correctly.
  • fixed network setup to not incorrectly flush IPv6 connectivity parameters upon IPv4 DHCP setup and also integrated some minor changes to use /sbin/ip instead of ifconfig where applicable.
  • fixed monit to not monitor irqbalance if only one CPU is present and thus using irqbalance would not make any sense (#596).
  • fixed monit to only trigger an internet connectivity alarm after 5 minutes of constant downtime. This should reduce the probability of alarm messages in case an internet provider performs nightly reconnects which should not be critical.
  • fixed problem where restoreBackup.sh did stop/start services without considering the new monitoring service (#612).
  • fixed the monit monitoring interval from 3s to 13s and generally increased the network port check limits to 5 cycles so that monit will only alarm users after ~65 seconds if a service is down (#604).

πŸ‘ͺ Contributors (alphabetically):

  • @jens-maus
  • @psi-4ward
  • @psytester

πŸ“ Support:

For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ“¦ Download:

The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:

RaspberryMatic - RaspberryMatic 3.45.5.20190330

Published by jens-maus over 5 years ago

This is release 3.45.5.20190330 of RaspberryMatic which is a major feature release including the following new features and minor bugfixes:

Downloads License Donate

🚧 Changes:

  • updated OCCU firmware to 3.45.5 version with full compatibility to the CCU3 3.45.5 firmware which brings the following changes compared to the previous version included in RaspberryMatic:
    • updated ReGaHss logic engine R1.00.0388.0206 (Mar 28 2019) with the following changes:
      • fixed DST/non-DST switching issues in timer module which could have resulted in a segfault if a time interval over the DST switching time was created by a user.
      • implemented a new sunrise/sunset calculation routine which is fully compatible to the way sunrise/sunset is calculated on other homematic devices (e.g. HmIP-HAP, Cloud Service, etc.). Now sunset/sunrise times in the WebUI should match the times calculated throughout all homematic devices/services.
      • fixed some compiler warnings and reduced probability of potential buffer overflows in certain situations.
      • replaced more buffer overflow prone function uses with buffer overflow safe variants which should catch some known issues in the handling of large http requests.
      • fixed bug in session clearance where a logout didn't completely invalidate all session relevant information.
      • improved login security by preventing unauthorized users from logging into WebUI and using the scripting engine at all.
      • optimized logging output in various areas so that bug reports can be more easily tracked down. Also changed some messages that were previously flagged as "error" messages to be flagged as "warnings" only now that we have that additional category.
      • fixed minor bug where for interfaces with an empty URL the init method was still tried to be executed.
      • added possibility to log warnings instead of just error messages to syslog & co. This should help to better differentiate between real problems and warning messages that are just pure informational messages.
    • fixed problem that after an update of a homematicIP device firmware the device was automatically deleted and routed in the incoming folder. Now HmIP devices should automatically get channels updated once a firmware update contains differences in the channel setup. This should also remove the requirement to manually delete and re-teach a HmIP device after its firmware was updated.
    • added AutoIP fallback support for network environments without any DHCP server.
    • changed time synchronization interval for the RF-coprocessor to "every 6 hours" rather than being executed every 30 minutes. This should slightly reduce the DutyCycle in mostly non-busy environments.
    • integrated support for new HmIP-ASIR-O (homematicIP alarm siren - outside)
    • it is possible now to react on actual valve state changes of the HmIP-eTRV/eTRV-2/eTRV-C in WebUI programs.
    • with newer firmware versions (2.0.2+) for the HmIP-eTRV/eTRV-2/eTRV-C a new "ultra-silent" mode can be set in the channel parameters which should make these devices more silent during normal operations.
    • fixed a minor bug related to delivery of UPnP-based status messages.
    • a problem was fixed when trying to delete direct connections with the HmIP-RCV-50 (virtual remote control) device.
    • the filter for the device list could not filter for "BidCos-RF/Wired" devices in the WebUI.
    • fixed problem where the switch on/off duration within easymode profiles could be switched to "not active" while other settings are already set in the WebUI.
    • fixed WebUI issue with not displaying the channel parameters for HmIP-FCI1/6 devices.
    • fixed WebUI issue with HmIP-BSL not being able to be switched in the weekly program definitions.
  • integrated some quick fixes for issues which showed up with the recent CCU 3.45.5 firmware release:
    • fix for the broken channel parameter display for HmIP heating groups.
    • fix for the broken CCU addon installation routines.
    • WebUI fix for broken off-profile display for the long keypresses in the virtual receiver switch parameter display.
  • implemented a process/service watchdog/monitoring implementation using Monit. This process watchdog automatically takes care if a service (e.g. ReGaHss) crashes and then automatically restarts it and also notifies the user of the occurred restart event using an alarm message in the WebUI. This should greatly improve service reliability (NOTE: Users of the third-party hm-watchdog CCU add-on are asked to remove this addon because this internal watchdog functionality is a replacement for it). Please note that Addon developers can add own Monit configuration files in /usr/local/etc/ with pattern monit*.cfg to add their own services to the Monit monitoring engine. Currently, this new process/service watchdog monitors the following services and events per default:
    • HomeMatic specific services:
      • ReGaHss logic engine daemon (/bin/ReGaHss)
      • HMIPServer homematicIP daemon (/opt/HMServer/HMIPServer.jar)
      • rfd BidCos-RF daemon (/bin/rfd)
      • hs485 BidCos-Wired daemon (/bin/hs485dLoader)
      • multimac daemon (/bin/multimacd)
      • LED control daemon (/bin/hss_led)
      • eq3config daemon (/bin/eq3configd)
      • ssdp UPnP daemon (/bin/ssdpd)
      • LAN gateway mode daemon (/bin/hmlangw)
    • Linux-system services:
      • lighttpd web server daemon (/usr/sbin/lighttpd)
      • cronjob daemon (/usr/sbin/crond)
      • hardware control watchdog daemon (/sbin/watchdog)
      • syslog/klog daemon (/sbin/syslogd, /sbin/klogd)
      • udev control daemon (/sbin/udevd)
      • irqbalance control daemon (/usr/sbin/irqbalance)
      • random number generator daemon (/usr/sbin/rngd)
      • dbus message bus daemon (/usr/bin/dbus-daemon)
      • network interface plug/unplug daemon (/usr/sbin/ifplugd)
      • chrony/NTP network time synchronization daemon (/usr/sbin/chronyd)
      • SSH daemon (/usr/sbin/sshd)
    • Additional alarm notifications are emitted
      • if the NTP offset time is > 1 second for more than 1 minute
      • if HTTPS certificate is about to expire in < 30 days
      • if high CPU usage (> 95%) is detected for more than 1 minute
      • if high memory usage (> 95%) is detected for more than 1 minute
      • if high system temperature (> 80 deg) is detected for more than 1 minute
      • if root filesystem (/) is running on low disk space (< 5%) for more than 1 minute
      • if user filesystem (/usr/local) is running on low disk space (< 5%) for more than 1 minute
      • if connected USB device (/media/usb1) is running on low disk space (< 5%) for more than 1 minute
      • if ethernet interface (eth0) has link down or changes link speed unexpectedly
      • if wifi interface (wlan0) has link down but should be enabled
      • if internet connection is down for more than 1 minute
  • fixed bug in restoreBackup.sh helper script which accidentally required a signature.sha256 file to be present (#560).
  • integrated a general fix for control_panel.cgi so that Add-on button column sorting is correct even if some buttons are disabled due to missing features in the various CCU generations/feature sets.
  • modified ntpdate calls to use an unprivileged port for outgoing packets, as chrony already does. This should prevent NTP packets get filtered by some snake-oil security filtering on UDP packets with same src and dst port (@hoedlmoser).
  • updated libfirewall.tcl to use correct icmpv6 types. This should solve certain errors when setting up the firewall (@libertyx82).
  • retired the additional cryptool type checking of backup archive consistency when using restoreBackup.sh script (#566).
  • performed minor optimizations to backup/restore routines where incorrect file modification times could have caused an invalid extraction/creation of a firmware or backup archive.
  • raised Linux kernel version for RaspberryPi and ASUS Tinkerboard to the new major LTS 4.19.x kernel line and also added full device tree overlay support for ASUS Tinkerboard as well as updated the RaspberryPi firmwares accordingly.
  • updated buildroot/Linux version to latest stable 2019.02 version.
  • updated java version to latest stable JAVA8 version (1.8.0_202-8.36.0.152)
  • modified default linux kernel config and added define CONFIG_DEBUG_USER. This allows to use the kernel command-line user_debug=X now to enable/disable certain segfault debugging messages in the linux kernel itself.
  • modified recovery system startup to only wait a maximum of 20 seconds while trying to mount the rootfs (e.g. if it is stored on an external USB device) so that startup should not stall endlessly.
  • fixed HMIPServer startup to start HMServer.jar in case no RF-module is installed. This should fix the typical VirtualDevices error messages if RaspberryMatic is used without any GPIO-based RF-module.
  • modified recovery system to also use chrony as the main network time synchronization daemon (NTPd).
  • modified SetInterfaceClock cronjob execution to be performed 4x per day (every 6 hours) rather than only once so that the interface clock of the used rf-module is synchronized regularly enough while not increasing the DutyCycle unnecessarily at the same time (@hoedlmoser).
  • fixed broken support for onboard-WiFi of the ASUS Tinkerboard (#380).
  • minor bugfixes and cosmetic changes.

πŸ‘ͺ Contributors (alphabetically):

  • @hoedlmoser
  • @jens-maus
  • @libertyx82

πŸ“ Support:
For support on installation and help please visit the following (german speaking) help fora:

RaspberryMatic - Installation/Update Guide πŸ‡©πŸ‡ͺ
RaspberryMatic - Forum πŸ‡©πŸ‡ͺ

πŸ’» Download:
The following installation archives (*.zip files) can be downloaded for selected hardware platforms (including a *.tgz update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256 checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available: