diff --git a/fhem/contrib/98_gcmsend.pm b/fhem/contrib/98_gcmsend.pm index e257ff475..7b5303ac1 100644 --- a/fhem/contrib/98_gcmsend.pm +++ b/fhem/contrib/98_gcmsend.pm @@ -14,7 +14,7 @@ gcmsend_Initialize($) $hash->{DefFn} = "gcmsend_Define"; $hash->{NotifyFn} = "gcmsend_notify"; $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 @@ -344,6 +344,8 @@ sub gcmsend_notify($$)
Make the receiving device vibrate upon receiving the message. Must be true or false.
  • attr <name> deviceFilter <regexp>
    Send a GCM notify only is the device name matches the given filter regexp.
  • +
  • +
    Specifies that the implementation of GCM should play a sound when an event is received. Note that andFHEM does not implement this attribute yet.