Click on the little ‘i’ in a circle on the dev panel and look for the error message(s) in the list. Click on the message for the full details and paste them here.
Thanks! That’s a feature I wasn’t aware of.
Here’s the errors:
Error setting up platform webhooks
Error setting up platform webhooks
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/components/telegram_bot/__init__.py", line 229, in async_setup
platform.async_setup_platform(hass, p_config)
File "/usr/lib/python3.6/site-packages/homeassistant/components/telegram_bot/webhooks.py", line 83, in async_setup_platform
result = yield from hass.async_add_job(_try_to_set_webhook)
File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/telegram_bot/webhooks.py", line 76, in _try_to_set_webhook
return bot.setWebhook(handler_url, timeout=5)
File "/usr/lib/python3.6/site-packages/telegram/bot.py", line 60, in decorator
result = func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/telegram/bot.py", line 1813, in set_webhook
result = self._request.post(url_, data, timeout=timeout)
File "/usr/lib/python3.6/site-packages/telegram/utils/request.py", line 272, in post
**urlopen_kwargs)
File "/usr/lib/python3.6/site-packages/telegram/utils/request.py", line 210, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443
Setup failed for telegram_bot: Component failed to initialize.
Unable to setup dependencies of notify.telegram. Setup failed for dependencies: telegram_bot
Unable to prepare setup for platform notify.telegram: Could not setup all dependencies.
I forwarded port 8443, and changed to this port in the base_url, now the message about invald config is gone, and no error in the log. But still I can’t find anything related to notify or telegram in the States view.
I tried using polling in stead of webhooks at the beginning, but then I had the same problem as now. No errors, and nothing related to notify or telegram in the Statesview.