Installation Doorbell Beward

Bonjour

Mon problème

J’essai d’installer sur HA ma sonnette beward DS06M qui est une sonnette connecté
J’ai suivi ce lien GitHub - Limych/ha-beward: Home Assistant custom component for Beward security Cameras and Doorbells
voici ma config

beward:
  - host: 192.168.1.25
    username: xxxx
    password: xxxxxxxxx
    name: "Doorbell"
    port: 8080
    rtsp_port: 554
    cameras:
      - live
      - last_motion

et voici les messages d’erreur:

Invalid config
The following integrations and platforms could not be set up:

beward
Please check your config and logs.
Error during setup of component beward
17:49:54 – custom_components/beward/__init__.py (ERROR)
Error! HTTPConnectionPool(host='192.168.1.25', port=80): Max retries exceeded with url: /cgi-bin/systeminfo_cgi?action=get (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x712f74d8>: Failed to establish a new connection: [Errno 111] Connection refused'))
17:49:51 – /usr/local/lib/python3.8/site-packages/beward/core.py (ERROR)

Ma configuration

``## System Health

version core-2021.2.3
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.83-v7
arch armv7l
timezone Europe/Paris
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4974
Installed Version 1.11.3
Stage running
Available Repositories 751
Installed Repositories 4
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Hass.io
host_os Home Assistant OS 5.11
update_channel stable
supervisor_version supervisor-2021.02.11
docker_version 19.03.13
disk_total 58.0 GB
disk_used 4.0 GB
healthy true
supported true
board rpi3
supervisor_api ok
version_api ok
installed_addons Samba share (9.3.0), File editor (5.2.0), Duck DNS (1.12.5), ESPHome (1.16.0), Terminal & SSH (9.0.1)
Lovelace
dashboards 1
resources 2
views 5
mode storage
`` voilà merci pour votre aide

Entre ça:

et:

Il y a un truc qui coince.
Tu donnes 8080 comme port et dans les logs on voit 80…

Si tu vas avec un navigateur sur ta caméra tu fais quoi http://192.168.1.25 ou http://192.168.1.25:8080 ?

Si c’est le deuxième et sauf si c’est un problème je mettrais le port par défaut (je suppose 80) sur la caméra et changer la config pour virer la ligne port: puisque tu auras la valeur par défaut.

merci @golvert c’était exactement ça la deuxième solution j’ai remis sur ma sonnette le port 80 car j’avais mis 8080 et ensuite supprimé le port dans configuration.yaml et la j’ai l’image. Au top merci