Unable to setup DoorBird

Tags: #<Tag:0x00007fa73f312598>

Hi all,

Attempting to set up Doorbird component as per the suggested config:


Config:

doorbird:
devices:
- host: IPADDRESS
username: USERNAME
password: PASSWORD
name: Front Door
monitored_conditions:
- doorbell

camera:

  • platform: doorbird

Log:

Log Details (ERROR)
Wed Jun 27 2018 22:42:53 GMT+1000 (Australian Eastern Standard Time)

Error during setup of component doorbird
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/setup.py”, line 146, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
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/doorbird.py”, line 74, in setup
status = device.ready()
File “/usr/lib/python3.6/site-packages/doorbirdpy/init.py”, line 33, in ready
response, content = self._http.request(url)
File “/usr/lib/python3.6/site-packages/httplib2/init.py”, line 1322, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File “/usr/lib/python3.6/site-packages/httplib2/init.py”, line 1072, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File “/usr/lib/python3.6/site-packages/httplib2/init.py”, line 995, in _conn_request
conn.connect()
File “/usr/lib/python3.6/http/client.py”, line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File “/usr/lib/python3.6/socket.py”, line 724, in create_connection
raise err
File “/usr/lib/python3.6/socket.py”, line 713, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out

Can someone please offer a solution to this problem?

Bumpety bump - anyone at all? <3

Check your indentations when you setup the doorbird component

For some reason the format did that when I pasted it in here. I’ve checked the format and it looks ok.

Hi there! Were you ever able to setup Doorbird?

Update - I was able to set up Doorbird without issue a few weeks ago… Never got to the root of the issue though.

Whats about your token?

Sorry, what about my token?

did you specify the token in the config?

Oh - yes, I sure did.

To be clear, I did manage to get Doorbird working (unless you were talking to @LxFx).

I am so new to this that I am probably making some really stupid mistake. I am trying to setup my doorbird as a device and the config file doesn’t seem to like what I am doing to it. Below is my code. can anyone see anything dumb?

Naturally I have changed the secrets for here but they are in a similar format to what I am entering in.

doorbird:
devices:

  • host: 192.168.8.2x
    username: stdptz0002
    password: NGFsN5JvMP
    token: rsSfHNg9fg
    name: Front Gate
    hass_url_override: 192.168.8.4x

An example of the errors I am getting are:

Invalid config for [doorbird]: extra keys not allowed @ data[‘doorbird’][‘hass_url_override’]. Got ‘192.168.88.41’
extra keys not allowed @ data[‘doorbird’][‘name’]. Got ‘Front Gate’
extra keys not allowed @ data[‘doorbird’][‘password’]. Got ‘NGFsN5JvMP’
extra keys not allowed @ data[‘doorbird’][‘token’]. Got ‘rsSfHNg9fg’
extra keys not allowed @ data[‘doorbird’][‘username’]. Got ‘stdptz0002’
required key not provided @ data[‘doorbird’][‘devices’][0][‘password’]. Got None
required key not provided @ data[‘doorbird’][‘devices’][0][‘token’]. Got None
required key not provided @ data[‘doorbird’][‘devices’][0][‘username’]. Got None. (See /config/configuration.yaml, line 16). Please check the docs at https://home-assistant.io/components/doorbird/

Think it could be your indenting but here is mine for reference, hard to know when you dont use a code block when posting.

doorbird:
  devices:
    - host: 192.168.1.14
      token: xyz
      name: Gate
      username: user
      password: pass
      events:
        - doorbell
        - motion
        - relay_1

Thanks @fergalom …I copy and pasted your code into the configurator and then edited in my details. I still get the same log errors. I am completely unfamiliar with YAML (I used to SQL programming years ago) so what do you mean by a “Code Block” ? I wonder if I have a error within my default configuration.yaml ? Below is the code just before my doorbird: stuff

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

@fergalom …actually managed to get the error to go away. Seems to be working. Do you get to see the doorbird anywhere in the system as device for verification? Heading home now so I will have a bit more of a play when I get there :slight_smile:

setup camera or switch platforms per the bottom of page here to see if working fully.
https://www.home-assistant.io/components/doorbird/