This is release 3.51.6.20200613 of RaspberryMatic which is a major maintenance release including the following new features, bug and security fixes:
🚧 Changes:
CCU/HomeMatic service changes:
- updated OCCU firmware to 3.51.6-5 version which comes with the following changes:
- updated
ReGaHss
logic engineR1.00.0388.0218 (Jun 9 2020)
version with the following changes:- fixed the parsing/escaping of the super string (
^
) for being able to define strings without having to escape single or double quotations (#225). - implemented a functionality to specify an offset time and duration for the sunrise/sunset astro functions. Now
TimeSeconds()
andCalDuration()
can be used together with all already existingSunOffsetType()
values to specify the offset and duration accordingly. Note, that to specify a negative time offset one has to use thesotBeforeSunXXXX
rather thansotAfterSunXXX
withSunOffsetType()
. Furthermore, a puresotSunrise
orsotSunset
timer offset will always use a timer offset of zero. - integrated a fix for certain
@time@
strings which did not convert supplied times correctly because they should have assumed local time instead. - replaced all
gettimeofday()
/time()
calls with properclock_gettime()
uses as e.g.gettimeofday()
was defined obsolete in POSIX 2008. In addition, we useCLOCK_MONOTONIC
where relative time calculations are performed so that time operatins are more immune to time changes. This change should slightly improve timer reliability in case of time changes performed by users or other applications. - fixed some potential undefined string copy operations.
- fixed a minor potential crash bug in low memory conditions.
- fixed the parsing/escaping of the super string (
- updated
- updated integrated mediola NEO SERVER CCU-Addon package version to latest 2.5.3.
- slightly improved
RPI-RF-MOD
recognition by checking for0x..ffff
rather than0x00ffff
because newer models seem to have different address ids than expected (cf. alexreinert/debmatic@abf4862) - added support for HB-RF-USB-2 PCB (https://github.com/alexreinert/PCB/tree/master/HB-RF-USB-2) and updated
generic_raw_uart
kernel module version to latest version available.
WebUI changes:
- implemented a new WebUI patch that allows to set an offset and duration time for the astro timer functions. That means that one can create astro timers now where a user can set something like e.g. “at sunrise minus/plus X minutes”. In addition, a user can now limit the astro timer duration if wanted and not having it automatically ended at the opposite astro time (#221).
- fixed 0037-WebUI-DevConfig-RSSI patch by explicitly using a
catch{}
statements to query for the devname of a HmIP device because it seems that under some circumstances this array is not populated correctly and thus otherwise ends up in an error when theset rssi_list
is executed (#845). - integrated a minor WebUI style fix which provides a white background in the device thumbnail table cells of the service message view for a slightly nicer display.
Operating system changes:
- bumped Linux kernel versions to new major LTS 5.4.x version (5.4.44) for all supported platforms and updated RaspberryPi firmware files to matching versions available.
- updated buildroot/Linux environment to latest 2020.05 version.
- updated U-Boot version to 2020.01 and adapted environment/patches accordingly.
- updated java AZUL version to latest 8.46.0.225-ca-jdk8.0_252 for ARM targets.
- added support for new 8GB hardware version of RaspberryPi4b model (d03114).
- added ‘wireguard’ as an directly integrated buildroot package so that users/services can setup/provide own wireguard VPN solutions in future (#776).
- added a new unclean shutdown watchdog job that identifies any unexpected system crash or unclean shutdown situation (user unplugs power or a power outage) and notifies a user upon the next boot via a standard WebUI alarm message.
- integrated a new cron-based
fstrim
execution to support reclaiming of freed disk space for devices supporting the TRIM/DISCARD operations. - added
/etc/config/NoFSRIM
and/etc/config/NoBadBlocksCheck
status file checks so that the weeklyfstrim
and daily backblocks check can be more easily disabled by users. - added a workaround for potentially slow or broken
/dev/hwrng
devices which might either block the rng daemon startup for an unacceptable amount of time due tohead -c1
access test stalling. Now we wait a maximum of 5 seconds for the test to complete or we use/dev/urandom
right away to work around this matter. This fixes issues where newer versions of Synology VMM seem to provide slightly broken/dev/hwrng
devices to guest systems (#831). - added a global
/usr/etc/npmrc
to set the npm cache to/tmp/npm-cache
and thus have it located on a writeable path so thatnpm install
won’t complain anymore. In addition, a/root/.npmrc
link to/usr/local/etc/npmrc
will allow users to put an own user configurablenpmrc
file and usenpm config
set/get accordingly (#823). - we use a
lsblk
call to identify the main mmcX device number of the rootfs. This should fix issues where upon using an eMMC with a tinkerboard the red led was constantly blinking because an incorrect mmcX device number was selected. Now the number will be automatically identified upon startup.
👪 Contributors (alphabetically):
📝 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.51.6.20200613-rpi4.zip
SHA256: b77ad8ba0836b8de51dac0aeb9ae71923fa36221ac84665e9bc78be9b5e2e175 - 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.51.6.20200613-rpi3.zip
SHA256: 5a1ce63d5be78ac6e9675de5bdfcab2e397eedab98713403e64cec9a2c859862
📦 RaspberryMatic-3.51.6.20200613-ccu3.tgz (only for CCU3 Firmware -> RaspberryMatic Upgrade)
SHA256: 0c7fa4644b49281a5f45a85aa848fa3436316c8e80c21fc8246ef67422ab8e6b - RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
📦 RaspberryMatic-3.51.6.20200613-rpi0.zip
SHA256: 040089cdc891f751ee0565862c548f43c148fdb1945893eb0a436872a0e65506 - Tinker Board S, Tinker Board:
📦 RaspberryMatic-3.51.6.20200613-tinkerboard.zip
SHA256: b3c63a621aa1669be9ad2923359425344b8c629cd3ff85bceabba65baf167250 - Intel NUC:
📦 RaspberryMatic-3.51.6.20200613-intelnuc.zip
SHA256: 9b47e86f16c86c6df99c2e578cf4a6caa0bfa25d0235ed02df33ae80f584b259 - Open Virtual Appliance (OVA) – (ESXi, VirtualBox, Proxmox, Synology, QNAP, QEmu, HyperV):
📦 RaspberryMatic-3.51.6.20200613-ova.zip
SHA256: b2f6aaa33e0762e54e3ec69d69e199c4630692668e1d14c727c092c95a4f87cd
📦 RaspberryMatic-3.51.6.20200613.ova (only for initial OVA installation)
SHA256: 58cbea5e220ee915a7f781b216ba58134dd922c1123c226babde9d97e3c15e29