diff --git a/FHEM/71_XiaomiSmartHome.pm b/FHEM/71_XiaomiSmartHome.pm index 06f33a4..bfac9a6 100644 --- a/FHEM/71_XiaomiSmartHome.pm +++ b/FHEM/71_XiaomiSmartHome.pm @@ -40,8 +40,7 @@ eval "use Crypt::CBC"; return "\nERROR: Please install Crypt::CBC" if($@); eval "use Net::Ping"; return "\nERROR: Please install Net::Ping" if($@); -eval "use Math::Round"; -return "\nERROR: Please install libmath-round-perl" if($@); + use Color; @@ -53,7 +52,7 @@ sub XiaomiSmartHome_Notify($$); sub XiaomiSmartHome_updateSingleReading($$); my $iv="\x17\x99\x6d\x09\x3d\x28\xdd\xb3\xba\x69\x5a\x2e\x6f\x58\x56\x2e"; -my $version = "1.19"; +my $version = "1.20"; my %XiaomiSmartHome_gets = ( "getDevices" => ["get_id_list", '^.+get_id_list_ack' ], @@ -922,9 +921,11 @@ sub XiaomiSmartHome_updateAllReadings($)
  • password: without password no write to the gateway is possible. Use the MI APP to find the password
  • RGB(Colorpicker): set the color
  • PCT(Slider): set the brightness in percent
  • +
  • intervals: set the gateway to on for an time eg. set intervals 07:00-08:00
  • ringtone: set the ringtone 0-8,13,21-29,10001-.. | 10000 = off
  • volume: set the volume 1-100, (100 is very loud)
  • ringvol: set ringtone and volume in on step e.g. set [GWNAME] ringvol 21 10
  • +
  • learn: set the gateway in learningmode to learn new sensors now push the button from the new sensor

  • Set: Devices @@ -1021,9 +1022,11 @@ sub XiaomiSmartHome_updateAllReadings($)
  • password: Ohne Passwort ist ein Schalten des GATEWAY nicht möglich. Das Passwort findet man in der MI APP
  • RGB(Colorpicker): Einstellen der LED Farbe des Gateways
  • PCT(Slider): Einstellen der Helligkeit des Gateways
  • +
  • intervals: Einschalten des gateway für einen Zeitraum zb. set intervals 07:00-08:00
  • ringtone: Wiedergeben eines Arlarmtones 0-8,13,21-29,10001-.. Benutzerdefinierte| 10000 = aus
  • volume: Einstellen der Lautstärke des Arlarmtones 1-100, (100 ist sehr laut!)
  • -
  • ringvol: Wiedergeben eines Arlamtones und gleichzeitiges verändern der Lautstärke set [GWNAME] ringvol 21 10
  • +
  • ringvol: Wiedergeben eines Arlamtones und gleichzeitiges verändern der Lautstärke set [GWNAME] ringvol 21 10
  • +
  • learn: Anlernen neuer Sensoren, nach dem Set an dem neuem Sensor den Button drücken

  • Set: Devices diff --git a/FHEM/71_XiaomiSmartHome_Device.pm b/FHEM/71_XiaomiSmartHome_Device.pm index f3e0329..3b19e56 100644 --- a/FHEM/71_XiaomiSmartHome_Device.pm +++ b/FHEM/71_XiaomiSmartHome_Device.pm @@ -24,10 +24,10 @@ package main; use strict; use warnings; -use Math::Round qw/nearest/; -my $version = "1.19"; + +my $version = "1.20"; sub XiaomiSmartHome_Device_updateSReading($); @@ -512,6 +512,7 @@ sub XiaomiSmartHome_round { =pod =item device =item summary Module to control XiaomiSmartHome Gateway +=item summary_DE Modul zum steuern des XiaomiSmartHome Gateway =begin html @@ -550,15 +551,35 @@ sub XiaomiSmartHome_round {
    Heartbeat @@ -573,16 +594,18 @@ sub XiaomiSmartHome_round {
  • password: without password no write to the gateway is possible. Use the MI APP to find the password
  • RGB(Colorpicker): set the color
  • PCT(Slider): set the brightness in percent
  • +
  • intervals: set the gateway to on for an time eg. set intervals 07:00-08:00
  • ringtone: set the ringtone 0-8,13,21-29,10001-.. | 10000 = off
  • volume: set the volume 1-100, (100 is very loud)
  • ringvol: set ringtone and volume in on step e.g. set [GWNAME] ringvol 21 10
  • +
  • learn: set the gateway in learningmode to learn new sensors now push the button from the new sensor

  • Set: Devices