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

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2516 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mfr69bs
2013-01-14 10:41:48 +00:00
parent 8344dddc68
commit e4ed352964
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 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->{DeviceName} = $dev;
$hash->{STATE}=""; $hash->{STATE}="";
my $ret = OWFS_DoInit($hash); my $ret = OWFS_DoInit($hash);

View File

@@ -473,6 +473,12 @@ OWTEMP_Define($$)
InternalTimer(gettimeofday()+$hash->{INTERVAL}, "OWTEMP_GetUpdate", $hash, 0); 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; return undef;
} }