mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
GCMSEND: add playSound attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@6555 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c8ffebfd15
commit
8d63f0b159
@ -14,7 +14,7 @@ gcmsend_Initialize($)
|
|||||||
$hash->{DefFn} = "gcmsend_Define";
|
$hash->{DefFn} = "gcmsend_Define";
|
||||||
$hash->{NotifyFn} = "gcmsend_notify";
|
$hash->{NotifyFn} = "gcmsend_notify";
|
||||||
$hash->{SetFn} = "gcmsend_set";
|
$hash->{SetFn} = "gcmsend_set";
|
||||||
$hash->{AttrList} = "loglevel:0,1,2,3,4,5 regIds apiKey stateFilter vibrate deviceFilter";
|
$hash->{AttrList} = "loglevel:0,1,2,3,4,5 regIds apiKey stateFilter vibrate deviceFilter playSound";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
sub
|
||||||
@ -344,6 +344,8 @@ sub gcmsend_notify($$)
|
|||||||
<br />Make the receiving device vibrate upon receiving the message. Must be true or false.</li>
|
<br />Make the receiving device vibrate upon receiving the message. Must be true or false.</li>
|
||||||
<li><a name="gcmsend_deviceFilter"><code>attr <name> deviceFilter <regexp></a>
|
<li><a name="gcmsend_deviceFilter"><code>attr <name> deviceFilter <regexp></a>
|
||||||
<br />Send a GCM notify only is the device name matches the given filter regexp.</li>
|
<br />Send a GCM notify only is the device name matches the given filter regexp.</li>
|
||||||
|
<li><a name="gcmsend_playSound"><code attr <name> playSound <true|false></a>
|
||||||
|
<br />Specifies that the implementation of GCM should play a sound when an event is received. Note that andFHEM does not implement this attribute yet.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user