Releases: jens-maus/RaspberryMatic
RaspberryMatic 3.47.18.20190918
This is release 3.47.18.20190918 of RaspberryMatic which is a minor maintenance release including the following new features, minor bugfixes and security fixes:
🚧 Changes:
CCU service changes:
- updated OCCU firmware to 3.47.18-1 version with full compatibility to the CCU3 3.47.18 firmware which comes with the following changes:
- added new
ReGaHss
logic engineR1.00.0388.0213 (Sep 6 2019)
version with the following changes:- fixed delayed State() variant to directly execute a State() command without involving the scheduler if the supplied delay time is <= 0.
- fixed bug in delayed State() function which didn't work under all circumstances due to a misconverted value conversion.
- general stability improvements in the homematicIP service daemon.
- improvements in the homematicIP XML-RPC interface which could get stalled due to external clients suddenly not be reachable anymore.
- added new
- integrated updated
generic_raw_uart
kernel module package to newer version fixing bogus "unknown interrupt iid 0c" messages when used with a ASUS Tinkerboard.
WebUI changes:
- enhanced MenuSortedIcons patch to be able to use the user-configurable
color.map
file to override the menu sorting and thus be able to sort the menu items using corresponding css statements (#709, @ptweety). - fixed minor sorting bug in new sorted menu webui patch (#695, @ptweety).
- modified MenuSortedIcons patch to also use plural terms for the system variables menu items in german and english translations (#696, @ptweety).
Linux operating system changes:
- updated buildroot/Linux version to latest 2019.05.2 version.
- fixed missing HDMI console output for RaspberryPi4 target and changed the default frame buffer device for all RaspberryPi targets to use
CONFIG_FB_SIMPLE
instead. - updated Linux kernel version to 4.19.72 for ASUS Tinkerboard and 4.19.71 for RaspberryPi including the corresponding RaspberryPi firmware files.
👪 Contributors (alphabetically):
📝 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:
-
RaspberryPi4 Model B:
📦 RaspberryMatic-3.47.18.20190918-rpi4.zip
SHA256: f3e8fc3aa14545b25bc7b3777296f2011baf938944101924ae80c7b734b67a33 -
CCU3, ELV-Charly, RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
📦 RaspberryMatic-3.47.18.20190918-rpi3.zip
SHA256: ab9d29c23ce2ec8f4cfdd8f5fe41af5b1684a40ee1a80d25514d0a410ff5f6a3 -
RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
📦 RaspberryMatic-3.47.18.20190918-rpi0.zip
SHA256: f9a10c969fba6f91ce8d6cbba950bcedae9f26780489d1cc5ca8eca6ffb94296 -
Tinker Board S, Tinker Board:
📦 RaspberryMatic-3.47.18.20190918-tinkerboard.zip
SHA256: 4736aef1389eeb5937d617f52bd6fd4f3b168a218dc798f65cd8f2fed062e1b3 -
CCU3 (only required once for switching from original CCU3 firmware to RaspberryMatic):
📦 RaspberryMatic-3.47.18.20190918-ccu3.tgz
SHA256: 2d99d2de4a0c45b0cc7939badf3d3fda1741dc27f87de6a7e4ab403f5168e9d3
RaspberryMatic 3.47.15.20190831
This is release 3.47.15.20190831 of RaspberryMatic which is a major release including the following new features, minor bugfixes and important security fixes:
🚧 Changes:
CCU service changes:
- updated OCCU firmware to 3.47.15-5 version with full compatibility to the CCU3 3.47.15 firmware which comes with the following changes:
- Changes in the WebUI were not saved anymore upon logoff from the WebUI.
- RF-based actors for registering energy consumption (
HM-ES-PMSw1-Pl*
) showed energy values with "NaN" rather than the actual consumption numbers. - The config dialogs for channel 3 of the
HM-MOD-EM-8Bit
(Version 1.0) were not displayed. - The duty cycle display on the main page of the WebUI could show incorrect values if additional LAN gateways were connected to the CCU.
- added new
ReGaHss
logic engineR1.00.0388.0212 (Aug 28 2019)
version with the following changes:- if a system/esp url is accessed without a valid session id the web browser will be instructed to redirect to the login.htm instead. This should make these esp pages more secured to be accessed without a valid session id.
- fixed several security issues regarding potential remote code execution issues where processing POST requests even worked without a valid session.
- fixed CVE-2019-9583 where certain url redirections to the login page still ended up in exposing session ids in Location http response headers.
- fixed CVE-2019-9726 which allowed to display the content of any arbitrary file on the filesystem due to a NUL-byte vulnerability in the web server.
- fixed CVE-2019-14474 where an empty
Call("")
execution caused ReGaHss to crash unexpectively. - fixed bug where upon session clearance a warning was output even for empty session ids, thought the session was most probably cleared already.
- fixed a bug in the new
State()
function with delay routines where due to missing ISE value conversion the delay functionality didn't work for HSSDP objects. Now the routines try to convert the supplied ISE value to the appropriate type or returns false if the value conversion didn't work and thus theState()
call couldn't be executed as expected (#659). - fixed invalid "pointer is null" error output in case no channel dps should be cleared.
- changed monit configuration to check for an existing
/etc/config/internetCheckDisabled
file which will cause the regular monit-based internet check to be disabled and thus not cause any alarm message if the internet connection is lost for a certain amount of time (#664). - raised the monit-based alarm threshold to 5 minutes for warning about high cpu/memory usage so that the system will warn/alarm only if the cpu/memory is exhausted for a longer period of time.
- changed the daily cronBackup to be executed with a processing "nice" value of 10 so that other more important processes have higher cpu priority.
- updated embedded CloudMatic CCU Add-on package to latest version with additional sessionID-based security fixes applied.
- updated embedded Mediola NeoServer CCU Add-on package to version 2.4.6.
WebUI changes:
- integrated a new WebUI patch to improve the security in session clearance upon a WebUI logout (0060).
- integrated a new WebUI patch sorting the standard WebUI menu items alphabetically and adding dedicated menu icons as well as displaying the favorite list on the main page alphabetically sorted (#663, #665, @jp112sdl, 0061).
- enhanced the DutyCycle display WebUI patch to display up to 5 additional LAN gateway connections (#670, 0057).
- slightly enhanced the DutyCycle display WebUI patch to display more nicely (#674, #675, @ptweety, 0057).
- fixed a bug in the improved script editor WebUI patch where the editor window was automatically horizontally resized if the content in the editor got too large (#671, 0046).
- fixed a bug in the ESP Security WebUI patch which prevented the initial WebUI installation wizard to correctly save the provided Admin password (#677, @quickmic, 0052).
- reworked ESP Security WebUI patch to contain more robust fixes for certain ESP related security issues and also integrated some more ESP security fixes in
programs.fn
which should fix CVE-2019-14475 and CVE-2019-14473 (0052).
Linux operating system changes:
- added support for new RaspberryPi4 Model B hardware supporting all three different 1GB, 2GB and 4GB models. Please note, that due to RaspberryPi firmware limitations the HDMI console will currently not show any kernel bootup messages and that the HDMI port can not be automatically powered off to reduce RF interferences.
- integrated USB ethernet gadget mode for RaspberryPi Zero and RaspberryPi Zero W (requires
/etc/config/usbGadgetModeEnabled
) which allows to connect the USB port directly to a separate Linux/macOS/Windows system and use this connection as an alternative Ethernet connection (eth0) to connect to the internet (#648, #216, @fhirschmann). - updated Linux kernel version to 4.19.69 for ASUS Tinkerboard and 4.19.68 for RaspberryPi including the corresponding RaspberryPi firmware files.
- updated embedded Java version to latest stable 1.8.0_222-8.40.0.178.
- updated the embedded Bluetooth firmware files for RaspberryPi to the latest official versions.
- streamlined all U-boot settings throughout all different hardware platforms to unify the feature sets accordingly.
- enabled lz4 compression for kernel images and cpio compression in all defconfig files. This should make uncompression (thus bootup) slightly faster since lz4 should perform way better than standard gzip.
- disabled
max-worker
setting in globallighttpd.conf
to potentially fix issues with large file uploads.
👪 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:
-
RaspberryPi4 Model B:
📦 RaspberryMatic-3.47.15.20190831-rpi4.zip
SHA256: 6a4fc26f228e5dd694bcec2901e589bebf0c0ab1941273891ed331c16cc176f8 -
CCU3, ELV-Charly, RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
📦 RaspberryMatic-3.47.15.20190831-rpi3.zip
SHA256: 05e4eb24097616588dc05cfccfe268fda9e73714d3cab4020c4394c0ac6792d9 -
RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
📦 RaspberryMatic-3.47.15.20190831-rpi0.zip
SHA256: 9bbb8b0872b1de10c91abf55b6f071047e89bdc8b2a90d728348860274ee7319 -
Tinker Board S, Tinker Board:
📦 RaspberryMatic-3.47.15.20190831-tinkerboard.zip
SHA256: ad169984be70f7473da99bab97f143dbccf703a8fca4299e9a1516ca11ef0e0d -
CCU...
RaspberryMatic 3.47.10.20190713
This is release 3.47.10.20190713 of RaspberryMatic which is a major feature release including the following new features and minor bugfixes:
🚧 Changes:
General changes:
- updated OCCU firmware to 3.47.10-4 version with full compatibility to the CCU3 3.47.10 firmware which comes with the following changes:
- Integrated the following new Homematic devices:
HmIP-ASIR-2
,HmIPW-STHD
,HmIPW-STH
,HmIPW-WTH
,HmIP-FALMOT-C12
,HmIPW-FAL24-C6
,HmIPW-FAL230-C6
,HmIPW-FAL24-C10
,HmIPW-FAL230-C10
,HmIP-MIO16-PCB
. - Channels of the virtual remote control (
HmIP-RCV-50
) could not be deleted from rooms and maintenance groups. - When adding a direct connection to a
HmIP-MP3P
from a wind sensor a color selection was displayed rather than a sound selection. - The button "Geräte-Firmware" on the page "Einstellungen" was renamed to "Geräte-Firmware-Übersicht".
- Integrated a WebUI patch to prevent remote HTML injections during Add-on version requests.
- Fixed a problem where under certain circumstances a session ID could be generated without a valid login.
- The displayed amount of rain for a
HmIP-SWO-*
were accidentally doubled on each CCU restart. - JSON-API: The access level for
get-/setMetadata
calls were now set to GUEST and ADMIN accordingly. - A dialog was added for a
HmIP-MP3P
to configure playlists within WebUI programs. - Integrated a WebUI patch to prevent the web server from sending any
Server:
response header. - In direct connections between a motion sensor and a switching/dimming actor the actor should not be switched off anymore if there is still identified motion in place if the actor reacts upon ambient light brightness.
HM-ES-TX-WM
- Integrated the changed behavior if firmware version > 2.x.y is used and which comes with SML protocol compatibility to read out electric smart meters. With firmware version 2.x.y only ES-IEC sensor is supported anymore and no IR, Gas or LED sensor can be used with a HM-ES-TX-WM device.- Added new functionality (week programme) for
HmIP-MIOB
. - Added new functionality (MIOB switching for heating/cooling support) for all
HmIP-FAL
devices. - Added automatic transmission of location and timezone data to supported HmIP devices with astro functionality included.
- Added some security relevant HTTP response headers to generally improve the WebUI security.
- Integrated the following new Homematic devices:
- updated Linux kernel version to 4.19.58 for ASUS Tinkerboard and to 4.19.57 for RaspberryPi including the corresponding firmware files.
- updated U-boot boot loader version to 2019.01 version coming with Buildroot.
- updated buildroot/Linux version to latest stable 2019.05.1 version.
- integrated all third-party changes from https://github.com/alexreinert/piVCCU/tree/master/kernel where
eq3_char_loop
andrx8130
was modified and dts changes proposed. Also adapted the RTC clock setup accordingly. Furthermore we use the latestgeneric_raw_uart
sources for upcoming builds now (@alexreinert). - changed the DutyCycle system variable update interval from every 3 minutes to every minute to be in sync with the new WebUI way of displaying the DutyCycle using a progress bar.
- slightly improved
/dev/urandom
random number initialisation by executing a helper tool signalling the kernel that there is somewhat more entropy available after having seeded urandom correctly.
WebUI changes/fixes:
- integrated a new WebUI patch to display more than a single DutyCycle ProgressBar on the WebUI start page where the regularly queried DutyCycle values of all interfaces are extracted using the
updateDCVars.tcl
helper script and then used to display the progress bars (@jp112sdl, https://homematic-forum.de/forum/viewtopic.php?f=65&t=51583&start=70#p517536). - integrated a smoother timezone/utcOffset/utcOffsetDST calculation routine which doesn't require to maintain an own utcOffset list in addition to the anyway mostly obsolete timezone list implemented in
cp_time.cgi
. Now the utcOffset and position sync functionality in latest WebUI doesn't require this utcOffset list anymore while allowing to set way more time zones. - integrated an upstream WebUI fix for incorrect "NaN" displays in the WebUI for energy/power meters (@jp112sdl, https://homematic-forum.de/forum/viewtopic.php?f=65&t=51583&p=517276#p517276).
- integrated a new WebUI fix for preserving the active/inactive state of WebUI programs when editing them (#235, @jp112sdl).
Bugfixes:
- fixed
checkHmIPdevices.sh
helper script to use a better search pattern and only move awayap
/apkx
files if the regadom already contains HmIP-RCV devices which means that there are references to the RF module at all. This should fix issues where people were coming from earlier versions of RaspberryMatic not containing HmIP-RCV devices already and thus theap
/apkx
of the GPIO rf modules were accidentally moved away leaving no HmIP devices in the WebUI at all. - fixed another bug in
checkHmIPdevices.sh
which accidentally moved away*.ap
and*.apkx
files from HmIPW-DRAP devices. Now it will checkmetaData.conf
for a reference to a HmIPW-DRAP and if it identifies it it will skip the found SGTIN (#655). - integrated a workaround for a problem with the Mediola NEO Server add-on web configuration pages which could not be accessed if the WebUI itself was accessed via https.
- added
nofail
mount options where appropriate so that upon startup the system doesn't complain if a certain filesystem is missing during boot. - changed the syslog file limit for
/var/log/messages
to automatically rotate rather than potentially filling the tmpfs until the logrotate daemon rotates it once per day due to excessive logging settings in the WebUI.
👪 Contributors (alphabetically):
📝 Support:
For support on installation and help please visit the following (german speaking) help fora:
RaspberryMatic - Installation/Update Guide 🇩🇪
RaspberryMatic - Forum 🇩🇪
📦 Download:
The following installation archives (*.zip
files) can be downloaded for selected hardware platforms (including a *.tgz
update archive to upgrade from a CCU3 firmware to RaspberryMatic). To verify their integrity a sha256
checksum is listed as well. Please upload these zip files using the WebUI-based update mechanism available:
-
CCU3, ELV-Charly, RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
📦 RaspberryMatic-3.47.10.20190713-rpi3.zip
SHA256: 69a92a611cd1ac02e0a754d0069ce7a21d01291d875c4e1182ecfd381a70598f -
RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
📦 RaspberryMatic-3.47.10.20190713-rpi0.zip
SHA256: f0ff3dcf3398c4c712a0345068c3a6bfe3e63d7751398cf65adbbd4c02e4345f -
Tinker Board S, Tinker Board:
📦 RaspberryMatic-3.47.10.20190713-tinkerboard.zip
SHA256: 6dec97dded11992e91bba1ab20444a576c7674c5c1a0fe4806e8858e75867307 -
CCU3 (only required once for switching from original CCU3 firmware to RaspberryMatic):
📦 RaspberryMatic-3.47.10.20190713-ccu3.tgz
SHA256: 2c6b7f8a747381a6b48a0eeac6b4b3f14b484fbaf1588e1f8bb8d286bbb48db3
RaspberryMatic 3.45.7.20190622
This is release 3.45.7.20190622 of RaspberryMatic which is a feature release including the following new features and minor bugfixes:
🚧 Changes:
General changes:
- updated OCCU firmware to 3.45.7-5 version with full compatibility to the CCU3 3.45.7 firmware and incorporating the following changes:
- added new
ReGaHss
logic engineR1.00.0388.0208 (Jun 16 2019)
version with the following changes:- modified
State()
scripting function to be able to specify a delay time in milliseconds which will delay the set operation for the specified amount of time. In addition, with a third boolean parameter a user can disable the retriggering/cleaing of an already scheduled event (#262). - modified scheduler to work with milliseconds precision and also changed the tick count routines to ensure that the queried time is not influenced by time changes (manual, NTP).
- a time to query via
SunAzimuth
/SunElevation
/SunsetTime
/SunriseTime
can now be specified as an additional parameter to these system functions so that users can now use these functions with a specific time. - implemented a new
rega.conf
setting (SchedulerListSize
) for changing the maximum number of scheduled events in the scheduler list and changed the default to 10000 due to sufficient performance. - fixed session ID generation to only generate a new session ID for selected pages like
index.htm
andlogin.htm
and make sure to prevent any further sessionID generation for other pages.
- modified
- added new
- added a new
checkHmIPdevices.sh
helper script which will be automatically started before startingHMIPServer
and which will try to check if a*.dev
,*.ap
,*.apkx
file should be moved away into an "old" folder so that upon HMIPServer startup only device files which are actually correctly referenced in the global homematic.regadom database are present (#613). - added explicit detection of HmIP-RFUSB-TK so that only compatible firmware updates will be applied to it (#641, @alexreinert).
- added soft-link
/etc/rc.local
pointing at/usr/local/etc/rc.local
so that a user can more easily create a rc.local file for own shell commands being executed during startup. - modified standard
syslogd
options to not enforce any maximum logfile length because we are relying on logrotate to actually rotate all logfiles to keep the memory clean/slim. In addition the standard logrotate configuration will now take care of all*.log
files no matter where they are coming from. - updated integrated Mediola NEO server Addon to version 2.4.5.
- updated buildroot/Linux version to latest stable 2019.05 version.
- updated Linux kernel version to 4.19.51 for ASUS Tinkerboard and to 4.19.42 for RaspberryPi (raspberrypi-kernel_1.20190517-1) including the corresponding firmware files.
- updated Java version to latest stable 1.8.0_212-8.38.0.163.
WebUI changes/fixes:
- fixed a bug in the new sticky filters WebUI patch which resulted in some filter to lose their red signaling color (#617, @psi-4ward).
Bugfixes:
- fixed bug in the global logrotate configuration where a log file rotation was always force each night rather than only be performed once the log file reached a certain limit.
- fixed
dtoverlay
anddtparam
command use by integrating missinglibfdt
support in the RaspberryPi builds (#648, @fhirschmann)
👪 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:
-
RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
📦 RaspberryMatic-3.45.7.20190622-rpi3.zip
SHA256: 8bb70bcd049565f5184afbb2a926e3d6bd9d431c0ea72a2e6643ce086142386a -
RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
📦 RaspberryMatic-3.45.7.20190622-rpi0.zip
SHA256: f5ecd156d61af32786335c855ffe4f6f0b84062a20f29304af706cc737be62e9 -
Tinker Board S, Tinker Board:
📦 RaspberryMatic-3.45.7.20190622-tinkerboard.zip
SHA256: ee891b8f74ead3d101b48c13ae06e27a0ca6b61216b4b9e772c3961b3264abd4 -
CCU3 (Firmware Upgrade Archive):
📦 RaspberryMatic-3.45.7.20190622-ccu3.tgz
SHA256: e3b289d1baf8fa85af21b19743da4a3d9a0f3200ae2774dc30e59d1e311d97dc
RaspberryMatic 3.45.7.20190511
This is release 3.45.7.20190511 of RaspberryMatic which is a hotfix release fixing some important issues revealed in the previous update. This includes the following changes:
🚧 Changes:
Bugfixes:
- fixed bug in the
monit
configuration where thewlan0
check even triggered a reinit of thewlan0
interface if theeth0
interface was used and the/etc/config/wpa_supplicant.conf
file exists (#624). - fixed problem with certain Addons not working anymore due to too strict CSP response headers by temporarily disabling them again (#620, #619).
- fixed CloudMatic support by integrating an updated Addon version (v20190507) which should fix issues with the reverse proxy service not working with the latest RaspberryMatic versions (#589).
- integrated kernel fixes by having updated the Linux kernel for ASUS Tinkerboard to version 4.19.40.
👪 Contributors (alphabetically):
📝 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:
-
RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
📦 RaspberryMatic-3.45.7.20190511-rpi3.zip
SHA256: 8a03c490b39f6ade0d04d706b14083b2975ede1320f8ea21bdf35e20ed08f29a -
RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
📦 RaspberryMatic-3.45.7.20190511-rpi0.zip
SHA256: 73d2332f1a955cc436c2865cb658aca83454d08d22a27891ae46c2cdf109b663 -
Tinker Board S, Tinker Board:
📦 RaspberryMatic-3.45.7.20190511-tinkerboard.zip
SHA256: f4721eb4cb671f7a367b8aff4ed57da1cee01fdbb0f50ad8991b8b824b170521 -
CCU3 (Firmware Upgrade Archive):
📦 RaspberryMatic-3.45.7.20190511-ccu3.tgz
SHA256: e88a6dff4cc6a2e5d6c94acb04058e5293a0afa6e34c90f80b952eda493ff4b7
RaspberryMatic 3.45.7.20190504
This is release 3.45.7.20190504 of RaspberryMatic which is a feature release including the following new features and minor bugfixes:
🚧 Changes:
General changes:
- updated OCCU firmware to 3.45.7-4 version with full compatibility to the CCU3 3.45.7 firmware
- added new
ReGaHss
logic engineR1.00.0388.0207 (May 1 2019)
version which comes with the following changes:- fixed another minor timer module issue where during winter->summer dst change a periodic timer could have been executed twice with the same begin time. In addition, even timers outside the start/stop times of the dst change were incorrectly executed.
- fixed another issue in the begin time calculation of period timers which could result in unexpected segfaults under certain conditions.
- the history buffer size can now be specified/modified using
/etc/rega.conf
by specifying aHistoryBufferSize
setting. - implemented new
system.SunAzimuth()
andsystem.SunAltitude()
script functions which will return the current sun position in degrees relative to the current position and time. - integrated another time module fix where upon startup all periodic timers fired a single time even though their time didn't match the actual time they should fire.
- moved scheduler thread startup to be started earlier so that timer evaluations can be performed more early.
- fixed minor bug where in case a system variable was connected to a channel this reference wasn't cleared correctly upon removal of the channel/device (https://homematic-forum.de/forum/viewtopic.php?f=31&t=50077)
- the embedded web server of ReGaHss will not output any
Server:
response header anymore to reduce the probability to use search engines to find CCU installations insecurely connected via port forwarding. - fixed a bug in the astro day/night calculation routines where on a DST switch day from midnight till the switch time an incorrect sunrise/sunset time was returned.
- if any output is put to the console a timestamp will now be added and the output will be properly synchronized throughout the different used threads.
- updated buildroot/Linux version to latest stable 2019.02.2 version coming with only minor changes and important security fixes compared to the previous version.
- raised maximum number of history/protocol entries from 3000 to 10000 so that external applications (e.g. PocketControl) or the WebUI can maintain more history entries.
- bumped linux kernel version to 4.19.36 for ASUS Tinkerboard and RaspberryPi including the corresponding firmware files.
- added an under-voltage monitoring check using
vcgencmd
(RaspberryPi only) andmonit
so that users are warned if their connected power supply is not capable of providing enough voltage to the system. - added
strace
,tcpdump
,ser2net
andlibnetfilter conntrack
as new default packages which should better match the default package set like in a CCU2. - integrated basic
exFAT
filesystem support for e.g. mounting external USB devices.
WebUI changes/fixes:
- added a new major WebUI feature patch introducing functionality providing sticky filters. Now filters for table displays in the WebUI will keep the filter rules if a WebUI user returns to the table display (e.g. listing devices). This should considerably improve usability when working with the WebUI (#601, #243, @psi-4ward).
- added new WebUI patch to add IANA conform timezones (e.g.
Europe/Berlin
) and to also have more locations and more detailed GPS coordinates defined so that users can more easily install a RaspberryMatic system worldwide (#602). - integrated a protection against cross site scripting (XSS) attacks by forcing
Content-Security-Policy:
response headers and masking lighttpd to not output anyServer:
response header at all to improve security (#597, @psytester). - integrated more WebUI related security fixes for the ESP remote script API where for some functions no user level check had been performed and thus non-admin users could easily perform admin operations.
- enhanced the "Equal than" WebUI patch to also fix a problem in incorrectly setting the condition type thought no condition was changed when saving a WebUI program with string comparisons.
- added new WebUI patch fixing an incorrect reference to
nfs_datepicker.css
in the help page, which isn't required anymore and just resulted in font size errors if included. - added a new WebUI bugfix patch which fixes an issue when generating the usrAckInstallWizard files in case a username contains more than plain ASCII characters (#600).
- updated javascript-based CodeMirror WebUI Scripteditor engine to latest stable 5.45.0 version.
Bugfixes:
- fixed bug where monitoring the health of the
wlan0
interface did not work correctly on platforms not having any wifi interface at all (#587). - fixed
triggerAlarm.tcl
to generate an alarm system variable will now make sure to correctly set the system viable meta data as well and re-create it if not setup correctly. - fixed network setup to not incorrectly flush IPv6 connectivity parameters upon IPv4 DHCP setup and also integrated some minor changes to use
/sbin/ip
instead ofifconfig
where applicable. - fixed monit to not monitor
irqbalance
if only one CPU is present and thus using irqbalance would not make any sense (#596). - fixed monit to only trigger an internet connectivity alarm after 5 minutes of constant downtime. This should reduce the probability of alarm messages in case an internet provider performs nightly reconnects which should not be critical.
- fixed problem where
restoreBackup.sh
did stop/start services without considering the new monitoring service (#612). - fixed the monit monitoring interval from 3s to 13s and generally increased the network port check limits to 5 cycles so that monit will only alarm users after ~65 seconds if a service is down (#604).
👪 Contributors (alphabetically):
📝 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:
-
RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
📦 RaspberryMatic-3.45.7.20190504-rpi3.zip
SHA256: 277144af2c4edece5a830ae7fbdd6e1aa7d5a96808305b42186b2915a2482703 -
RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
📦 RaspberryMatic-3.45.7.20190504-rpi0.zip
SHA256: 9282fe3d4c7b76a1a118498231ee2837c11d0aecb42fa52555b41a2219c726f8 -
Tinker Board S, Tinker Board:
📦 RaspberryMatic-3.45.7.20190504-tinkerboard.zip
SHA256: f4b18f6ecc972fb33a98bb7823e598650b708791406ded576f7c28d1d957742c -
CCU3 (Firmware Upgrade Archive):
📦 RaspberryMatic-3.45.5.20190330-ccu3.tgz
SHA256: ded45ee707d6299d8717026a10c8a0c607d7476f5d3d7cde6a0d97f86ce682e5
RaspberryMatic 3.45.5.20190330
This is release 3.45.5.20190330 of RaspberryMatic which is a major feature release including the following new features and minor bugfixes:
🚧 Changes:
- updated OCCU firmware to 3.45.5 version with full compatibility to the CCU3 3.45.5 firmware which brings the following changes compared to the previous version included in RaspberryMatic:
- updated
ReGaHss
logic engineR1.00.0388.0206 (Mar 28 2019)
with the following changes:- fixed DST/non-DST switching issues in timer module which could have resulted in a segfault if a time interval over the DST switching time was created by a user.
- implemented a new sunrise/sunset calculation routine which is fully compatible to the way sunrise/sunset is calculated on other homematic devices (e.g.
HmIP-HAP
, Cloud Service, etc.). Now sunset/sunrise times in the WebUI should match the times calculated throughout all homematic devices/services. - fixed some compiler warnings and reduced probability of potential buffer overflows in certain situations.
- replaced more buffer overflow prone function uses with buffer overflow safe variants which should catch some known issues in the handling of large http requests.
- fixed bug in session clearance where a logout didn't completely invalidate all session relevant information.
- improved login security by preventing unauthorized users from logging into WebUI and using the scripting engine at all.
- optimized logging output in various areas so that bug reports can be more easily tracked down. Also changed some messages that were previously flagged as "error" messages to be flagged as "warnings" only now that we have that additional category.
- fixed minor bug where for interfaces with an empty URL the init method was still tried to be executed.
- added possibility to log warnings instead of just error messages to syslog & co. This should help to better differentiate between real problems and warning messages that are just pure informational messages.
- fixed problem that after an update of a homematicIP device firmware the device was automatically deleted and routed in the incoming folder. Now HmIP devices should automatically get channels updated once a firmware update contains differences in the channel setup. This should also remove the requirement to manually delete and re-teach a HmIP device after its firmware was updated.
- added AutoIP fallback support for network environments without any DHCP server.
- changed time synchronization interval for the RF-coprocessor to "every 6 hours" rather than being executed every 30 minutes. This should slightly reduce the DutyCycle in mostly non-busy environments.
- integrated support for new
HmIP-ASIR-O
(homematicIP alarm siren - outside) - it is possible now to react on actual valve state changes of the
HmIP-eTRV/eTRV-2/eTRV-C
in WebUI programs. - with newer firmware versions (2.0.2+) for the
HmIP-eTRV/eTRV-2/eTRV-C
a new "ultra-silent" mode can be set in the channel parameters which should make these devices more silent during normal operations. - fixed a minor bug related to delivery of UPnP-based status messages.
- a problem was fixed when trying to delete direct connections with the
HmIP-RCV-50
(virtual remote control) device. - the filter for the device list could not filter for "BidCos-RF/Wired" devices in the WebUI.
- fixed problem where the switch on/off duration within easymode profiles could be switched to "not active" while other settings are already set in the WebUI.
- fixed WebUI issue with not displaying the channel parameters for HmIP-FCI1/6 devices.
- fixed WebUI issue with
HmIP-BSL
not being able to be switched in the weekly program definitions.
- updated
- integrated some quick fixes for issues which showed up with the recent CCU 3.45.5 firmware release:
- fix for the broken channel parameter display for HmIP heating groups.
- fix for the broken CCU addon installation routines.
- WebUI fix for broken off-profile display for the long keypresses in the virtual receiver switch parameter display.
- implemented a process/service watchdog/monitoring implementation using Monit. This process watchdog automatically takes care if a service (e.g.
ReGaHss
) crashes and then automatically restarts it and also notifies the user of the occurred restart event using an alarm message in the WebUI. This should greatly improve service reliability (NOTE: Users of the third-party hm-watchdog CCU add-on are asked to remove this addon because this internal watchdog functionality is a replacement for it). Please note that Addon developers can add own Monit configuration files in/usr/local/etc/
with patternmonit*.cfg
to add their own services to the Monit monitoring engine. Currently, this new process/service watchdog monitors the following services and events per default:- HomeMatic specific services:
- ReGaHss logic engine daemon (
/bin/ReGaHss
) - HMIPServer homematicIP daemon (
/opt/HMServer/HMIPServer.jar
) - rfd BidCos-RF daemon (
/bin/rfd
) - hs485 BidCos-Wired daemon (
/bin/hs485dLoader
) - multimac daemon (
/bin/multimacd
) - LED control daemon (
/bin/hss_led
) - eq3config daemon (
/bin/eq3configd
) - ssdp UPnP daemon (
/bin/ssdpd
) - LAN gateway mode daemon (
/bin/hmlangw
)
- ReGaHss logic engine daemon (
- Linux-system services:
- lighttpd web server daemon (
/usr/sbin/lighttpd
) - cronjob daemon (
/usr/sbin/crond
) - hardware control watchdog daemon (
/sbin/watchdog
) - syslog/klog daemon (
/sbin/syslogd
,/sbin/klogd
) - udev control daemon (
/sbin/udevd
) - irqbalance control daemon (
/usr/sbin/irqbalance
) - random number generator daemon (
/usr/sbin/rngd
) - dbus message bus daemon (
/usr/bin/dbus-daemon
) - network interface plug/unplug daemon (
/usr/sbin/ifplugd
) - chrony/NTP network time synchronization daemon (
/usr/sbin/chronyd
) - SSH daemon (
/usr/sbin/sshd
)
- lighttpd web server daemon (
- Additional alarm notifications are emitted
- if the NTP offset time is > 1 second for more than 1 minute
- if HTTPS certificate is about to expire in < 30 days
- if high CPU usage (> 95%) is detected for more than 1 minute
- if high memory usage (> 95%) is detected for more than 1 minute
- if high system temperature (> 80 deg) is detected for more than 1 minute
- if root filesystem (/) is running on low disk space (< 5%) for more than 1 minute
- if user filesystem (/usr/local) is running on low disk space (< 5%) for more than 1 minute
- if connected USB device (/media/usb1) is running on low disk space (< 5%) for more than 1 minute
- if ethernet interface (eth0) has link down or changes link speed unexpectedly
- if wifi interface (wlan0) has link down but should be enabled
- if internet connection is down for more than 1 minute
- HomeMatic specific services:
- fixed bug in
restoreBackup.sh
helper script which accidentally required asignature.sha256
file to be present (#560). - integrated a general fix for
control_panel.cgi
so that Add-on button column sorting is correct even if some buttons are disabled due to missing features in the various CCU generations/feature sets. - modified
ntpdate
calls to use an unprivileged port for outgoing packets, aschrony
already does. This should prevent NTP packets get filtered by some snake-oil security filtering on UDP packets with same src and dst port (@hoedlmoser). - updated
libfirewall.tcl
to use correcticmpv6
types. This should solve certain errors when setting up the firewall (@libertyx82). - retired the additional
cryptool
type checking of backup archive consistency when usingrestoreBackup.sh
script (#566). - performed minor optimizations to backup/restore routines where incorrect file modification times could have caused an invalid extraction/creation of a firmware or backup archive.
- raised Linux kernel version for RaspberryPi and ASUS Tinkerboard to the new major LTS 4.19.x kernel line and also added full device tree overlay support for ASUS Tinkerboard as well as updated the RaspberryPi firmwares accordingly.
- updated buildroot/Linux version to latest stable 2019.02 version.
- updated java version to latest stable JAVA8 version (1.8.0_202-8.36.0.152)
- modified default linux kernel config and added define
CONFIG_DEBUG_USER
. This allows to use the kernel command-lineuser_debug=X
now to enable/disable certain segfault debugging messages in the linux kernel itself. - modified recovery system startup to only wait a maximum of 20 seconds while trying to mount the rootfs (e.g. if it is stored on an external USB device) so that startup should not stall endlessly.
- fixed
HMIPServer
startup to startHMServer.jar
in case no RF-module is installed. This should fix the typicalVirtualDevices
error messages if RaspberryMatic is used without any GPIO-based RF-module. - modified recovery system to also use
chrony
as the main network time synchronization daemon (NTPd). - modified SetInterfaceClock cronjob execution to be performed 4x per day (every 6 hours) rather than only once so that the interface clock of ...
RaspberryMatic 3.43.15.20190223
This is release 3.43.15.20190223 of RaspberryMatic which is a feature release including the following new major features and minor bugfixes:
🚧 Changes:
- updated OCCU firmware to 3.43.15-1 version with full compatibility to the CCU3 3.43.15 firmware and the following changes compare to previous RaspberryMatic versions:
- finalized homematicIP-Wired functionality with the following new HmIP-Wired devices supported:
HmIPW-DRAP
(Homematic IP Wired Access Point)HmIPW-DRD3
(Homematic IP Wired Dimmaktor – 3-fach)HmIPW-DRS4
(Homematic IP Wired Schaltaktor – 4-fach)HmIPW-DRS8
(Homematic IP Wired Schaltaktor – 8-fach)HmIPW-FIO6
(Homematic IP Wired IO Modul Unterputz – 6-fach)HmIPW-DRI16
(Homematic IP Wired Eingangsmodul – 16-fach)HmIPW-DRI32
(Homematic IP Wired Eingangsmodul – 32-fach)HmIPW-DRBL4
(Homematic IP Wired Jalousieaktor – 4-fach)
- Integration of
HmIP-RCV-50
device (virtual remote control for HmIP) - Integration of
HmIP-FCI6
(Homematic IP Kontakt-Schnittstelle Unterputz – 6-fach) - Integration of
HmIP-WT
(Homematic IP Wandthermostat) - Integration of
HmIP-ASIR-B1
- Integration of
Hm-RC-2-PBU-FM-2
(Funk-Sender 2-fach für Markenschalter, Unterputzmontage) - added config parameter "Optimal Start/Stop" for
HmIP-WT/WTH/WTH2
. - added config parameter "valve offset" for
HmIP-eTRV/-2/-B/-C
. - added plausibility tests for ip addresses (IPv4 / IPv6) in the WebUI.
- changed term "relais" to "output" in WebUI.
- the button "device firmware" will now switch to the device overview page instead.
- device firmware updates can only be triggered from the device overview page anymore.
- fixed bug for display of the upper device button for the
HmIP-BSL
- fixed bug where no lammelle position could be configured for the
HmIP-FBL/BBL
(weekly programs or WebUI). - fixed missing configuration pages for RGBW controller.
- fixed missing easy modes for
HmIP-FCI1/6
. - fixed missing "action on power" for
HmIP-MP3P
and dimm actors. - removed unsupported "event delay" config setting for
HmIP-FCI1/6
. - fixed incorrectly loaded "device firmware overview" page if a Philips HUE Gateway is connected.
- fixed problem where the CCU value for energy devices doubled its value upon reboot.
- added missing location config setting for
HmIP-PCBS2
so that weekly programs work correctly.
- finalized homematicIP-Wired functionality with the following new HmIP-Wired devices supported:
- integrated some fixes for large file uploads in default lighttpd configuration which otherwise could result in all memory being eaten.
- integrated a minor fix for a cosmetic issue in sorting the WebUI buttons of CCU addons in the system configuration UI which only happened if the DevConfig tweak was enabled.
- integrated a fix for a buffer overflow problem in the ReGaHss user authentication lighttpd module which otherwise could result in issues with correct authentication against the XMLRPC services (#556, @alexreinert).
- slightly optimized the
restoreBackup.sh
helper script to check for included sha256 checksum files and to make sure that only files in/usr/local
will be overwritten by the restore operations. In addition,restoreBackup.sh
will now also restart all necessary services automatically instead of requiring a manual reboot afterwards (which is still advised, thought). - in addition to specifying an output folder in the
createBackup.sh
helper script a full path to a file can also be specified now. In addition, a sha256 checksum file is now added to every backup file for future consistency checks (#543, @methodus). - fixed a minor bug in the firmware update routines in the recovery system which resulting in the firmware update to require an unnecessary amount of time due to
udev
taking care of local lofs mounts. - optimized memory management in low memory conditions so that critical Homematic services will be killed as one of the last steps before the underlying hardware runs out of memory (#540).
- updated buildroot/Linux environment to latest stable 2018.11.2 version.
- updated RaspberryPi Linux kernel to 4.14.98 including corresponding RaspberryPi firmware files.
- updated armbian-based Tinkerboard Linux kernel + U-Boot patchset and raised kernel version to 4.14.101 accordingly.
- added global
robots.txt
file to WebUI returning a generalDisallow: /
response so that any sensible web spider should stop indexing any web pages of the CCU if it had been accidentally connected to the internet (e.g. via port forwarding). - performed a general cleanup in the root filesystem by removing obsolete unused WebUI files resulting in a reduced amount of filesystem space to be used.
- minor bugfixes and cosmetic changes.
👪 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:
-
📦 RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
RaspberryMatic-3.43.15.20190223-rpi3.zip
SHA256: 917aaf93f3054bcad964c95ee100b4b781d5b33e3cae729327d952615da213f9 -
📦 RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
RaspberryMatic-3.43.15.20190223-rpi0.zip
SHA256: 736c751d010614a5729e90fc284e1e9f77c7b9cb849649dd8cf9068b2f8f2edf -
📦 Tinker Board S, Tinker Board:
RaspberryMatic-3.43.15.20190223-tinkerboard.zip
SHA256: 6d3210e6b2279c66c977c63d4b833fdb5a78bb78f48241699f6b20db9a9a27b4 -
📦 CCU3 (Firmware Upgrade Archive):
RaspberryMatic-3.43.15.20190223-ccu3.tgz
SHA256: e5b676c0dd660a7f6828685a0ed0769571a20dedd5f22e3c2775797324820932
RaspberryMatic 3.41.11.20190126
This is release 3.41.11.20190126 of RaspberryMatic which is a maintenance release including the following bugfixes and minor feature enhancements:
🚧 Changes:
- fixed a major bug where RF communication to homematicIP devices was partly not working when using a RaspberryPi while not having the HDMI port connected to anything. This seem to have resulted in (partly) unreliable RF communication to homematicIP devices due to the unused HDMI port resulting in certain RF interferences. Now the HDMI port is automatically powered down/disabled upon boot up if no cable is connected at all. In addition, the HDMI console will now automatically blank after 2 minutes of inactivity also potentially reducing RF interferences if a HDMI monitor is connected (#500).
- fixed the RF module GPIO reset functionality for the RPI-RF-MOD during boot up so that upon a CCU reset the RF module should start with a zeroed DutyCycle counter.
- fixed bug in new CodeMirror-based ScriptEditor where under certain circumstances a text selection resulted in dragging the script editor window instead (#534).
- added support for third-party USB-based HB-RF-USB adapter PCB developed by @alexreinert for connecting/using a HM-MOD-RPI-PCB or RPI-RF-MOD using a USB cable with kind support by @alexreinert (see Discussion).
- added
timeout
command to default BusyBox configuration so that users can write scripts/tools that are using this timeout command to automatically cancel commands after a certain amount of time not having finished. - slightly reworked the general RF module setup routines to catch more RF module combination cases and should make the init routines more reliable.
- improved new HTTP/XMLRPC-based authentication routines to not require any authentication if the request is coming from localhost. This should remove the requirement for authentication of processes running on the CCU/RaspberryMatic itself while not putting security at risk (#533, @alexreinert).
- switched from using the partly obsolete NTPd daemon and tools for syncing to and querying external NTP servers to the modern and new standard chrony NTP daemon/client package. This should also partly improve NTP syncing and NTP related information querying.
- updated RaspberryPi Linux kernel to 4.14.81 including corresponding RaspberryPi firmware and onboard WiFi-firmware files.
- updated armbian-based Tinkerboard Linux kernel + U-Boot patchset and raised kernel version to 4.14.94 accordingly.
- minor bugfixes and cosmetic changes.
For support on installation and help please visit the following (german speaking) help fora:
RaspberryMatic - Installation/Update Guide 🇩🇪
RaspberryMatic - Forum 🇩🇪
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:
-
📦 RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi2 Model B, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite:
RaspberryMatic-3.41.11.20190126-rpi3.zip
SHA256: 3fcfef32de41beeabc2db0243dbdfaf9e2ed0799baa0d6228e4b284f7c68a78e -
📦 RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
RaspberryMatic-3.41.11.20190126-rpi0.zip
SHA256: 7259dbdc4efd30620646f8e2fa7896380b678f2a0f659d79a3f1f22b8f484baa -
📦 Tinker Board S, Tinker Board:
RaspberryMatic-3.41.11.20190126-tinkerboard.zip
SHA256: 64caffddd634ed2673340184dda8bce53ad9daeba843bef40511599dc141edea -
📦 CCU3 (Firmware Upgrade Archive):
RaspberryMatic-3.41.11.20190126-ccu3.tgz
SHA256: 0a9aab832d691b98762ceb18b672ce9caceb1a1663d26e41e60605052028fef7
RaspberryMatic 3.41.11.20181222
This is release 3.41.11.20181222 of RaspberryMatic which is a major enhancement release including several bugfixes as well:
🚧 Changes:
- updated OCCU firmware to 3.41.11-6 coming with the following major changes:
- updated
ReGaHss
logic engineR1.00.0388.0204 (Dec 12 2018)
with the following changes:- fixed string backslash unescaping routines to correctly unescape double backslash uses and thus allow to define e.g.
\t
by using a\\t
string which were not possible before (#514). - implemented missing
break
andcontinue
statements to break out ofwhile()
andforeach()
loops and to also continue with the next iteration like this is commonly performed in other script languages (#224). - fixed bug where
elseif()
within awhile()
/foreach()
loop didn't work as expected but was quiting the loop too early (#404). - fixed webserver to only create and reserve a session ID in case a successful user login is performed (either manual or autologin). This should prevent from Denial-of-Service (DoS) situations where certain internal service could send multiple web requests to identify if a http server is running and thus could eat up all available session slots ending up in "Zu viele gleichzeitige Verbindungen" errors.
- fixed http response to manage more than 800kb of response payload so that the internal web server of ReGaHss can manage way larger http response data. This should finally allow to, e.g. serve larger system variables http displays at
Settings -> Systemvariables
with, e.g. ~1k of system variables or with longer device list web pages.
- fixed string backslash unescaping routines to correctly unescape double backslash uses and thus allow to define e.g.
- updated/fixed support for new HmIP devices (e.g. HmIP-FCI1).
- integrated fixed
SetInterfaceClock
tool correctly using default IP and port information with a force command-line parameter. - integrated fixed
hs485dLoader
to forward the config file path to the mainhs485d
daemon on execution. - updated
hmip-copro-update.jar
to use the latest version available.
- updated
- optimized NTP startup to reset to the default NTP server string in case
ntp.homematic.com
is still used which is not reliable enough anymore. Also added checks for valid NTP servers after having called "ntpdate" so
that the NTP startup also uses the default NTP servers as a fallback. - reworked DutyCycle query script to read out ReGaHss and HmIPServer port settings from the corresponding files in /etc and to also correctly updated the "Wired-Status" system variable for BidCos-Wired installations.
- fixed problem that the recovery system could not update installations where the rootfs is located on a USB driven device that requires more time to be initialized. Now the recovery system will wait until the
device is properly setup (#377). - reduced
SetInterfaceClock
execution to be performed only once per day. This should slightly reduce the DutyCycle by 1-2% compared to the 3.37.x and earlier firmware versions. - integrated slightly fixed firewall setup script which also take care of correctly setting up firewall settings for HmIP-Wired Gateway connections.
- modified firewall to use a final REJECT rule so that not allowed packages are rejected rather than simply dropped. This should improve response times for services trying to access blocked ports which seems to be more adequate for an internal network use-case of a CCU (#486).
- removed CUxD specific cuxd.ini patch since the latest CUxD 2.2.0+ version integrated an automatic port identification mechanism. Thus, CUxD 2.2.0 and newer should be used now.
- updated recovery system to also start
ssdpd
andeq3configd
to provide basic CCU search mechanisms so that a CCU device in recovery mode can also be found using the eQ3 NetFinder tool. - updated mediola NEO server package to latest 2.4.1 version.
- updated standard
update_script
to use more verbose/easier output messages when performing the update using theccu3
update archive. - fixed support for only connecting a HM-CFG-USB-2 usb stick as a BidCos-RF module so that HmIPServer & co still work correctly and allow to manage virtual groups, etc.
- fixed bug where upon enabling/disabling the "Authentication" settings under "Settings->Security->Authentication" required to completely restart the CCU device rather than correctly reloading all lighttpd configurations.
- added new WebUI bugfix patch to fix
Session.login
JSON rpc calls which does not work with the latest ReGaHss session ID generation anymore. Now it will retrieve a new session ID right after having authenticated a user rather than first getting a session ID (which isn't possible anymore without any authentication). - added WebUI fix for fixing two security vulnerabilities (CVE-2018-7296, CVE-2018-7300) by changing the access levels for certain public JSON rpc functions from NONE to USER and removing obsolete ones.
- updated buildroot/Linux environment to latest stable 2018.11.1 version.
- updated RaspberryPi Linux kernel to 4.14.79 (raspberrypi-kernel_1.20181112-1) including corresponding RaspberryPi firmware files.
- updated armbian-based Tinkerboard Linux kernel + U-Boot patchset and raised kernel version to 4.14.89 accordingly.
- minor bugfixes and cosmetic changes.
For support on installation and help please visit the following (german speaking) help fora:
RaspberryMatic - Installation/Update Guide 🇩🇪
RaspberryMatic - Forum 🇩🇪
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:
-
💼RaspberryPi3+, RaspberryPi3, RaspberryPi2, RaspberryPi Compute Module 3 (lite):
RaspberryMatic-3.41.11.20181222-rpi3.zip
SHA256: 478e9716a2d325623ac670002abdc9a858d75f95e652bbd81b2760ec49bd3243 -
💼RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
RaspberryMatic-3.41.11.20181222-rpi0.zip
SHA256: 5235c67789582a77d7165d94c86139d453ffdd5a820ed3bf9f748002856884c0 -
💼Tinker Board S, Tinker Board:
RaspberryMatic-3.41.11.20181222-tinkerboard.zip
SHA256: 9feb3032a094e4281b4dbd6ab1e55a4b75b40a1d74e94a316227e0b9dcc71e90 -
💼CCU3 Firmware Upgrade Archive:
RaspberryMatic-3.41.11.20181222-ccu3.tgz
SHA256: 18f57482a00725e3990c8c7c468cfaf1c33329f31e39e0ad61428b330f8404f4