Esphome Doorbell Camera - Camera feed unavailable

Hey there !

Recently i managed to built this doorbell

Worked like a charm until … my camera feed is somewhat “banned” from my browser or iOS app.

At first, i thought about an issue with Nginx, Duckdns, my router, but now it wont show any feed on the lovelace card.

I keep getting this message :

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:124
Integration: HTTP (documentation, issues)
First occurred: 00:30:55 (3 occurrences)
Last logged: 00:46:05

Login attempt or request with invalid authentication from 192.168.1.105 (192.168.1.105). (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0)

I think this come from an issue about authentification between the doorbell node and homeassistant.
But i cant manage to resolve it by myself…

I must clear a few things :
192.168.1.105 : is my computer (from which i’m trying to explain to you my problem)
192.168.1.106 : is my HassIO on a rpi 4 + ssd
and the doorbell is on dhcp as doorbell.local:6053

Here is http: of my configuration.yaml:

http:
  #ssl_certificate: /ssl/fullchain.pem
  #ssl_key: /ssl/privkey.pem
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24

Any hints for a french beginner?
Thankyou !

1 Like

Hi,

Answering my own question !

I just set a manual IP in the esphome node and bam! the camera feed is back.

A good night sleep help…

1 Like

Fun to see that you built my doorbell! :partying_face:

Do you have any pictures so we can see how it turned out? :smile:

Hi @petrepa ,

Kinda customized it :slight_smile:

I use this base for the printed parts, then i used Fusion360 to adapt to my old “Legrand” doorbell screw holes.

I had a lot of issues with my oled screen so now it is not working. I tried to move it to much and i think that i “unsolder” the screen connector.


Thank you for your code. It helped me get launched !

By the way, do you get issues with your camera like i did in this post? i just update to the latest HA version (2021.7) and here i go again my camera is somewhat banned.

Looks really nice!

No, luckily I haven’t had any problems with my installation…

Update to the 7.2 (and 7.3 & 7.4) and it solved my problem with the camera feed.

:relieved: