Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101691

ONVIF cameras from a DVR entity_id clash after upgrading to 0.107.2

$
0
0

@sytchi wrote:

Hi!

I updated today my installation to 0.107.2. Unfortunately that broke my cams configuration. I have several cameras on one DVR integrated through onvif. Thats my config for that:

camera:
  - platform: onvif
    host: 192.168.1.13
    username: *****
    password: *****
    name: Driveway
    profile: 1
    port: 80
  - platform: onvif
    host: 192.168.1.13
    username: *****
    password: *****
    name: Enternance
    profile: 0
    port: 80

For each camera all the config is the same apart the profile number.
That configuration used to work in 0.105 and now it tries to assign the same entity_id to all the cameras.

2020-03-20 21:57:31 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
    raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: camera.entarnance. Platform onvif does not generate unique IDs

How can I fix that?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 101691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>