mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
95_Babble.pm: Fix eines Experimental Code Errors
git-svn-id: https://svn.fhem.de/fhem/trunk@16229 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a6ed59cfce
commit
229b69c7fc
@ -53,7 +53,7 @@ if (eval {require RiveScript;1;} ne 1) {
|
||||
my $babblelinkname = "babbles"; # link text
|
||||
my $babblehiddenroom = "babbleRoom"; # hidden room
|
||||
my $babblepublicroom = "babble"; # public room
|
||||
my $babbleversion = "1.2";
|
||||
my $babbleversion = "1.22";
|
||||
|
||||
my %babble_transtable_EN = (
|
||||
"ok" => "OK",
|
||||
@ -1120,7 +1120,7 @@ sub Babble_TestIt{
|
||||
#-- not directly - but maybe we have a device which is an extension of an alias device
|
||||
if( (!defined($cmd) || $cmd eq "") && defined($device) ){
|
||||
my $realdev = $device;
|
||||
foreach my $stardev (keys $hash->{DATA}{"devsalias"}){
|
||||
foreach my $stardev (keys %{$hash->{DATA}{"devsalias"}}){
|
||||
if(index($stardev,'*')!=-1){
|
||||
my $starrexp = $stardev;
|
||||
$starrexp =~ s/\*/\(\.\*\)/;
|
||||
@ -1277,7 +1277,7 @@ sub Babble_DoIt{
|
||||
#-- not directly - but maybe we have a device which is an extension of an alias device
|
||||
if( (!defined($cmd) || $cmd eq "") && defined($device) ){
|
||||
my $realdev = $device;
|
||||
foreach my $stardev (keys $hash->{DATA}{"devsalias"}){
|
||||
foreach my $stardev (keys %{$hash->{DATA}{"devsalias"}}){
|
||||
if(index($stardev,'*')!=-1){
|
||||
my $starrexp = $stardev;
|
||||
$starrexp =~ s/\*/\(\.\*\)/;
|
||||
@ -2272,7 +2272,7 @@ sub Babble_Html($)
|
||||
in the tested command</li>
|
||||
<li><a name="noChatBot"><code>attr <name> noChatBot 0|1</code></a>
|
||||
<br/>if this attribute is set to 1, a local RiveScript interpreter will be ignored even though it is present in the system</li>
|
||||
<li><a name="remoteFHEM"><code>attr <name> remoteFHEM(0|1|2|3) <IP address:port&rt;</code></a>
|
||||
<li><a name="remoteFHEM"><code>attr <name> remoteFHEM(0|1|2|3) [<user>:<password>@]<IP address:port&rt;</code></a>
|
||||
<br/>IP address and port for a remote FHEM installation</li>
|
||||
<li><a name="remoteFunc"><code>attr <name> remoteFunc(0|1|2|3) <function name&rt;</code></a>
|
||||
<br/>name of a Perl function that is called for addressing a certain remote FHEM device</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user