change currentFlowsetUpdate Routine

This commit is contained in:
Marko Oldenburg 2018-01-17 20:27:47 +01:00
parent 53bf33ff29
commit 1ddf81f2bf
3 changed files with 875 additions and 867 deletions

View File

@ -75,7 +75,7 @@ eval "use JSON;1" or $missingModul .= "JSON ";
my $modulversion = "4.1.99.30"; my $modulversion = "4.1.99.30";
my $flowsetversion = "4.1.99.5"; my $flowsetversion = "4.1.99.6";

View File

@ -58,8 +58,8 @@ eval "use Encode qw(encode encode_utf8);1" or $missingModul .= "Encode ";
eval "use JSON;1" or $missingModul .= "JSON "; eval "use JSON;1" or $missingModul .= "JSON ";
my $modulversion = "4.1.99.33"; my $modulversion = "4.1.99.37";
my $flowsetversion = "4.1.99.5"; my $flowsetversion = "4.1.99.6";
@ -507,16 +507,16 @@ sub AMADDevice_Set($$@) {
} }
elsif( lc $cmd eq 'volumenotification' ) { elsif( lc $cmd eq 'volumenotification' ) {
my $vol = join( " ", @args ); my $volnote = join( " ", @args );
$path = "/fhem-amad/setCommands/setNotifiVolume?notifivolume=$vol"; $path = "/fhem-amad/setCommands/setNotifiVolume?notifivolume=$volnote";
$method = "POST"; $method = "POST";
} }
elsif( lc $cmd eq 'volumeringsound' ) { elsif( lc $cmd eq 'volumeringsound' ) {
my $vol = join( " ", @args ); my $volring = join( " ", @args );
$path = "/fhem-amad/setCommands/setRingSoundVolume?ringsoundvolume=$vol"; $path = "/fhem-amad/setCommands/setRingSoundVolume?ringsoundvolume=$volring";
$method = "POST"; $method = "POST";
} }
@ -721,7 +721,7 @@ sub AMADDevice_Set($$@) {
elsif( lc $cmd eq 'currentflowsetupdate' ) { elsif( lc $cmd eq 'currentflowsetupdate' ) {
$path = "/fhem-amad/currentFlowsetUpdate"; $path = "/fhem-amad/setCommands/currentFlowsetUpdate";
$method = "POST"; $method = "POST";
} }