Hi, have several rules to trigger alarm via telegram.
all working fine until i restart OH.
after restart the following lines appear in the log
2022-06-28 16:24:20.688 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'alarm.rules', using it anyway:
The field Tmp_alarmRules.telegramAction refers to the missing type Object
The field Tmp_alarmRules.telegramAction refers to the missing type Object
The field Tmp_alarmRules.telegramAction refers to the missing type Object
The field Tmp_alarmRules.telegramAction refers to the missing type Object
The field Tmp_alarmRules.telegramAction refers to the missing type Object
here one of the rules
val telegramAction = getActions("telegram","telegram:telegramBot:Telegram_Bot")
rule "Alarm Drainagepumpe"
when
Item Alarm_Drainage changed to ON
then
{telegramAction.sendTelegram("Drainage Pumpe ausgefallen !!!!")
Echo_Kueche_links_TTS.sendCommand('Achtung Achtung Achtung die Drainage Pumpe ist ausgefallen !')
Echo_Kueche_rechts_TTS.sendCommand('Achtung Achtung Achtung die Drainage Pumpe ist ausgefallen !')
Echo_Show_Schlafzimmer_TTS.sendCommand('Achtung Achtung Achtung die Drainage Pumpe ist ausgefallen !')}
end
if I open the files and just add a space and save it telgram starts to work !
looks like the rule fires before telegram is ready.
any suggestion how to fix this ?
thanks
Thomas