Rules not sending Telegram on Openhab 2.5.10

Hello,
I hope you can help me.

  • Platform information:

    • Raspberry Pi 4
    • openHAB version: Manual Install 2.5.10
    • Installed the Telegram Action (did NOT install the Telegram Binding)
  • Issue of the topic:
    I do not receive Telegram messages based on the rule i defined

telegram.cfg
#some comment lines on the start of the file
bots=bot1
bot1.chatId=9xxxxxxx
bot1.token=1xxxxxxx

telegram.rules
rule “Send telegram with Fixed Message”
when
Thing “zwave:device:ZUID:node5” changed
then
sendTelegram(“bot1”, “item Foo changed”)
end

addons.cfg
action = telegram

Device
PIR Motion Sensor with Temperature Sensor

I want to send message when motion was detected, I do not get any message on Telegram :astonished:

that must be an item instead of a thing.

Add a log statement before the sendTelegram row to see that the change took place.

Hi, I had to re-install everything again, cause i was locked-out of my pi (password bots?)
Then I changed in the paperUI under system the Item Linking - Turned off - once I could see items, I took their name into the rules file, and that worked.
I guess the system need to “see” the Item (?)
so for convenience on installation of new device: Item Linking - ON (automatically create the item)
for functionality: Item Linking - OFF so it is visible in PaperUI

  • Or was it just pure luck for me.