2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

msgSchema: add schema for SiSi module

git-svn-id: https://svn.fhem.de/fhem/trunk@20113 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-09-06 10:47:01 +00:00
parent 79aa3c6685
commit 9cb4052eee

View File

@ -266,6 +266,26 @@ my $db = {
},
},
'SiSi' => {
'Normal' => 'set %DEVICE% %SiSi_MTYPE% @%RECIPIENT% %MSG%',
'High' => 'set %DEVICE% %SiSi_MTYPE% @%RECIPIENT% %MSG%',
'Low' => 'set %DEVICE% %SiSi_MTYPE% @%RECIPIENT% %MSG%',
'defaultValues' => {
'Normal' => {
'RECIPIENT' => '',
'SiSi_MTYPE' => 'message',
},
'High' => {
'RECIPIENT' => '',
'SiSi_MTYPE' => 'message',
},
'Low' => {
'RECIPIENT' => '',
'SiSi_MTYPE' => 'message',
},
},
},
'TelegramBot' => {
'Normal' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
'High' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
@ -392,21 +412,21 @@ my $db = {
'set %DEVICE% msg title=\'%TITLE%\' lifetime=%EXPIRE% priority=%LaMetric2_PRIORITY% sound=%LaMetric2_SOUND% repeat=%LaMetric2_REPEAT% cycles=%LaMetric2_CYCLES% message=\'%MSG%\'',
'defaultValues' => {
'Normal' => {
'EXPIRE' => '120',
'EXPIRE' => '120',
'LaMetric2_PRIORITY' => 'warning',
'LaMetric2_SOUND' => 'notification',
'LaMetric2_REPEAT' => '1',
'LaMetric2_CYCLES' => '1',
},
'High' => {
'EXPIRE' => '120',
'EXPIRE' => '120',
'LaMetric2_PRIORITY' => 'critical',
'LaMetric2_SOUND' => 'alarm13',
'LaMetric2_REPEAT' => '3',
'LaMetric2_CYCLES' => '2',
},
'Low' => {
'EXPIRE' => '120',
'EXPIRE' => '120',
'LaMetric2_PRIORITY' => 'info',
'LaMetric2_SOUND' => 'positive5',
'LaMetric2_REPEAT' => '1',