From ccd4c88857c7e6a584bc02fc1d0535c56daaa9ac Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Thu, 22 Oct 2015 09:52:50 +0000 Subject: [PATCH] messageSchema: add Text2Speech, change AMAD short command git-svn-id: https://svn.fhem.de/fhem/trunk@9587 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/messageSchema.pm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/messageSchema.pm b/fhem/contrib/messageSchema.pm index ad16c716e..0dcdf7155 100755 --- a/fhem/contrib/messageSchema.pm +++ b/fhem/contrib/messageSchema.pm @@ -40,11 +40,14 @@ my $db = { 'AMAD' => { 'Normal' => 'set %DEVICE% ttsMsg %MSG%', 'ShortPrio' => 'set %DEVICE% ttsMsg %MSGSH%', - 'Short' => 'set %DEVICE% notifySndFile %AMAD_FILENAME%', + 'Short' => 'set %DEVICE% ttsMsg %MSGSH%', 'defaultValues' => { 'ShortPrio' => { 'MSGSH' => 'Achtung!', }, + 'Short' => { + 'MSGSH' => 'Hinweis!', + }, }, }, @@ -70,6 +73,20 @@ my $db = { }, }, + 'Text2Speech' => { + 'Normal' => 'set %DEVICE% tts %MSG%', + 'ShortPrio' => 'set %DEVICE% tts %MSGSH%', + 'Short' => 'set %DEVICE% tts %MSGSH%', + 'defaultValues' => { + 'ShortPrio' => { + 'MSGSH' => 'Achtung!', + }, + 'Short' => { + 'MSGSH' => 'Hinweis!', + }, + }, + }, + }, 'light' => {