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

Amcrest IP2M-841B doesn't work in HA

$
0
0

@mklengel wrote:

Hi,

I have problems to integrate an Amcrest IP2M-841B-EGD-DE in HA. Of course I’ve searched the forum for a solution but without success. The topic “Can not get Amcrest IP2M-841B to work” seems similar but I get another error message.

The error message is

Fri Jan 03 2020 21:59:27 GMT+0100 (CET)

required key not provided @ data['media_player']
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
    connection.context(msg),
  File "/usr/src/homeassistant/homeassistant/core.py", line 1213, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: required key not provided @ data['media_player']

configuration.yaml:

ffmpeg:

stream:

amcrest:
  - host: 192.168.1.140
    username: !secret amcrest_user
    password: !secret amcrest_pass
    resolution: high
    stream_source: rtsp
    binary_sensors:
    - motion_detected

camera:
  - platform: amcrest

In the developer section of HA I see:

access_token: 21fda6c45e613dba6ad9b4cb5e09305d75a72976e3e82386ce5e8c2de2862d6f
model_name: IP2M-841B-EGD-DE
brand: Amcrest
audio: 'on'
motion_recording: 'on'
color_bw: auto
friendly_name: Amcrest Camera
entity_picture: >-
  /api/camera_proxy/camera.amcrest_camera?token=21fda6c45e613dba6ad9b4cb5e09305d75a72976e3e82386ce5e8c2de2862d6f
supported_features: 3

VLC works with:

rtsp://user123:pass123@192.168.1.140:554/cam/realmonitor?channel=1&subtype=0

After hours I would like to throw the Amcrest out of the window :slight_smile:
Most likely its my fault but what I’m doing wrong?

Regards
Michael

Posts: 4

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles