Skip to content

Releases: jens-maus/RaspberryMatic

RaspberryMatic 3.59.6.20210911

11 Sep 10:58
13702eb
Compare
Choose a tag to compare

This is release 3.59.6.20210911 of RaspberryMatic which is a maintenance 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:

  • partly reintroduced the use of an own 64bit version of libNRJavaSerial because the hmip-copro-update.jar tool does not come with an on aarch64 version yet. So until eQ3 provides an updated hmip-copro-update.jar tool we ship RaspberryMatic with an own copy of libNRJavaSerialv8.so again. This fixes an issue where RaspberryMatic was not able to update the firmware of a RPI-RF-MOD/HM-MOD-RPI-PCB rf module (#1387).
  • reworked /bin/triggerAlarm.tcl to allow to generate alarm variables as pure internal alarm variables which will hide them from the standard WebUI, but make it still usable as full-fledged alarm variables. This finally allowed to rework all our triggerAlarm.tcl uses throughout different places (monitrc, cronBackup.sh, updateDCVars.tcl, etc.) so that for every WatchDog alarm a dedicated alarm variable with the name scheme "WatchDog: XXXXX" is generated where XXXXX is specific to the individual alarm. This should make the whole WatchDog alarm mechanisms more flexible (#1321).
  • implemented a new monit-based watchdog check which in case of using a RaspberryPi4 regularly checks if an onboard USB3 port (the blue ones) is used together with a rf module (RPI-RF-MOD/HM-MOD-RPI-PCB) directly connected to the GPIO bus and outputs a WebUI alarm if identified. This is motivated by the common problem that a RaspberryPi4 is known to produce significant rf interference which could negatively affect the rf communication and thus a user have to be warned that the combination of a Pi4+USB+GPIO is not a good idea. However, for use cases where a user wants to disable that regular watchdog check a file /etc/config/rpi4usb3CheckDisabled can be generated (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=69421).
  • integrated a fix for /bin/ha-proxy.js which moves the \u0027 string out of the character class (where it was wrong). This should integrate a fix for getting the general file upload via fileupload.ccc running correctly in an HA add-on environment (#1368).
  • updated generic_raw_uart package to latest 1.20 version.
  • removed invalid https -> http redirection in NEOserver addon config page index.html which is anyway not required since our addon patches make it fully https compatible already (#1382).
  • instead of checking for the process id file of ha-proxy we check for HM_HAPROXY_SRC in /var/hm_mode so that the firewall is setup correctly in the HA addon use-case also in the early phase. In addition, we use NET_ADMIN in config.json of the HA addon so that iptables can be used within the HA add-on docker container.
  • moved the CustomStoragePath initialization to the S62HMServer startup script so that using a network path should also work when specified in the /etc/config/CustomStoragePath config option (#1377).

WebUI changes:

  • added new 0134-WebUI-Add-ShowInternalSysvars WebUI patch which adds functionality that internal system variables can be listed like normal system variables, but will carry a grey background color to allow to more easily distinguish them from the normal ones (#1400, @jp112sdl).
  • optimized the 0072-WebUI-Fix-hm_autoconf WebUI patch to use ID_GW_SYSALARM and ID_GW_SYSSERVICE rather than fixed integer IDs.
  • added a new 0133-WebUI-Fix-AlarmSysVarInternal WebUI patch which combines the EnumIDs() and EnumEnabledInternalIDs() of the oUser.UserTempViewIDs() usage when displaying alarm variables. This is necessary because the UserTempViewIDs are IseIdArrays for which EnumIDs() does unfortunately not return sysvars which are flagged as "internal". This prevented the alarm display from showing internal alarm variables.
  • added a new 0132-WebUI-Fix-UnitDisplay WebUI bugfix patch which will make sure that between a value and its unit a whitespace is enforced by using the URL code  . This should make the value+unit display in the WebUI more consistent.
  • added another improvement for the 0119-WebUI-Fix-ProofAndSetValue WebUI patch which fixes broken floating point / ProofAndSetValue use on the COND_TX_THRESHOLD_LO and COND_TX_THRESHOLD_HI values for HmIP-based powermeter devices like the HmIP-PSM. (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&p=677137#p677136).
  • added new 0131-WebUI-ShowAddonUpdatesOnStartpage WebUI patch which will inform a user on the startpage if there are any pending add-on updates available (#1384, #1385, @jp112sdl).
  • improved 0119-WebUI-Fix-ProofAndSetValue WebUI patch which should fix another issue with the ProofAndSetValue() function use for certain device types accepting floating point numbers with a certain precision (#1383, @Baxxy13).
  • added new 0130-WebUI-Fix-ChannelSysVarPrefix WebUI bugfix patch which fixes the incorrect prefix of "Acoustic/Optic signal" for system variables associated with such device channels (#1376).
  • reworked 0124-WebUI-Fix-ShowMultipleSpacesInSysVar to use a CSS style statements to preserve each white space when showing the content of a system variable rather than replacing them via   statements. Using CSS style methods should prevent inline html code from getting mixed up by the   statements (#1375).
  • reworked 0042-WebUI-HeatingControl-BatteryValveState WebUI patch to only display a single valve level ui element for HmIP heating devices supporting the HEATING_CONTROL_HMIP.LEVEL datapoint (#1374).
  • adding new 0127-WebUI-Sort-FirmwareOverview.patch WebUI patch which sorts the list of device firmware updates by device-type and device-address (#1370, @Maik2208).
  • adding new 0129-WebUI-delete-debuggingoutput.patch WebUI patch which removes invalid debug output in a heating group causing a empty popup to be displayed (#1371, @Maik2208).
  • added new 0128-WebUI-Fixing-Label-ControlPanel.patch WebUI patch which fixes the formatting of the english text on updating access points (#1369, @Maik2208).

Operating system changes:

  • Added a patch to fix a u-boot issue with RaspberryPi hardware causing troubles when enumerating USB devices (required when booting from USB) (cf. home-assistant/operating-system#1529).
  • increased vm.min_free_kbytes to 16384 for the RaspberryPi platform to increase stability in memory critical situations (cf. home-assistant/operating-system#1525).
  • modified all ln -sf XXX command uses with ln -sfn XXX to make sure symlinks are properly deferred so that they can be replaced rather than the link target. This should fix certain issues in replacing existing symlink (#1377).
  • added a check and execution of /usr/local/etc/rc.prelocal right in the startup phase of S55InitAddons which will be executed right before all major homematic services are started but after the network should be up. This should solved the need for having a user definable startup script where users could mount external drives or executed utilities right before the major homematic services are started (#1377, https://github.com/jens-maus/RaspberryMatic/wiki/Experten-Features#eigene-aktionen-w%C3%A4hrend-des-bootvorgangs).
  • use CONFIG_OF_BOARD for all RaspberryPi platforms so that the board's own device tree overlay is used instead. We had to, however, add CONFIG_REQUIRE_SERIAL_CONSOLE=n to the uboot_defconfig files as otherwise u-boot ends up in an endless loop in case the rpi-rf-mod.dtbo changes the compatible entry of the uart0 entry and thus would leave no serial console for u-boot (#1378).
  • fixed xe-daemon startup which was not putting the daemon to background and thus stalled the bootup (#1381).
  • in case no HTTP_CONTENT_LENGTH env variable exists we using CONTENT_LENGTH instead in the file upload cgi scripts we use in the recovery system as well as in the main system. This fixes a problem where in case of running RaspberryMatic as a HA add-on the ingress routed WebUI did not allow to upload files, thus resulted in not being able to install CCU addons (#1368).
  • added more Intel WiFi firmware (IWLWIFI) files to support more different intelNUC hardware models.
  • integrated a potential u-boot fix when a USB keyboard is connected and issues are observed upon bootup. (cf. home-assistant/operating-system#1541)
  • reduce the -t XX timeout option when calling udhcpc for obtaining an IP address so that it only waits up to ~1 min for an IP address and then continue in background. This should significantly increase the bootup times in cases where no DHCP is present or does not have a free IP address left.
  • updated u-boot for rpi0 and rpi2 to latest 2021.04 as boot works now with the latest version due to the recent fixes with CONFIG_BOARD support in uboot_defconfig.
  • updated Mediola NEO Server to latest 2.7.1
  • updated RaspberryPi kerne...
Read more

RaspberryMatic 3.59.6.20210807

07 Aug 15:25
4aaff46
Compare
Choose a tag to compare

This is release 3.59.6.20210807 of RaspberryMatic which is a maintenance 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:

  • large overhaul of the general RaspberryMatic firmware update procedure. Now the vast majority of the firmware update work is performed within the recovery system rather than performing unarchiving, checksum checks, etc. in the general WebUI. This should solve all kind of firmware update issues which popped up during the last few released updates (#1336, cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=67419).
  • fixed all obsolete (thus broken) references to our previously supplied copy (and now non-exsisting) of libNRJavaSerialv8.so for all aarch64-based platforms which resulted in a crashing HMIPServer process upon restoring a backup (#1333).
  • implemented a fio-based disk performance check for the firmware update process which will output performance data of the used storage device (sd card, etc.) and also may give a hint if the performance might result in lengthy firmware update procedures. This fio-based performance check is largely based on the raspberry pi agnostics test, which also uses fio for deriving sd card related performance measure. (cf. https://github.com/raspberrypi-ui/agnostics)
  • fixed an issue in createBackup.sh where it didn't consider the case that the tar command to archive the /usr/local part needs to be aware of situations where files may change during backup generation (#1345).
  • updated integrated NEO server to latest 2.7.0 version.

WebUI changes:

  • fixed a broken link in the help pages linking to the official RaspberryMatic documentation (#1358).
  • added a new WebUI bugfix patch which fixes the issue that the help page was not accessible anymore from the logout page (#1358).
  • integrated a new performance fix within the 0111-WebUI-Fix-Translation-Performance WebUI patch which should improve the performance of displaying the device list (#1355, #1354, @theimo1221).
  • integrated a fix for the 0031-WebUI-Fix-FileUpload WebUI patch not working correctly when cancelling the EULA dialog.
  • we use /dev/shm as the primary upload directory and only use the on-disk /usr/local/tmp in case /dev/shm is full. This should speed up any WebUI-based data upload and also reduce data write operations to the underlying storage (e.g. sd card).
  • general graphical image file and logo overhaul including rework of the 0036-WebUI-AppleIcons WebUI patch to more generally improve the favicon use in the WebUI.
  • added a new 0125-WebUI-ChannelHighlights WebUI patch which will bring up more device channel highlights in the device list using DEV_HIGHLIGHT statements in webui.js (#1207, @Maik2208).
  • implemented a change to the 0122-WebUI-ProgramExecutionWithConditionCheck WebUI patch which allows to toggle the active/inactive button in case the login is an Admin session. (#1292, @Maik2208).

Operating system changes:

  • fixed loading the base device tree for the tinkerboard which did not use a valid test statements, thus didn't load the "tinker-s.dtb" file while it should have done in case of a eMMC boot.
  • updated Java JRE to latest jdk8.0.302 LTS versions.
  • updated upstream Linux kernel to 5.10.55 for ova, intelnuc, odroid and tinkerboard platform.
  • added missing bluetooth firmware for RTL_87XX and RTL_88XX.
  • updated the RaspberryPi related WiFi firmwares to the latest versions available.
  • updated the RaspberryPi related EEPROM firmware versions to latest stable pieeprom-2021-07-06.bin version.
  • updated the ODROID hardkernel kernel patches to latest versions fixing potential crash issues with an ODROID-N2. (home-assistant/operating-system#1476)
  • integrated improved XenServer support for the ova platform by modifying kernel configs and adding xe-guest-utilities as a dedicated buildroot package (cf. home-assistant/operating-system#1459).
  • added BR2_PACKAGE_WIRELESS_REGDB package which will generate a corresponding regulatory.db file the kernel can use for setup of wireless connections. In addition, we drop the legacy CRDA functionality in the kernel since regulatory.db is used since kernel 4.15+ (cf. home-assistant/operating-system#1452).
  • increased server.max-read-idle and server.max-write-idle to 1200 seconds (20 min) in lighttpd.conf so that large file uploads/downloads will not run into a webserver timeout on slow hardware platforms or slow SD card environments anymore (#1336, cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=67419).
  • added a Content-Length header check to lighttpd.conf which will allow http post/put requests with transfer-encoding: chunked to be processed correctly. This seems to finally allow to use the new ingress_stream option in the HA add-on config file and thus make ingress-based large file upload > 16MB possible (cf. https://redmine.lighttpd.net/issues/2156, #1294, home-assistant/supervisor#2950).
  • increased the default timeout for ha-proxy.js so that large file downloads within the ingress routed WebUI will not run into gateway error messages because our ha-proxy timed out. This should fix large file backup downloads from within our HA add-on.

👪 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.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