Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[telegram] Possibility to run telegram addon without long polling, send action-only. For traffic limited applications. #17648

Open
uralm1 opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@uralm1
Copy link

uralm1 commented Oct 28, 2024

I'm requesting a telegram binding option for the complete disabling of long polling telegram updates.
I use telegram binding only to send notifications (as I suppose many of us), so long polling is not necessary for me and only consumes traffic.

In openhab 2.5, we had a dedicated telegram action addon that we could install independently of the binding for this purpose, but in openhab 4.2 the telegram binding always perform polling connections to api.telegram site.

Traffic consumption is the issue for me as I'm running openhab on a site with remote mobile modem.

Telegram binding has longPollingTime configuration option, defaulted to 25 s. Setting it to 0 or to very big value doesn't stop polling. Zero value activates short polling without any delay, big value gives INITIALIZATION error, as this option is limited to maximum 50 seconds.

Environment

OpenHab 4.2.2 (and 2.5.12)

@uralm1 uralm1 added the enhancement An enhancement or new feature for an existing add-on label Oct 28, 2024
@uralm1
Copy link
Author

uralm1 commented Oct 28, 2024

linked with request #10668 (without solution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

1 participant