From 8d63f0b1591002b79ed4c956161cd8349b9ad15b Mon Sep 17 00:00:00 2001
From: klassm <>
Date: Mon, 15 Sep 2014 12:40:33 +0000
Subject: [PATCH] GCMSEND: add playSound attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@6555 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/contrib/98_gcmsend.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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>
+
Specifies that the implementation of GCM should play a sound when an event is received. Note that andFHEM does not implement this attribute yet.