● ha작업) amcrest camera 를 HAOS에 직접 mqtt로 연결하기 amcrest2mqtt 설정 방법
♨ 카랜더 일정 :
2024년06월05일
링크
첨부
본문
● ha작업) amcrest camera 를 HAOS에 직접 mqtt로 연결하기 amcrest2mqtt 설정 방법
현제 사용가능한 애드온
https://github.com/ikifar2012/amcrest2mqtt-addon/blob/main/README.md
==================
https://github.com/dchesterton/amcrest2mqtt
카메라 haos에 초기 직접연결 ( 시놀로지 연결후 병행 )
>> 빠른 응답,모션감지 활용 자동화
카메라 암호 변경후 수정작업
카메라 amc2mqtt 애드온동작 하지 않응때 조치
애드온 설치후 문제 발생 > 마지막 메세지
05/06/2024 01:11:15 [INFO] Exiting app... [10:14:51] INFO: Read all configuration settings [10:14:53] INFO: Start the amcrest2mqtt.py 05/06/2024 01:14:54 [INFO] App Version: 1.0.15 05/06/2024 01:14:54 [INFO] Fetching camera details... <Unconnected @ > Trying again due to error: InvalidURL("Invalid URL 'http://:80/cgi-bin/magicBox.cgi?action=getMachineName': No host supplied") <Unconnected @ > Trying again due to error: InvalidURL("Invalid URL 'http://:80/cgi-bin/magicBox.cgi?action=getMachineName': No host supplied") <Unconnected @ > Trying again due to error: InvalidURL("Invalid URL 'http://:80/cgi-bin/magicBox.cgi?action=getMachineName': No host supplied") 05/06/2024 01:14:54 [ERROR] Error fetching camera details 05/06/2024 01:14:54 [INFO] Exiting app... [10:16:56] INFO: Read all configuration settings [10:16:58] INFO: Start the amcrest2mqtt.py 05/06/2024 01:17:00 [INFO] App Version: 1.0.15 05/06/2024 01:17:00 [INFO] Fetching camera details... 05/06/2024 01:17:02 [INFO] Device type: IP2M-841B-V3 05/06/2024 01:17:02 [INFO] Serial number: AMC057647702FF5593 05/06/2024 01:17:02 [INFO] Software version: 2.800.00AC003.0.R 05/06/2024 01:17:02 [INFO] Device name: AMC05764_FF5593 05/06/2024 01:17:03 [INFO] Writing Home Assistant discovery config... 05/06/2024 01:17:03 [INFO] Fetching storage sensors... 05/06/2024 01:17:03 [ERROR] Unexpected MQTT disconnection 05/06/2024 01:17:03 [INFO] Exiting app...
상기 애드온 동작 하지 않음으로 문제 발생 삭제
다른 amcrest2mqtt 설치
https://addons.mathesonsteplock.ca/docs/addons/amcrest2mqtt/basic-config/
애드온 설치
정상 동작
============================================== 기타 구성 ===========
구성
# 2024_0605_1027_33
# /config/configuration.yaml
# amcrest camera setting 2024_0516_1123_20
# https://amcrest.com/4mp-wifi-camera-pan-tilt-ip4m-1041b.html
# https://www.home-assistant.io/integrations/amcrest
# Version
# Software VersionV2.800.00AC003.0.R, Build Date: 2022-08-11
# WEB VersionV3.2.1.18144
# ONVIF Version21.12(V3.1.0.1207744)
# S/NAMC0576477
# Copyright 2021 Amcrest Technologies. All Rights Reserved.
# Example configuration.yaml entry
# ffmpeg integration, see https://www.home-assistant.io/integrations/ffmpeg/
ffmpeg:
# Stream integration, see https://www.home-assistant.io/integrations/stream
stream:
# Amcrest integration, see https://www.home-assistant.io/integrations/amcrest/
amcrest:
- host: 192.168.0.30
username: !secret amcrest_user1
password: !secret amcrest_pass1
# resolution: high
# stream_source: rtsp
binary_sensors:
- motion_detected
- crossline_detected
- online
sensors:
- sdcard
- ptz_preset
카메라
모션 감지
모션감지 자동화
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
뷰PDF 1,2
office view
관련자료
-
링크
-
이전
-
다음
댓글목록
등록된 댓글이 없습니다.