diff --git a/fhem/FHEM/34_ESPEasy.pm b/fhem/FHEM/34_ESPEasy.pm index d89421c58..06efe0f53 100644 --- a/fhem/FHEM/34_ESPEasy.pm +++ b/fhem/FHEM/34_ESPEasy.pm @@ -37,7 +37,7 @@ use HttpUtils; use Color; use SetExtensions; -my $module_version = "2.17"; # Version of this module +my $module_version = "2.18"; # Version of this module # ------------------------------------------------------------------------------ # modul version and required ESP Easy firmware / JSON lib version @@ -1911,7 +1911,9 @@ sub ESPEasy_httpReq(@) else { my $plist = join(",",@cmdArgs); # join cmd params into a string to be used in http url $plist = ",".$plist if @cmdArgs; # add leading comma if defined - $url = "http://".$host.":".$port.$path.$cmd.$plist; # build full url + $url = "http://".$host.":".$port.$path; # build base url + $url .= $cmd if($data{ESPEasy}{$dname}{sets}{$cmd}{args} ne "-1"); #Forum 97301 + $url .= $plist; } my $httpParams = { @@ -4543,7 +4545,12 @@ sub ESPEasy_dumpSingleLine($) Argument must be a perl hash. The following hash keys can be used. An omitted key will be replaced with the appropriate default value.