insert support for do not disturb
This commit is contained in:
parent
d881e6c72c
commit
c332c919d6
11
74_AMAD.pm
11
74_AMAD.pm
@ -141,10 +141,11 @@ sub AMAD_Undef($$) {
|
||||
if( $hash->{BRIDGE} ) {
|
||||
delete $modules{AMAD}{defptr}{BRIDGE} if(defined($modules{AMAD}{defptr}{BRIDGE}));
|
||||
TcpServer_Close( $hash );
|
||||
}
|
||||
|
||||
elsif( $hash->{HOST} ) {
|
||||
|
||||
} else {
|
||||
|
||||
delete $modules{AMAD}{defptr}{$hash->{HOST}} if( defined($modules{AMAD}{defptr}{$hash->{HOST}}) );
|
||||
delete $modules{AMAD}{defptr}{$hash->{HOST}};
|
||||
RemoveInternalTimer( $hash );
|
||||
|
||||
foreach my $d(sort keys %{$modules{AMAD}{defptr}}) {
|
||||
@ -1372,6 +1373,7 @@ sub AMAD_decrypt($) {
|
||||
<li>currentMusicTrack - currently playing song title of mediaplayer</li>
|
||||
<li>daydream - on/off, daydream currently active</li>
|
||||
<li>deviceState - state of Android devices. unknown, online, offline.</li>
|
||||
<li>doNotDisturb - state of do not Disturb Mode</li>
|
||||
<li>dockingState - undocked/docked, Android device in docking station</li>
|
||||
<li>flow_SetCommands - active/inactive, state of SetCommands flow</li>
|
||||
<li>flow_informations - active/inactive, state of Informations flow</li>
|
||||
@ -1412,6 +1414,7 @@ sub AMAD_decrypt($) {
|
||||
<li>currentFlowsetUpdate - start flowset update on Android device</li>
|
||||
<li>googleMusic - play/stop/next/back , controlling the google play music media player</li>
|
||||
<li>installFlowSource - install a Automagic flow on device, <u>XML file must be stored in /tmp/ with extension xml</u>. <b>Example:</b> <i>set TabletWohnzimmer installFlowSource WlanUebwerwachen.xml</i></li>
|
||||
<li>doNotDisturb - sets the do not Disturb Mode, always Disturb, never Disturb, alarmClockOnly alarm Clock only, onlyImportant only important Disturbs</li>
|
||||
<li>nextAlarmTime - sets the alarm time. Only valid for the next 24 hours.</li>
|
||||
<li>notifySndFile - plays a media-file <b>which by default needs to be stored in the folder "/storage/emulated/0/Notifications/" of the Android device. You may use the attribute setNotifySndFilePath for defining a different folder.</b></li>
|
||||
<li>screenBrightness - 0-255, set screen brighness</li>
|
||||
@ -1526,6 +1529,7 @@ sub AMAD_decrypt($) {
|
||||
<li>currentMusicTrack - aktuell abgespielter Musiktitel des verwendeten Mediaplayers</li>
|
||||
<li>daydream - on/off, Daydream gestartet oder nicht</li>
|
||||
<li>deviceState - Status des Androidgerätes. unknown, online, offline.</li>
|
||||
<li>doNotDisturb - aktueller Status des nicht stören Modus</li>
|
||||
<li>dockingState - undocked/docked Status ob sich das Gerät in einer Dockinstation befindet.</li>
|
||||
<li>flow_SetCommands - active/inactive, Status des SetCommands Flow</li>
|
||||
<li>flow_informations - active/inactive, Status des Informations Flow</li>
|
||||
@ -1564,6 +1568,7 @@ sub AMAD_decrypt($) {
|
||||
<li>bluetooth - on/off, aktiviert/deaktiviert Bluetooth</li>
|
||||
<li>clearNotificationBar - All,Automagic, löscht alle Meldungen oder nur die Automagic Meldungen in der Statusleiste</li>
|
||||
<li>currentFlowsetUpdate - fürt ein Flowsetupdate auf dem Device durch</li>
|
||||
<li>doNotDisturb - schaltet den nicht stören Modus, always immer Stören, never niemals stören, alarmClockOnly nur Wecker darf stören, onlyImportant nur wichtige Störungen</li>
|
||||
<li>googleMusic - play, stop, next, back ,steuert den Google Play Musik Mediaplayer</li>
|
||||
<li>installFlowSource - installiert einen Flow auf dem Device, <u>das XML File muss unter /tmp/ liegen und die Endung xml haben</u>. <b>Bsp:</b> <i>set TabletWohnzimmer installFlowSource WlanUebwerwachen.xml</i></li>
|
||||
<li>nextAlarmTime - setzt die Alarmzeit. gilt aber nur innerhalb der nächsten 24Std.</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user