Hi
I’ve had home assistant running on a virtual machine (full hassos VM) on my qnap NAS for a number of years but recently moved it to a raspberry Pi 4 roughly a month ago.
I restored a backup on the new pi 4 (rpi4-64) and since then I have been getting the error in the subject.
All my telegram messages come to me twice. I did not adjust any configuration.
Logger: homeassistant.components.telegram_bot.polling
Source: components/telegram_bot/polling.py:34
Integration: Telegram bot (documentation, issues)
First occurred: 7 October 2022 at 09:01:58 (2295 occurrences)
Last logged: 06:51:31
Update “None” caused error: “Conflict: terminated by other getUpdates request; make sure that only one bot instance is running”
My main configuration.yaml:
telegram_bot: !include configs/auth/telegram.yaml
notify: !include configs/telegram.yaml
telegram_bot config:
- platform: polling
api_key: xxx:xxxxx
allowed_chat_ids:
- 0000000001
- -0000000002
notify config:
- name: HomeAlertMike
platform: telegram
chat_id: 0000000001
- name: HomeAlertGroup
platform: telegram
chat_id: -0000000002
Example of some of my automations:
- id: '13'
alias: Telegram Alert on Main Zone Stay
description: ''
trigger:
- entity_id: alarm_control_panel.house
from: pending
platform: state
to: armed_home
condition: []
action:
- alias: ''
data:
message: The Main Zone of the Alarm has been set to Stay
service: notify.homealertgroup
- id: '14'
alias: Telegram Alert on Garden Zone Stay
description: ''
trigger:
- entity_id: alarm_control_panel.garden
from: pending
platform: state
to: armed_home
condition: []
action:
- alias: ''
data:
message: The Garden Zone of the Alarm has been set to Stay
service: notify.homealertgroup
- id: '15'
alias: Telegram Alert on Main Zone Arm
description: ''
trigger:
- entity_id: alarm_control_panel.house
from: pending
platform: state
to: armed_away
condition: []
action:
- alias: ''
data:
message: The Main Zone of the Alarm has been set to Arm
service: notify.homealertgroup
- id: '29'
alias: Gate Open 5min
description: ''
trigger:
- entity_id: cover.gate
for: 00:05:00
platform: state
to: open
condition: []
action:
- data:
message: The gate has been open for 5 minutes
service: notify.homealertgroup
There are more…
I have seen the other thread on these forums about this where the issue was due to NodeRed but I do not use NodeRed https://community.home-assistant.io/t/help-on-telegram-extension-error-while-getting-updates-conflict-terminated-by-other-getupdates-request-make-sure-that-only-one-bot-instance-is-running-409/177544
System info:
Home Assistant 2022.10.1
Supervisor 2022.09.1
Operating System 9.0
Frontend 20221006.0 - latest
Any ideas? Anywhere I can dig into a bit more of the logs to try and track down more information about the duplicate process?