Hi everyone
I am trying to set up a push camera so I can get images from a remote MotionEye server. I have followed this instructions https://www.home-assistant.io/integrations/push/ and added this bit to my configuration.yaml:
camera:
- platform: push
name: motioneye_mirador
buffer: 5
timeout: 5
webhook_id: motioneye_mirador_wh
But on HA reboot I get
Logger: homeassistant.components.camera
Source: helpers/network.py:123
Integration: Camera (documentation, issues)
First occurred: 13:32:15 (1 occurrences)
Last logged: 13:32:15
Error while setting up push platform for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 205, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/push/camera.py", line 57, in async_setup_platform
PushCamera(
File "/usr/src/homeassistant/homeassistant/components/push/camera.py", line 106, in __init__
self.webhook_url = hass.components.webhook.async_generate_url(webhook_id)
File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 60, in async_generate_url
get_url(hass, prefer_external=True, allow_cloud=False),
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 83, in get_url
request_host = _get_request_host()
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 123, in _get_request_host
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError
What am I missing here?
Thank you!