messageSchema: add Text2Speech, change AMAD short command

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9587 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2015-10-22 09:52:50 +00:00
parent 63d6b7fe9f
commit 47d3d4e28e

View File

@@ -40,11 +40,14 @@ my $db = {
'AMAD' => { 'AMAD' => {
'Normal' => 'set %DEVICE% ttsMsg %MSG%', 'Normal' => 'set %DEVICE% ttsMsg %MSG%',
'ShortPrio' => 'set %DEVICE% ttsMsg %MSGSH%', 'ShortPrio' => 'set %DEVICE% ttsMsg %MSGSH%',
'Short' => 'set %DEVICE% notifySndFile %AMAD_FILENAME%', 'Short' => 'set %DEVICE% ttsMsg %MSGSH%',
'defaultValues' => { 'defaultValues' => {
'ShortPrio' => { 'ShortPrio' => {
'MSGSH' => 'Achtung!', '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' => { 'light' => {