RaspberryMatic 2.29.22.20171007
This is release version 2.29.22.20171007 of RaspberryMatic with the following bugfixes and functional changes:
🚧 Changes:
- updated HomeMatic/OCCU environment to include a fixed version of HMServer.jar so that BidCos-RF only mode is restored (e.g. LAN Gateway mode).
- updated RaspberryPi Linux kernel to 4.9.53 and compatible RaspberryPi firmware.
- updated ReGaHss scripting engine version to community version
R1.00.0388.0121 (Oct 01 2017)
incorporating the following major fixes/changes (for more see here):- modified
ToString(p)
output for floating point values to be limited to the documented maximum precision of 15 digits. Otherwise an output of a float with higher precision might lead to some confusion. - modified floating point comparison epsilon to
DBL_EPSILON
to be consistent with the documented floating point precision (15 digits). - modified
==
and<
comparison operators to use an epsilon-based comparison if applied on a float value comparison. This should make script-based comparisons compatible to the same way webui-based programs perform their comparisons. - modified
.Trunc()
to output the same truncated float value like.ToInteger()
. Only ifTrunc(p)
is used with an additional parameterp
the float value will be truncated to the p-th digit based on the real float value. - integrated an additional parameter for
.ToInteger(p)
when being used on float values. If specified, the truncation operation will be based on the result ofToString(p)
with the precisionp
. - modified
.ToInteger()
to truncate a float value based on the same rounding operation like.ToString()
. This should make uses ofx.ToString().ToInteger()
consistent with direct uses ofx.ToInteger()
again. - fixed another bug with using
elseif()
which resulted in ScriptRuntimeError outputs even thought all conditions where checked and executed correctly. - fixed a bug in the web request response generation which supplied invalid xml formatted data for hm scripts containing string variables with special characters like '<' or '>'. Now these special characters are properly escaped so that valid xml data is returned and thus won't result in, e.g. JSON formatting errors if the script test window is used in the WebUI.
- fixed a problen where due to implicit BINRPC definitions in how floating point values are supplied, some sensors reported slightly inaccurate float values (e.g. dimmers) resulting in various numeric problems. Now a proper float point rounding method is applied that maintains float values to be keep accuracy up to the sixth digit.
- fixed a bug in using multiple
elseif()
statements in a row which resulted in multiple executions of the alternative branches. - fixed a regression bug which were the reason for "CompatibleForCompare" errors on programs using dimmer devices in program conditions.
- fixed problem that upon changing the value type (integer, float, string) of ISE values after a program was already created using, e.g. system variables or devices returning value in a certain type that ReGaHss aborted program execution by issuing "CompatibleForCompare" errors. Now it will try to convert to the desired type first and only issue this error if a conversion is also not possible.
- fixed inconsistent rounding operations when using
ToString(p)
with an optional parameter to specify the precision in case it is used on real or string variables containing a floating point value.
- modified
- integrated certain fixes for WebUI-based enhancements
- integrated support for HM-CFG-USB-2 to be used as BidCos-RF hardware.
- fixed problem that without any BidCos-RF or HmIP-RF hardware RaspberryMatic ended up in the typical "Virtual Devices" error.
- fixed another problem in trying to create a backup while files are still being created/written.
- minor bugfixes and functional changes.
For support on installation and help please visit the following (german speaking) help fora:
RaspberryMatic - Installation/Update Guide 🇩🇪
RaspberryMatic - Forum 🇩🇪
Please find the necessary installation images (*.img
files) for each supported hardware platform in separate zip archive files attached to this release. To verify their integrity a *.sha256
file is included in the zip file which contains the sha256 checksum of the img file.
The following installation archives can be downloaded for selected hardware platforms:
-
💼RaspberryPi3, RaspberryPi2, RaspberryPi Compute Module 3 (lite):
RaspberryMatic-2.29.22.20171007-rpi3.zip 2e712eef37ed4b2481c997bdcfe669ae424904d27050dfdf169df6fec80f24d8 -
💼RaspberryPi Zero W, RaspberryPi Zero, RaspberryPi Compute Module 1, RaspberryPi1 (A+/B+):
RaspberryMatic-2.29.22.20171007-rpi0.zip 69e9a7bc3e566a3bf073860be1e349474a302b9b578ce89a6098bf070c3035e4