i want so send a picture via Telegram taken by habpanelviewer tablet.
I have a Image Item. Picture is taken. I can see it on habpanel.
Test Rule sending only text works fine! So there is no Problem with the bot.
But i cant send Pictures.
rule:
rule "Testbild"
when Item Test changed
then
sendTelegramPhoto("bot", ifirewhz, "Wohnzimmer")
end
Log:
[ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Testbild': An error occurred during the script execution: Could not invoke method: org.openhab.action.telegram.internal.Telegram.sendTelegramPhoto(java.lang.String,java.lang.String,java.lang.String) on instance: null
or
rule "Testbild"
when Item Test changed
then
sendTelegramPhoto("bot", ifirewhz.state.toFullString, "Wohnzimmer")
end