added important note to OWFS / OWTEMP: deprecated, use OWServer / OWDevice instead.

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2516 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mfr69bs 2013-01-14 10:41:48 +00:00
parent 7ba3233bd9
commit 50d622b8df
2 changed files with 12 additions and 0 deletions

View File

@ -194,6 +194,12 @@ OWFS_Define($$)
Log 3, "OWFS opened $dev for $name";
Log 1, "OWFS ########################################";
Log 1, "OWFS # IMPORTANT NOTE:";
Log 1, "OWFS # This module is deprecated and will be removed in a future release!";
Log 1, "OWFS # Please use OWServer / OWDevice.";
Log 1, "OWFS ########################################";
$hash->{DeviceName} = $dev;
$hash->{STATE}="";
my $ret = OWFS_DoInit($hash);

View File

@ -473,6 +473,12 @@ OWTEMP_Define($$)
InternalTimer(gettimeofday()+$hash->{INTERVAL}, "OWTEMP_GetUpdate", $hash, 0);
}
Log 1, "OWTEMP ########################################";
Log 1, "OWTEMP # IMPORTANT NOTE:";
Log 1, "OWTEMP # This module is deprecated and will be removed in a future release!";
Log 1, "OWTEMP # Please use OWServer / OWDevice.";
Log 1, "OWTEMP ########################################";
return undef;
}