- Platform information:
- Hardware: RPi4
- OS: ArchLinux
- Java Runtime Environment: openjdk 11.0.11
- openHAB version: 3.1.0
- Issue of the topic: sendTelegram not working
- Please post configurations (if applicable):
- Items configuration related to the issue
- Sitemap configuration related to the issue
- Rules code related to the issue
rule "Telegram - Place Balcon Salon"
when
Item place_balcon_salon_isOpen changed from CLOSED to OPEN
then
val telegramAction = getActions("telegram","telegram:telegramBot:xxxxx")
if (sw_alarm.state == ON) {
telegramAction.sendTelegram("ALARM! Place - door open")
}
end
- Services configuration related to the issue
- If logs where generated please post these here using code fences:
I was writting about some difficulties with the rule. The rule was working with a router but not with another router. What I found, it is that it looks like the Telegram bindings do not work for a long period of time when I restart the RPi. Like several minutes after the frontend was available.
Is that normal? Is just an impression?