2017-11-23 21:15:56 +00:00
|
|
|
This file describes the changes to made in a FHEM installation when upgrading
|
2017-11-23 20:58:29 +00:00
|
|
|
_to_ the named version from an older version. It describes no new features,
|
|
|
|
only features not working anymore. It may or may not work to set "attr global
|
|
|
|
featurelevel X.Y" (where X.Y is the old FHEM version, e.g. 5.6) in order to
|
2018-02-10 18:46:49 +00:00
|
|
|
enable the old feature.
|
2017-11-23 20:58:29 +00:00
|
|
|
|
|
|
|
- 2015-11-15 (5.7)
|
2017-11-23 21:15:56 +00:00
|
|
|
- In the evaluated perl expression $value{DEVICE} is not set any more, use
|
|
|
|
Value("DEVICE") instead
|
2017-11-23 20:58:29 +00:00
|
|
|
- the lastinclude global attribute (as in attr global lastinclude filename)
|
|
|
|
is not evaluated anymore, use the following instead:
|
|
|
|
define lastinclude notify global:INITIALIZED include filename
|
2017-11-23 21:15:56 +00:00
|
|
|
- In the evaluated perl expression % was replaced with the event, and @ with
|
|
|
|
the device name. Instead of % $EVENT must be used, and instead of @ $NAME.
|
2017-11-23 20:58:29 +00:00
|
|
|
The double %% and @@ is not replaced with a single % and @ anymore.
|
|
|
|
|
|
|
|
- 2017-02-19 (5.8)
|
|
|
|
- the FHEMWEB csrfToken attribute is set to a random value on each startup,
|
2017-11-23 21:15:56 +00:00
|
|
|
which is checked when executing a command started via the FHEMWEB HTTP
|
|
|
|
connection. Something like:
|
2017-11-23 20:58:29 +00:00
|
|
|
wget 'http://fhemhost:8083/fhem?cmd=set%20device%20on'
|
2017-11-23 21:15:56 +00:00
|
|
|
wont work anymore. One solutions is to set "attr WEB csrfToken mySecret" and
|
2017-11-23 20:58:29 +00:00
|
|
|
rewrite the above call to:
|
|
|
|
wget 'http://fhemhost:8083/fhem?cmd=set%20device%20on&fwcsrf=mySecret'
|
|
|
|
There are other solutions in the FHEM wiki.
|
2018-04-14 10:31:20 +00:00
|
|
|
|
2018-10-07 17:20:53 +00:00
|
|
|
- 2018-10-07 (5.9)
|
2018-04-14 10:31:20 +00:00
|
|
|
- the default for the setStructType structure attribute changed from 1 to 0
|
2018-10-07 17:20:53 +00:00
|
|
|
- the default for the style setting changed to f18, the old "default" is
|
|
|
|
still present.
|
|
|
|
- the default for the iconPath changed from default:fhemSVG:openautomation to
|
|
|
|
fhemSVG:openautomation:default. NOTE: the old version may be needed for
|
|
|
|
FLORRPLAN users
|
|
|
|
- the default fhem.cfg does not contain a telnet definition
|
2019-02-17 09:24:01 +00:00
|
|
|
|
|
|
|
- XXXX-XX-XX (6.0)
|
|
|
|
- attribute names can only consist of the character A-Za-z/\d_\.-
|
|
|
|
- the length of attribute and reading names must be 64 or less
|