Skip to content

Releases: jens-maus/RaspberryMatic

RaspberryMatic 3.59.6.20210703

03 Jul 12:35
bffe340
Compare
Choose a tag to compare

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

Downloads License Donate GitHub sponsors

Hier klicken für deutschsprachige 🇩🇪🇦🇹🇨🇭 Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

For all changes, see the full commit log.

CCU/HomeMatic service changes:

  • updated OCCU version to 3.59.6-1 integrating full compatibility to the CCU3 3.59.6 firmware which comes with the following changes:
    • An obsolete code passage was removed since it allowed to perform unauthorized "remote code executions" imposing a severe security whole.
    • HmIP-FSI16 - Instead of showing "Buttonpress short/long" the text "This channel has no functionality here" will be shown under "Status/Usage".
    • After performing changes to a heating group the WebUI will now return to the group display instead of returning to the general device overview.
    • Fixed a bug in the use of the config parameter "Action on powerup".
    • The ramp time of HmIP dimm actors could not be changed within WebUI programs if no switchon time was modified as well.
    • Bugfix of stalling WebUI dialog when swapping homematic devices via the WebUI.
    • Added support for new "Homematic IP Türschlossantrieb (HmIP-DLD)" device type.
    • Updated integrated HmIPW-DRAP firmware to version 2.2.24.
    • HmIP-WRC6 - For channels 1 to 6 a new config parameter ABORT_EVENT_SENDING_CHANNELS was added.
    • The text field for entering the frost control temperature was changed to a combobox for the HmIP BWTH, FAL and FALMOT devices.
    • The minimal temperature value was changed from 6.0 °C to 5.0 °C for certain HmIP thermostat devices.
    • The WebUI of entering the week program of HmIP dimmers was changed from using a combobox with fixes brightness values (in 5% steps) to using a text field. This should allow to enter brightness values from 0% to 100%.
    • The config parameter "valve switchover value" can now only be activated/changed for a HmIP-FALMOT in case the parameter "automatic switch from continious to PWM" is enabled.
    • HmIP-MP3P - Added the easymode profile "MP3 - on" for direct connections with push button devices. Now it is more easily possible to use this device as a simple door bell.
    • On easy mode connections between a HmIP dimm/switching actor and a HmIP motion sensor the type of retention time can now be selected.
  • added network port settings to the Home Assistant Add-on for enabling a potentially installed CCU historian add-on to work correctly within Home Assistant (#1313).
  • fixed an issue where in case a /etc/config/rfd.conf file does not contain any [Interface 0] section while however a local rf module was found, rfd would never pickup the rf module for BidCos communication. Thus, we add a fresh "[Interface 0]" section in these cases now to get BidCos-RF running (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=68169).
  • added a bugfix in the Home Assistant ingress proxy (/bin/ha-proxy.js) which checks for the used character encoding in the response and then either converts the buffer stream to a string using utf8 or latin1 (#1264).

WebUI changes:

  • added new 0124-WebUI-Fix-ShowMultipleSpacesInSysVar WebUI bug fix patch (#1311, #1310, @jp112sdl)
  • added new WebUI bugfix patch which fixes an issue with not allowing to enter 31 seconds or 31 minutes in the duration set dialog in webui due to a missing durationUnit check (#1306).
  • added a sanitizing check for the /etc/config/firmware directory content so that invalid device firmware sub-directories won't result in a stalling WebUI anymore (#1302, cf. https://homematic-forum.de/forum/viewtopic.php?p=667022).
  • fixed issue in the 0097-WebUI-SetSysvarValueByUser WebUI patch which resulted in "malformed URI sequence" error messages to popup if a system variable contained some special characters and which requires to use unescape() accordingly (#1286).
  • we always use /usr/local/sdcard as a storagePath in the oci platform because there is no way in HA to mount an USB stick within an add-on due to hardware access restrictions.
  • added some missing english translations for certain WebUI patches (#1296).
  • integrated new 0121-WebUI-ManualProgramExecutionWithConditionCheck (#1291, @jp112sdl, @Baxxy13).
  • integrated a fix in the 0119-WebUI-Fix-ProofAndSetValue WebUI patch which should fix issues with displaying the device parameters for a HM-ES-TX-WM device due to incorrect getMin/MaxValue() function definitions (#1290).
  • added new 0121-WebUI-Fix-verifysid WebUI patch which fixes a potential security issue with verifysid.cgi being still available thought it is largely obsolete. Now the whole verifysid.cgi together with the only function in session.tcl still using it being retired for an improved security.

Operating system changes:

  • updated the rpi-userland-aarch64 buildroot patch to latest HEAD version of the rpi-userland repository.
  • added max filedescriptor checks to standard watchdog config so that monit will regularly check if a common process is about to exhaust its max. filedescriptor limit (#1322).
  • added more default MIB modules to the netsnmp build including the agent/extend module which should allow users to integrate extend based snmp definitions for various purposes (#1312).
  • added filesystem flags checks for userfs and usb1 WatchDog checks so that upon a changed filesystem check an alarm will be triggered informing about a potential disk error (#1320).
  • added set -e to let createBackup.sh exit immediately upon an error. Furthermore cronBackup.sh now triggers a WebUI alarm in case the target dir could not be created if the executed createBackup.sh exits wit an error (#1320).
  • updated wiringpi-rpi package to use latest master sources which comes with compatibility for latest RaspberryPi Compute Module 4 hardware.
  • added config options for improved compute module compatibility and added necessary device tree parameters/overlay for supporting the RTC of a CM4IO board as well.
  • Updated generic_raw_uart module to latest version to integrated fixes and mitigate the unfaithful use of certain USB based rf module mockups like PB-HUL/PB-HULIP/HB-OCCU-USB/TRXC2-USB which are just commercialized clones of OpenHardware-based hardware solutions (#1314, #1304, @alexreinert, cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=68238, https://twitter.com/RaspberryMatic/status/1404782083793358849)
  • added more RaspberryPi models to S01InitHost for proper recognition of the underlying hardware platform.
  • bumped upstream kernel to 5.10.45
  • added CONFIG_DAX and some other kernel options to enhance support for virtio-fs (cf. home-assistant/operating-system#1400)
  • removed the own copy of a aarch64/v8 binary of libNRJavaSerialv8.so since the HMIPServer.jar in OCCU 3.59.x+ now comes with the latest version of NRJavaSerial, thus also includes a 64bit aarch64 version of libNRJavaSerial. Thus, our workaround is not necessary anymore.
  • slightly increased the minimal fan speed for >= 55 deg for the ArgonFAN to get rid of potential high frequency noises.
  • updated RaspberryPi kernel+firmware to latest 1.20210527-1 tagged version.
  • updated buildroot to latest 2021.05 and adapted patches accordingly.
  • added iomem=relaxed to kernel bootargs of all platforms coming with wiringpi. This should fix Operation not permitted issues since we hardended the kernels for more secure DEVMEM. Now wiringpi should work again while still ensuring a high access security.
  • added new rpi-rf-mod-rpi1 device tree overlay to rpi-rf-mod package and added it to our rpi0 platform generation. This should fix issues were on a RaspberryPi1 system no act-led (led0) node was generated in /sys/class/leds because of the default rpi-rf-mod.dtbo device tree overlay being partly invalid for a RaspberryPi1 due to the missing GPIO pins (#1284).
  • added support for /sys/fs/cgroup/cpu/cpu.rt_runtime_us checking to deploy.sh so that runtime shares will be added enough in the docker run.

👪 Contributors (alphabetically):

📝 Support:

For support on installation and help please visit the following web pages:

RaspberryMatic - Documentation 🇺🇸
RaspberryMatic - Discussions 🇺🇸
RaspberryMatic - Dokumentation 🇩🇪
RaspberryMatic - Forum 🇩🇪

📦 Download:

The following installation archives can be downloaded for different hardware platforms. To verify their integrity a sha256 checksum is provided as well. You can either upload these files using the WebUI-based update mechanism or unarchive them to e.g. f...

Read more

RaspberryMatic 3.57.5.20210525

25 May 13:24
603f261
Compare
Choose a tag to compare

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

Downloads License Donate

Hier klicken für deutschsprachige 🇩🇪🇦🇹🇨🇭 Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

For all changes, see the full commit log.

CCU/HomeMatic service changes:

  • updated integrated CloudMatic add-on to latest stable version (v20200115).

WebUI changes:

  • Integrated fix for 0056-WebUI-Sticky-Filters WebUI patch (#1276, #1277, @jp112sdl)
  • Integrated more fixes in 0119-WebUI-Fix-ProofAndSetValue WebUI patch to incorporate more optimizations (e.g. for getMin/MaxValue()) so that for integer based values the WebUI elements are setup correctly for ProofAndSetValue() checking (#1238).
  • added a platform check to the ccu3.tgz update archives to prevent users from accidentally messing up their non-rpi3 installations.
  • the local available disk space will now be shown during a firmware update process.
  • added new 0120-WebUI-ImprovedPasswordFields WebUI patch which introduces improved username+password input fields which modern password managers can then use more easily (cf. https://www.chromium.org/developers/design-documents/form-styles-that-chromium-understands).
  • fixed issue where creating a heating group didn't work within an ingress proxied WebUI use in the HomeAssistant add-on setup (#1244).

Operating system changes:

  • modified security relevant linux kernel und buildroot config options to introduce advanced security options to mitigate potential buffer overflows attacks and similar attack vectors. (cf. https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings)
  • fixed minor typo in /etc/monitrc which sorted some services into the wrong service groups (#1279).
  • updated upstream Linux kernel to 5.10.39 LTS.
  • updated buildroot to latest 2021.02.2 security release.
  • updated RaspberryPi firmware to latest 1.20210430.
  • updated rpi-eeprom to latest pieeprom-2021-04-29.bin version.
  • updated java version for aarch32hf to 8.54.0.21-ca-jdk8.0.292.
  • updated RaspberryPi linux kernel to 1.20210430-1 version.
  • fixed SoC revision detection for different odroid-n2 hardware types (home-assistant/operating-system@367fc15).
  • modified our psplash splash screen display patches to also display a "Press ALT+F2 for service console" to remind users that using ALT+F2 is enough to show a service console for maintenance reasons.
  • integrated device tree overlay fixes for the odroid platform targets where the /aliases overlay didn't work correctly and thus didn't prefer the RTC of the RPI-RF-MOD in all cases.
  • added -q option to all killall calls to silent situations where no process is running anyway.
  • optimized S50sshd to use start-stop-daemon rather than manually killing sshd daemons via killall.
  • downgraded U-boot version to 2020.10 to fix boot issues for rpi0+rpi2 platform (#1237).

👪 Contributors (alphabetically):

📝 Support:

For support on installation and help please visit the following web pages:

RaspberryMatic - Documentation 🇺🇸
RaspberryMatic - Discussions 🇺🇸
RaspberryMatic - Dokumentation 🇩🇪
RaspberryMatic - Forum 🇩🇪

📦 Download:

The following installation archives can be downloaded for different hardware platforms. To verify their integrity a sha256 checksum is provided as well. You can either upload these files using the WebUI-based update mechanism or unarchive them to e.g. flash the included *.img files on a fresh installation media (e.g. microSD card):

Read more

RaspberryMatic 3.57.5.20210424

24 Apr 16:12
4b6c93c
Compare
Choose a tag to compare

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

Downloads License Donate

Hier klicken für deutschsprachige 🇩🇪🇦🇹🇨🇭 Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

For all changes, see the full commit log.

CCU/HomeMatic service changes:

  • updated OCCU version to 3.57.5-1 integrating full compatibility to the CCU3 3.57.5 firmware which comes with the following changes:
    • after device reset config data was not correctly transmitted to HomeMatic/homematicIP devices anymore.
    • when editing device configuration values where devices accepted value < 0 ended up in not being able to enter 0 anymore.
    • when adding channel 1 of a HmIP(W)-FAL device also channel 2 was accidentally added in the direct channel connection which did not have any function.
  • modified the "Clone System" operation in the recovery system to also deal with clone operations where the target device is smaller than the source device. In this case the user partition will be created smaller before using rsync to copy the userfs data from source to destination.
  • fixed the firmware update/install routines in the recovery system to write the bootloader for any partitioning scheme where the boot partition starts >= 2048.
  • integrated a minor fix which could have lead to an empty HM_HMIP_ADDRESS_ACTIVE variable entry in /var/hm_mode in case no /etc/config/hmip_address.conf file exists upon bootup.

WebUI changes:

  • changed 0119-WebUI-Fix-ProofAndSetValue WebUI bugfix patch with more fixes for the ProofAndSetValue function not correctly allowing to deal with all device relevant value boundaries in the WebUI device configuration dialogs (#1231, @theimo1221, @Baxxy13).
  • integrated a fix in the 0111-WebUI-Fix-Translation-Performance WebUI patch which should fix issues where empty translation strings resulted issue that which should finally fix #1155.
  • modified 0060-WebUI-Fix-SessionLogoutSave WebUI patch to not patch the Session.logout() JSON RPC to use system.ClearSession() rather than system.ClearSessionID() because using the non-ID version causes the regadom to be saved under all circumstances and for the remote API this might not be something we actually want (#1192).

Operating system changes:

  • added hardware support for the Hardkernel ODROID line of SBC platform (ODROID-N2/N2+, ODROID-C4, ODROID-C2)
  • added hardware support for the Intel NUC Gen 11 (Panther Canyon) hardware.
  • integrated support for evaluating a global /etc/sysctl.conf file to tune certain linux system/kernel parameters.
  • moved the fstrim cronjob to run at 04:00 each saturday and the badblock check to 01:59 to make sure it is run even during DST switch times (#1204).
  • updated rpi-eeprom package to incorporate latest pieeprom-2021-03-18.bin RaspberryPi4 EEPROM fixing potential issues with older pi4 board revisions.
  • integrated certain fixes and enhancements for running RaspberryMatic as a full-fledged HomeAssistant Add-on.
  • when running as a HomeAssistant Add-on we don't use udev anymore because the host OS is running its' own udev which could conflict otherwise.
  • on the corresponding platforms we reset the board upon an U-Boot boot failure so that systems won't stall in the bootloader.
  • updated generic_raw_uart to latest master version and removed our manual GPIO reset routine in the InitRFHardware init scripts because the newer generic_raw_uart handles the different reset pin layout of the RPI-RF-MOD vs. HM-MOD-RPI-PCB modules internally using a dedicated 'alt_reset_pin' device tree node entry now.
  • removed the dedicated rx8130 buildroot package in favour of using the kernel mainline ds1307,rx8130 module which since 5.10.x supports supercap charging (cf. https://lore.kernel.org/linux-rtc/20200917183246.19446-5-bst@pengutronix.de/T/).
  • bumped lighttpd web server to latest stable 1.4.59 which fixes an issue with lengthy request field sizes resulting in not being able to updated HomeMatic device parameters (cf. https://redmine.lighttpd.net/issues/3059, #1189).
  • bumped buildroot version to latest 2021.02.1 version.
  • bumped 5.10.x LTS kernel to 5.10.32 for all appropriate platforms (Tinkerboard, ODROID, intelNUC, OVA).
  • bumped 5.10.x LTS kernel for RaspberryPi to latest 1.20210303-1 version including the corresponding bootloader/firmware files.
  • bumped U-Boot version to latest 2021.04 version including u-boot related patch updates for the tinkerboard target.
  • bumped JAVA version to latest 8.54.0.21-ca-jdk8.0.292 LTS for appropriate platforms.

👪 Contributors (alphabetically):

📝 Support:

For support on installation and help please visit the following web pages:

RaspberryMatic - Documentation 🇺🇸
RaspberryMatic - Discussions 🇺🇸
RaspberryMatic - Dokumentation 🇩🇪
RaspberryMatic - Forum 🇩🇪

📦 Download:

The following installation archives can be downloaded for different hardware platforms. To verify their integrity a sha256 checksum is provided as well. You can either upload these files using the WebUI-based update mechanism or unarchive them to e.g. flash the included *.img files on a fresh installation media (e.g. microSD card):

Read more

RaspberryMatic 3.57.4.20210320

20 Mar 13:44
5c0357b
Compare
Choose a tag to compare

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

Downloads License Donate

Hier klicken für deutschsprachige 🇩🇪🇦🇹🇨🇭 Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

For all changes, see the full commit log.

CCU/HomeMatic service changes:

  • updated OCCU version to 3.57.4-1 integrating full compatibility to the CCU3 3.57.4 firmware which comes with the following changes:
    • fixed the download of certificates via the "create certificate" button which didn't work for chrome browser versions higher than 87 if the connection was a https connection.
    • the automatic download and installation of update didn't work for chrome browser engine versions higher than 87 if a https connection was used.
    • fixed some issues when entering floating point values in the WebUI.
    • fixed bug when trying to add event delay values in the dialogs of HmIP shutter contact devices.
    • for unconnected channels of HmIP-FALMOT devices a value of "0%" and "active" was incorrectly displayed.
    • fixed an issue in the sorting function of the channel selection in program dialogs.
    • after manual uninstall of the NeoServer add-on, the add-on button was not removed correctly.
    • implemented support for new "Homematic IP Schalt-Mess-Aktor für USB" (HmIP-USBSM, ELV)
    • updated the RPI-RF-MOD / CCU3 Coprozessor Firmware to version 4.2.14. This version fixes issues which could have resulted in permanent communication errors. In addition, a minor frequency deviation was corrected which could also fix certain communication related issues.
    • a new option has been added for HmIP-Wired devices which allows to select a new "channel action" parameter in programs to allow to set the display/system button of these devices.
    • instead of displaying "0 mA" if for a HmIP-DRAP bus the current was lower than 100 mA. Now "< 100mA" is displayed instead on the corresponding WebUI device status display.
    • added new error codes for the HmIP-SWSD to display error in case a dirty smoke chamber is identified.
    • for devices with a channel "Konfiguration Entscheidungswert" a note will now be displayed that the parameter has to be activated for a direct connection to work properly.
    • for heating groups the channel name and channel description will now be displayed and not just the device name.
    • the channesl for a HmIP(W)-FALx/FALMOT can now be added to HmIP heating groups to create the corresponding direct connections automatically between a FAL and WTH).
  • updated integrated Mediola NeoServer addon to latest 2.6.2 version.
  • integrated a minor fix for diverting firmware version storage in /var/hm_mode right after a fresh rf module firmware update.
  • added changes to properly disconnect a HB-RF-ETH upon shutdown, so that in a Docker/OCI environment the module can be used by another instance.
  • fixed an issue where upon switching RF modules or restoring a backup created from a different rf module resulted in deleting all homematicIP devices.

WebUI changes:

  • integrate fixes in 0097-WebUI-SetSysvarValueByUser WebUI patch which didn't allow to use certain reserved characters. This might have caused that editing a system variable via the WebUI wasn't possible anymore (#1177, @jp112sdl, @theimo1221).
  • fixed an issue where in some popups german umlauts could not be displayed correctly.
  • improved the ingress service proxy daemon used on the HomeAssistant integration, which didn't correctly catch and redirect all certain urls correctly. This prevents the WebUI backup routines from working correctly and thus rendered the backup/restore non-functional.
  • integrated changes in 0040-WebUI-AddonInstallNoReboot WebUI patch which omit the additional popup requester upon installing CCU add-ons since 3.57.4. Also modified the warning test regarding a forced reboot to state that reboots only could be possible based on what an addon decides.
  • added new 0119-WebUI-Fix-ProofAndSetValue-regarding-floating-numbers WebUI patch which fixes further issues with not being able to enter float or integer values in certain areas of the WebUI correctly (#1172, #1171, #1058, @theimo1221).
  • added new 0118-WebUI-Fix-ISO8601-DateUses WebUI patch which fixes the regexp used for parsing the output of a date -Iseconds command which has changed since BusyBox 1.33.0 to be more ISO-8601 compliant. Now the used regexp should catch all cases. This fixes an internal error in the WebUI (https://homematic-forum.de/forum/viewtopic.php?f=65&t=65840&p=649371#p649371).
  • adapted the mod_authn_rega lighttpd module sources to be compatible with lighttpd 1.4.58+
  • integrated changes for 0077-WebUI-NegateCondition WebUI patch that in a negated condition the description text matches (#1160, #1164, @jp112sdl).
  • modified 0057-WebUI-ImprovedDutyCycleDisplay WebUI patch and added a set of aria-valuenow css changes alongside width to have it properly changed in our bootstrap-based DutyCycle/CarrierSense WebUI patch (#1156).
  • added new 0117-WebUI-Fix-Rounding-within-Temperatur-Comfort-Lowering WebUI patch which fixes some more rounding issues in the WebUI (#1154, @theimo1221).
  • added new 0116-WebUI-Chrome-88-Sort-Header-Cell WebUI patch which fixes minor display issues appearing when using newer Chrome 88+ versions (#1153, @theimo1221).
  • fixed compatibility with older browsers in 0111-WebUI-Fix-Translation-Performance patch (#1151, @theimo1221)
  • integrated fix for 0097-WebUI-SetSysvarValueByUser to use replace() rather than the newer replaceAll() which seems to be not supported by all recent browsers yet (#1150).
  • removed obsolete WebUI patches (0080, 0081, 0112, 0113) and adapted patch 0112 to match changes in recent OCCU 3.57.4 version.
  • added new 0115-WebUI-GatewayConfiguration-DevicesListSortByName WebUI Patch which sorts the LAN gateway device list accordingly (#1147, @jp112sdl)
  • integrated a fix for an issue in /bin/updateDCVars.tcl which resulted in an incorrect CarrierSense output. (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=65661&start=20#p646106)
  • added new 0114-WebUI-Keyboard-Scroll-Control-After-Page-Change WebUI patch to enhance keyboard control on page change (#1144, @jp112sdl)
  • added new 0112-WebUI-Fix-Typo-hmipChannelConfigDialogs WebUI Bugfix patch to fix broken temperature lowering dialogs (#1139, @theimo1221)
  • modified 0057-WebUI-ImprovedDutyCycleDisplay WebUI patch to add a CarrierSense Level display on Startpage (#1138, @jp112sdl)
  • added new 0111-WebUI-Fix-Translation-Performance WebUI patch to increase performance in loading translations. This should significantly increase the display speed of large device lists (#1136, @theimo1221)
  • integrated fixes for 0109-WebUI-Fix-SystemLanguageDefaultNames WebUI patch which should catch invalid null accesses to invalid iseobject ids resulting from e.g. partly broken ise lists like ID_SYSTEM_VARIABLES, etc. (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=65568)

Operating system changes:

  • fixed trigger selection routines which didn't select the correct led trigger for the onboard led of a RaspberryPi/Tinkerboard because these routines were broken.
  • integrated improvements for the HomeAssistant add-on implementation which should allow to correctly reboot/shutdown the add-on from the WebUI itself (#1087).
  • integrated a fix for the HomeAssistant add-on implementation which resulted in the syslog daemon not being able to run correctly with recent HA supervisor versions.
  • changed the Docker/OCI HEALTHCHECK script to check for an enabled HMLGW mode and if identified it will always return a healthy status (#1163).
  • minor improvements in more clear startup messages output.
  • updated buildroot/Linux environment to latest 2021.02 LTS version.
  • bumped the Linux kernels of all platforms to 5.10.x including an update of the RaspberryPi+firmware to the latest 5.10.x versions (1.20210201-1).
  • modified the HomeAssistant add-on to not mount /dev_host like the other Docker/OCI environments do because it is not required for the add-on.
  • integrated a fix for the HomeAssistant add-on to mount /data as early as possible so that it is available for the backup restore and factory reset routines (#1148).
  • integrated fixes for getting the bluetooth functionality fixed for ASUS Tinkerboard (cf. home-assistant/operating-system@9db5dc7)
  • added first changes to be able to identify a used RPI-RF-MOD also in the HomeAssistant add-on environment
  • added a cpu.rt_runtime_us check before trying to start multimacd. This should catch cases where multimacd cannot be started due to missing cpu real-time shares being assigned (e.g. in a docker/OCI environment).
  • make sure all our kernels have CONFIG_TUN=y set so that no explicit modprobe is necessary anymore.
  • added changes to make sure that all manually loaded kernel modules are properly unloaded upon shutdown.
  • in a docker/oci environment we don't use hwclock in thecontainers because the host is responsible fo...
Read more

RaspberryMatic 3.55.10.20210213

13 Feb 15:10
5d76e1d
Compare
Choose a tag to compare

This is release 3.55.10.20210213 of RaspberryMatic which is a MAJOR release with lots bugfixes and feature changes including the following changes:

Downloads License Donate

Hier klicken für deutschsprachige 🇩🇪🇦🇹🇨🇭 Version des ChangeLogs/Diskussionsbeitrag

🚧 Changes:

For all changes, see the full commit log.

Major changes:

  • implemented support to install RaspberryMatic as a full-fledged add-on under Home Assistant. RaspberryMatic can now be installed as an Add-on under Home Assistant OS, allowing to run other integrations and add-ons in parallel rather than exclusively using a single system for RaspberryMatic only (cf. documentation, #1087).
    Please note: The Home Assistant add-on implementation of RaspberryMatic is still in beta quality. Furthermore, due to the restrictive docker-based nature of Home Assistant, some of the features require additional operating system modules which are not yet available. This currently limits the HomeMatic/homematicIP connectivity to the use of the HmIP-RFUSB, HM-LGW-O-TW-W-EU, HM-CFG-USB-2, HM-CFG-LAN and HMW-LGW-O-DR-GS-EU gateway hardware. Support for e.g. the GPIO-based RF modules (RPI-RF-MOD, HM-MOD-RPI-PCB) is currently under development (see #1087).
  • implemented basic support to run RaspberryMatic in Docker or Open Container Initiative (OCI) based environments. Now, RaspberryMatic can run in existing amd64, aarch64 or armhf environments (e.g. Linux, Windows, etc.) on which Docker can be installed and used to run virtual appliances (cf. documentation, #786, @angelnu).
  • added basic support for installing the new RaspberryMatic docker implementation in Kubernetes/K8s driven environments including integration of the respective Helm Charts on ArtifactHub for installing it in a package manager type of fashion. (cf. documentation, @angelnu).
  • Added support for the HB-RF-ETH adapter PCB allowing to connect a RPI-RF-MOD/HM-MOD-RPI-PCB via Ethernet/LAN to RaspberryMatic (cf. https://homematic-forum.de/forum/viewtopic.php?f=76&t=60150). This PCB – kindly developed by @alexreinert – allows to put the required HomeMatic/homematicIP RF module somewhere in the local network and connect it to RaspberryMatic via its ip address. For the basic setup in RaspberryMatic, a new config file (/etc/config/hb_rf_eth) have to be created containing the local ip address of the running HB-RF-ETH. After reboot RaspberryMatic should then automatically try to connect to the HB-RF-ETH using it as the respective RF module gateway (#873).
    Please note: Support for the HB-RF-ETH is still experimental. Due to development dependencies, the kernel driver and the firmware of the HB-RF-ETH have a strong dependency. Therefore, any future firmware update applied to the HB-RF-ETH should be carefully cross-checked to the used RaspberryMatic version and the used kernel driver version. Thus, the hb-rf-eth kernel driver in this version is based on 1.14, which is known to be compatible up to HB-RF-ETH firmware version 1.2.9.

CCU/HomeMatic service changes:

  • updated OCCU version to 3.55.10-2 integrating full compatibility to the CCU3 3.55.10 firmware which comes with the following minor changes:
    • some config parameters of HomeMatic or homematicIP devices could not be edited correctly.
    • correction of the default config values of the HmIP-SCTH230.
  • integrated support for the HB-RF-ETH in the Monit-Watchdog. Now a WatchDog alarm will be automatically raised as soon as the HB-RF-ETH is identified as not running for more than 13 seconds.
  • enabled Adapter.Local.Device.Enabled in case a RPI-RF-MOD is used. This will bring up an additional device for the RF module which will allow to show up the DutyCycle and CarrierSense parameters.
  • added a Carrier Sense monitoring. Now, if an RPI-RF-MOD, HmIP-CCU3 or HmIP-HAP device is found to be present its CARRIER_SENSE_LEVEL parameter is queried and in case it reaches >80% a warning is added to the syslog. Furthermore, if the carrier sense level reaches >= 98% a "CarrierSense-Alarm" is triggered so that users are notified.
  • updated generic_raw_uart package to lastest master commit.
  • updated detect_radio_module tool to latest version potentially fixing issue in recognition of modules.
  • fixed /bin/hm_autoconf to use latin1/iso-8859-1 encoding to be more compatible to ReGaHss internals.
  • modified the DutyCycle display and monitoring by adding support to show the DutyCycle of HmIP-HAP gateways on the main start page and also adapted the used progress bar class with a more reliable class displaying the bar with correct values and to display DC bars for up to 15 gateways. Furthermore, DC alarms will also be triggered now for the HmIP-HAP and also the availability of HmIPW-DRAP gateways will now be monitored and an alarm will be triggered in case an associated HmIPW-DRAP is not reachable anymore (#1019, #605, @jp112sdl).
  • fixed the multimacd Monit-WatchDog check to use /var/etc/multimacd.conf rather than /dev/eq3loop.
  • implemented a new mechanisms to set a custom storage path for e.g. storing the diagrams and nightly backup in a user configurable path. Now users can set an own path in /etc/config/CustomStoragePath which should be used as a storage. This should allow to specify, e.g. a network path or a path on an external storage drive, which is not as problematic as storing this regularly changed data on a microSD card device. Thus, by configuring this custom storage path, no external USB media is necessary anymore (#914).

WebUI changes:

  • modified 0088-WebUI-Fix-MissingJSONMethods WebUI Bugfix Patch to include another missing JSON method file (/www/api/methods/ccu/getversion.tcl) which prevented the CCU.getVersion JSON API method to work correctly (#1123).
  • modified 0097-WebUI-SetSysvarValueByUser WebUI patch and integrated a fix when trying to modify the content of system variables so that the reserved ' and \ characters are properly stripped now. (#1111, @jp112sdl).
  • modified 0001-RaspberryMatic WebUI patch to not use top.window.location.href but use window.location.href instead. This should allow to have the RaspberryMatic WebUI more easily embedded in framed environments on other pages.
  • added new 0110-WebUI-Fix-cp_software-Typo WebUI bugfix patch fixing a typo in cp_software.cgi (cf. eq-3/occu#110).
  • added new 0109-WebUI-Fix-SystemLanguageDefaultNames WebUI bugfix patch which fixes issues with just internally used ${...} placeholders being exported to the external APIs (e.g. XML-RPC, JSON-RPC, ReGa-scripting, etc.). This issue is known as "Klarnamenbug" and is now fixed by letting users select a global "system language" that is then used once to rename these internal placeholders (rooms, functions, system variables) to the user selected system language (#1070, @jp112sdl).
  • modified 0001-RaspberryMatic and 0012-WebUI-RecoveryButton WebUI patches to disable unnecessary WebUI features if running in a Docker/OCI environment (#1093).
  • modified 0039-WebUI-Fix-Style-Glitches WebUI patch to use a <br/> in the "Baumstruktur öffnen" Button for a more smooth display.
  • added new 0108-WebUI-ShowInvisibleHmIPChannelsInPrograms WebUI patch which allows to select non-visible HmIP channels in programs (in the condition and activity part) to be more in line to the official WebUI documentation.
  • added new 0107-WebUI-Fix-rgbw.fn-CheckMetaDataIsNotNULL WebUI bugfix patch which fixes ScriptRuntimeError messages when showing the config elements of RGB color chooser elements (#1052, @jp112sdl).
  • added new 0106-WebUI-Improvement-TreatOPERATOR_NONEasOPERATOR_OR WebUI patch which allows to correctly edit WebUI programs of internal system programs as well (#462, @jp112sdl).
  • added new 0105-WebUI-Fix-DeviceInBoxHmIPOnly WebUI bugfix patch which fixes false error messages when only using a HmIP-RFUSB, thus only having HmIP teach-in mode available. There, the teach-in mode always complained about not being able to start
    the old BidCos-RF (HomeMatic) mode (#372).
  • added new 0104-WebUI-Add-AssignFunctionAndRoomToHmRFChan0 WebUI patch which will display all channel :0 maintenane channels per default to allow to assign it to rooms and functions more easily (#976, @jp112sdl).
  • added new 0102-WebUI-Fix-TrailingNewLineInFirewallIPTextarea WebUI Bugfix Patch which ensures that within the IP address text area whitespaces are trimmed accordingly (#1038, @jp112sdl).
  • added new 0101-WebUI-Fix-JSON-describe WebUI Bugfix Pat...
Read more

RaspberryMatic 3.55.5.20201226

26 Dec 10:04
8c0bf8d
Compare
Choose a tag to compare

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 (home-assistant/operating-system#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 (home-assistant/operating-system#1060).
  • updated generic_raw_uart package to lastest master commit.

👪 Contributors (alphabetically):

📝 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:

Read more

RaspberryMatic 3.53.34.20201121

21 Nov 12:18
686a4e6
Compare
Choose a tag to compare

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 bl...
Read more

RaspberryMatic 3.53.30.20201024

24 Oct 13:03
1964470
Compare
Choose a tag to compare

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):

📝 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:

Read more

RaspberryMatic 3.53.30.20200919

19 Sep 15:14
44fc49e
Compare
Choose a tag to compare

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 edi...
Read more

RaspberryMatic 3.51.6.20200621

21 Jun 08:29
34bd6d5
Compare
Choose a tag to compare

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):

📝 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: