diff --git a/fhem/CHANGED b/fhem/CHANGED
index 5939c4ee2..eedbf0206 100644
--- a/fhem/CHANGED
+++ b/fhem/CHANGED
@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
+ - change: 48_MieleAtHome: use id-tag instead of name-tag for docs
- new: 50_SSFile: Module that integrates Synology Sile Station
- bugfix: 98_WeekdayTimer: CONDITION now again is checked for entire day
- feature: 74_GardenaSmartDevice: add support for SmartIrrigationControl
diff --git a/fhem/FHEM/48_MieleAtHome.pm b/fhem/FHEM/48_MieleAtHome.pm
index 956afc93a..1f114bf6b 100644
--- a/fhem/FHEM/48_MieleAtHome.pm
+++ b/fhem/FHEM/48_MieleAtHome.pm
@@ -35,7 +35,7 @@ use Encode qw(encode_utf8);
use List::Util qw[min max];
use JSON;
-my $version = "1.0.2";
+my $version = "1.1.0";
my $MAH_hasMimeBase64 = 1;
@@ -1229,6 +1229,7 @@ sub MAH_calculateETA($$$)
if ($statusRaw == 2 || $statusRaw == 7) { # On (but not running) or End
my $eta = POSIX::strftime("%H:%M", localtime(time + $remainingSecs)); # ignore startOffsetSecs here as this is very strange
my $etaHR = "+" . MAH_formatTime($remainingHour, $remainingMinute);
+ $etaHR = "Ende" if ($remainingHour == 0 && $remainingMinute == 0);
return ($eta, $etaHR);
}
@@ -1237,7 +1238,7 @@ sub MAH_calculateETA($$$)
my $etaHR = $eta;
# write remaining minutes in the last 15 minutes instead of
- $etaHR = sprintf("+0:%02d", ${remainingMinute}) if ($remainingSecs <= 15 * 60);
+ $etaHR = "+" . MAH_formatTime($remainingHour, $remainingMinute) if ($remainingSecs <= 15 * 60);
return ($eta, $etaHR);
# }
@@ -1862,7 +1863,7 @@ sub MAH_getStacktrace()
=begin html
-
+
MieleAtHome
MieleAtHome - Controls Miele@home Devices
@@ -1876,7 +1877,7 @@ sub MAH_getStacktrace()
To use this module you need to register as a developer at https://www.miele.com/f/com/en/register_api.aspx. After you successfully registered, you will receive a clientId and a clientSecret which you'll need to configure in your <gateway>
-device.
-
+
Define
(1) Setup gateway:
@@ -1939,106 +1940,106 @@ sub MAH_getStacktrace()
-->
-
+
Set
- -
+
-
autocreate
autocreate fhem-devices for each Miele@home appliance found in your account. Needs login, clientId, password and clientSecret to be configured properly. Only available for the gateway device.
- -
+
-
clientSecret <secret>
sets the clientSecret of your Miele@home-developer Account and stores it in a file (base64-encoded if you have MIME::Base64 installed).
- -
+
-
light [enable|disable]
enable/disable the light of your device. only available depending on the type and state of your appliance.
- -
+
-
on
power up your device. only available depending on the type and state of your appliance.
- -
+
-
off
power off your device. only available depending on the type and state of your appliance.
- -
+
-
password <pass>
set the password of your Miele@home Account and stores it in a file (base64-encoded if you have MIME::Base64 installed).
- -
+
-
pause
pause your device. only available depending on the type and state of your appliance.
- -
+
-
start
start your device. only available depending on the type and state of your appliance.
- -
+
-
startTime <[H]H:MM>
modify the start time of your device relative from current time. only available depending on the type and state of your appliance.
- -
+
-
stop
stop your device. only available depending on the type and state of your appliance.
- -
+
-
startSuperFreezing
start super freezing your device. only available depending on the type and state of your appliance.
- -
+
-
stopSuperFreezing
stop super freezing your device. only available depending on the type and state of your appliance.
- -
+
-
startSuperCooling
start super cooling your device. only available depending on the type and state of your appliance.
- -
+
-
stopSuperCooling
stop super cooling your device. only available depending on the type and state of your appliance.
- -
+
-
update
instantly update all readings.
- -
+
-
ventilationStep [Step1|Step2|Step3|Step4]
set the ventilation step of your device. only available depending on the type and state of your appliance.
-
+
Get
- -
+
-
listDevices
lists the devices associated with your Miele@home-account. Needs login, clientId, password and clientSecret to be configured properly.
-
+
Attributes
- -
+
-
clientId
set the clientId of your Miele@home-developer account.
- -
+
-
country
set the country where you registered your Miele@home account.
- -
+
-
login
set the login of your Miele@home account.
- -
+
-
disable
disables this MieleAtHome-instance.
- -
+
-
lang [de|en]
request the readings in either german or english. en is default.