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):
- @jens-maus
- @psi-4ward
- @psytester
Support:
For support on installation and help please visit the following (german speaking) help fora:
RaspberryMatic – Installation/Update Guide :de:
RaspberryMatic – Forum :de:
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:
:package: RaspberryMatic-3.45.7.20190504-rpi3.zip
SHA256: 277144af2c4edece5a830ae7fbdd6e1aa7d5a96808305b42186b2915a2482703RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
:package: RaspberryMatic-3.45.7.20190504-rpi0.zip
SHA256: 9282fe3d4c7b76a1a118498231ee2837c11d0aecb42fa52555b41a2219c726f8Tinker Board S, Tinker Board:
:package: RaspberryMatic-3.45.7.20190504-tinkerboard.zip
SHA256: f4b18f6ecc972fb33a98bb7823e598650b708791406ded576f7c28d1d957742cCCU3 (Firmware Upgrade Archive):
:package: RaspberryMatic-3.45.5.20190330-ccu3.tgz
SHA256: ded45ee707d6299d8717026a10c8a0c607d7476f5d3d7cde6a0d97f86ce682e5