mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
configDB: add RHASSPY and LightScene to list of supported modules
git-svn-id: https://svn.fhem.de/fhem/trunk@26446 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
60ba9a26c4
commit
ce719a3cd1
@ -313,7 +313,7 @@ sub _cfgDB_readConfig() {
|
||||
Starting with version 5079, fhem can be used with a configuration database instead of a plain text file (e.g. fhem.cfg).<br/>
|
||||
This offers the possibility to completely waive all cfg-files, "include"-problems and so on.<br/>
|
||||
Furthermore, configDB offers a versioning of several configuration together with the possibility to restore a former configuration.<br/>
|
||||
Detailled informations about the available recovery and rescue modes can be found in this forum thread:<br/>
|
||||
Detailed information about the available recovery and rescue modes can be found in this forum thread:<br/>
|
||||
<a href=https://forum.fhem.de/index.php/topic,86225.0.html>https://forum.fhem.de/index.php/topic,86225.0.html</a> </br>
|
||||
Access to database is provided via perl's database interface DBI.<br/>
|
||||
<br/>
|
||||
@ -323,6 +323,8 @@ sub _cfgDB_readConfig() {
|
||||
Currently the fhem modules<br/>
|
||||
<br/>
|
||||
<li>02_RSS.pm</li>
|
||||
<li>10_RHASSPY.pm</li>
|
||||
<li>31_Lightscene.pm</li>
|
||||
<li>55_InfoPanel.pm</li>
|
||||
<li>91_eventTypes</li>
|
||||
<li>93_DbLog.pm</li>
|
||||
|
@ -664,6 +664,22 @@ sub cfgDB_MigrationImport {
|
||||
push @files, $fn;
|
||||
}
|
||||
|
||||
# find LightScene configurations
|
||||
@def = '';
|
||||
@def = _cfgDB_findDef('TYPE=LightScene','CONFIGFILE');
|
||||
foreach my $fn (@def) {
|
||||
next unless $fn;
|
||||
push @files, $fn;
|
||||
}
|
||||
|
||||
# find RHASSPY configurations
|
||||
@def = '';
|
||||
@def = _cfgDB_findDef('TYPE=RHASSPY','CONFIGFILE');
|
||||
foreach my $fn (@def) {
|
||||
next unless $fn;
|
||||
push @files, $fn;
|
||||
}
|
||||
|
||||
# find holiday files
|
||||
@def = '';
|
||||
@def = _cfgDB_findDef('TYPE=holiday','NAME');
|
||||
|
Loading…
Reference in New Issue
Block a user