Telegram function stopped working
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
peter65e
- Posts: 6
- Joined: Sunday 14 September 2025 22:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Telegram function stopped working
Hi Domoticz Forum,
I'm struggling to figure out why my Telegram function not working any more, any one out there experienced the same issue??
My notification function stopped working in the beginning of July, no changes done for the Telegram config.
Telegram ENABLED
API Key correct
Chat ID correct
Has work flawlwess before
Pushing the test button NO Messages arrives in my Telegram APP.
Verifying connectivity from the Raspberry PI i can send Telegram messages from a browser using an https test string using the same API and Chat ID and it arrives correct to the Telegram app.
Also tried another Telegram API key but no success.
Version: 2025.1
Platform: Raspbian GNU/Linux 10 (buster)
Plugin/Hardware: Rapberry PI 3
Description: Telegram issue
Best regards
Peter
I'm struggling to figure out why my Telegram function not working any more, any one out there experienced the same issue??
My notification function stopped working in the beginning of July, no changes done for the Telegram config.
Telegram ENABLED
API Key correct
Chat ID correct
Has work flawlwess before
Pushing the test button NO Messages arrives in my Telegram APP.
Verifying connectivity from the Raspberry PI i can send Telegram messages from a browser using an https test string using the same API and Chat ID and it arrives correct to the Telegram app.
Also tried another Telegram API key but no success.
Version: 2025.1
Platform: Raspbian GNU/Linux 10 (buster)
Plugin/Hardware: Rapberry PI 3
Description: Telegram issue
Best regards
Peter
- waltervl
- Posts: 6689
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Telegram function stopped working
For me Telegram still works with my 2025.1 stable. Pressing the Test button triggers a test message in Telegram.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
peter65e
- Posts: 6
- Joined: Sunday 14 September 2025 22:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Telegram function stopped working
Okay thanks fort the reply the Telegram function in my version isn't broken then.
Is there some other dependencies that must be fulfilled? Like public IP? Firewall rules?
I did become aware of this Telegram issue after we had to change our ISP, the main difference now is that the new ISP will not supply me with an public IP. I'm not sure if that could be an issue for the Domoticz Telegram function?
I also tried to connect my RPI to a different router over 4G but same result.
I also tried to debug using Wireshark if there where some issue showing up there. Hard to find any error that could explain what's all about.
The log from Domoticz is showing this...and it's not happy about something
2025-09-19 12:28:56.259 Status: Notification: Domoticz test
2025-09-19 12:29:06.288 Error: Telegram:
2025-09-19 12:29:06.288 Notification sent (telegram) => Failed
2025-09-19 12:29:06.299 Active notification Subsystems: browser, telegram (2/13)
Any idea what to look for? More logfiles to look into??
/Peter
Is there some other dependencies that must be fulfilled? Like public IP? Firewall rules?
I did become aware of this Telegram issue after we had to change our ISP, the main difference now is that the new ISP will not supply me with an public IP. I'm not sure if that could be an issue for the Domoticz Telegram function?
I also tried to connect my RPI to a different router over 4G but same result.
I also tried to debug using Wireshark if there where some issue showing up there. Hard to find any error that could explain what's all about.
The log from Domoticz is showing this...and it's not happy about something
2025-09-19 12:28:56.259 Status: Notification: Domoticz test
2025-09-19 12:29:06.288 Error: Telegram:
2025-09-19 12:29:06.288 Notification sent (telegram) => Failed
2025-09-19 12:29:06.299 Active notification Subsystems: browser, telegram (2/13)
Any idea what to look for? More logfiles to look into??
/Peter
- habahabahaba
- Posts: 267
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: Telegram function stopped working
Try this command
From browser
Code: Select all
https://api.telegram.org/bot<YOUR_BOT_NUMBER>/getUpdates- waltervl
- Posts: 6689
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Telegram function stopped working
Do you not get any public IP? or not a fixed?
I get a new IP every day, no issues with that.
If the https telegram commands are working it could only be an issue with the RPI where Domoticz is running on?
Dou you have your own firewall installed?
You could try to run the command with curl from a terminal session from the Domoticz server.
I get a new IP every day, no issues with that.
If the https telegram commands are working it could only be an issue with the RPI where Domoticz is running on?
Dou you have your own firewall installed?
You could try to run the command with curl from a terminal session from the Domoticz server.
Code: Select all
curl https://api.telegram.org/bot<YOUR_BOT_NUMBER>/getUpdatesDomoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
peter65e
- Posts: 6
- Joined: Sunday 14 September 2025 22:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Telegram function stopped working
I have now tried that and the result seems to bee okay.habahabahaba wrote: Friday 19 September 2025 13:18 Try this commandFrom browserCode: Select all
https://api.telegram.org/bot<YOUR_BOT_NUMBER>/getUpdates
{"ok":true,"result":[]}
Sending a Telegram msg from browser with my bot<MY_BOT_NUMBER> works as it should. If that is a connectivity test so why isn't working from Domoticz test bottom. Same API Key and Chat ID. Very strange.
- jvdz
- Posts: 2445
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Telegram function stopped working
And what is the result when using curl from the commandline of your rpi you are running domoticz on?
-
peter65e
- Posts: 6
- Joined: Sunday 14 September 2025 22:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Telegram function stopped working
"curl" cmd gives the same result. Note sure what this means. The result is "Nothing" ??jvdz wrote: Monday 22 September 2025 15:43 And what is the result when using curl from the commandline of your rpi you are running domoticz on?
{"ok":true,"result":[]}
- jvdz
- Posts: 2445
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Telegram function stopped working
Result is fine for getupdates as that only returns the untead messages.
It also means that things should work from your rpi.
Are you sure you filled the bot info correctly in the domoticz-telegram setup ?
It also means that things should work from your rpi.
Are you sure you filled the bot info correctly in the domoticz-telegram setup ?
-
peter65e
- Posts: 6
- Joined: Sunday 14 September 2025 22:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Telegram function stopped working
Thank's for the reply and verfication of the Bot function.jvdz wrote: Monday 22 September 2025 20:35 Result is fine for getupdates as that only returns the untead messages.
It also means that things should work from your rpi.
Are you sure you filled the bot info correctly in the domoticz-telegram setup ?
I wrote before that I can verify the API key and Chat ID from a browser window with a send string and then I recieve a correct Telegram Msg using the same API key and Chat ID that i use in Domoticz.
Further up in my case you can see the error msg in Domoticz log.
Dosn't tell me what's not working, any suggestions what to test or look into another log ??
- habahabahaba
- Posts: 267
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: Telegram function stopped working
Any OS updates installed may be?
Domoticz in docker?
Domoticz in docker?
-
peter65e
- Posts: 6
- Joined: Sunday 14 September 2025 22:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Telegram function stopped working
Finally I figured out that all of this trouble was a DNS issue. I tried Google DNS 8.8.8.8 but it didn't solve the issue, but when I configured the RASPPI to use the ISP supplied DNS servers it all started to works at it should. The strange part is that normal web browsing and all other stuff was working but not the Telgram url. Try and error way to solve things
Thank's for all help along the way.
/Peter
Thank's for all help along the way.
/Peter
Who is online
Users browsing this forum: Thorgal789 and 1 guest