home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.48k stars 30.69k forks source link

2021.1.4 - reolink cameras via reolink_dev stopped to work, insufficient information how to solve #45261

Closed aisbergde closed 3 years ago

aisbergde commented 3 years ago

The problem

custom component reolink_dev issues after upgrading from 2021.1.1 to 2021.1.4 there is no information about breaking changes from version 2021.1.1 to 2021.1.4 insufficient information about the possible reason of the issue and how to solve breaking changes should be documented

reolink cameras worked fine until hassio upgrade After upgrading hassio I get errors (see at the end of the issue) and can't use reolink cameras.

Environment

System Health

version 2021.1.4
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.79-v7
arch armv7l
timezone Europe/Berlin
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4985 Installed Version | 1.10.0 Stage | running Available Repositories | 710 Installed Repositories | 2
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.8 -- | -- update_channel | stable supervisor_version | 2021.01.4 docker_version | 19.03.13 disk_total | 28.6 GB disk_used | 7.6 GB healthy | true supported | true board | rpi3 supervisor_api | ok version_api | ok installed_addons | Samba share (9.3.0), Check Home Assistant configuration (3.6.0), File editor (5.2.0), Duck DNS (1.12.4)
Lovelace dashboards | 6 -- | -- mode | auto-gen resources | 0

Problem-relevant configuration.yaml

camera
- platform: reolink_dev
  host: 192.168.178.xx
  username: yyyyyy
  password: !secret camera_reolink_password
  name: Garage

Traceback/Error logs

2021-01-17 10:08:11 ERROR (MainThread) [homeassistant.components.camera] The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config.
2021-01-17 10:08:11 ERROR (MainThread) [homeassistant.components.camera] The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config.
2021-01-17 10:08:11 ERROR (MainThread) [homeassistant.components.camera] The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config.
2021-01-17 10:08:11 ERROR (MainThread) [homeassistant.components.camera] The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config.
2021-01-17 10:08:11 ERROR (MainThread) [homeassistant.components.camera] The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config.
2021-01-17 10:08:11 ERROR (MainThread) [homeassistant.components.camera] The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config.
2021-01-17 10:08:11 ERROR (MainThread) [homeassistant.components.camera] The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config.

Additional information

janchrillesen commented 3 years ago

Reolink cameras are now installed using "integrations" and not through the CLI. Please follow https://github.com/fwestenberg/reolink_dev to install the latest version of reolink_dev and remove the cameras from the CLI config. Afterwards you can add the camera

Skærmbillede 2021-01-17 kl  11 35 36
aisbergde commented 3 years ago

OK, this was new for me. It was not so clear from the release history of the reolink_dev Thank you