코딩정보


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


● ha작업) amcrest camera 를 HAOS에 직접 mqtt로 연결하기 amcrest2mqtt 설정 방법

♨ 카랜더 일정 : 2024년06월05일
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    ha작업) amcrest camera 를 HAOS에 직접 mqtt로 연결하기 amcrest2mqtt 설정 방법

    https://github.com/dchesterton/amcrest2mqtt

    카메라 haos에 초기 직접연결 ( 시놀로지 연결후 병행 )

    >> 빠른 응답,모션감지 활용 자동화

    카메라 암호 변경후 수정작업

    카메라 amc2mqtt 애드온동작 하지 않응때 조치


    3232235521_1717550625.5072.png

    3232235521_1717553434.4663.png


    애드온 설치후 문제 발생 > 마지막 메세지


    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/

    애드온 설치

    3232235521_1717555019.9147.png

    3232235521_1717555164.8457.png


    3232235521_1717555149.8388.png


    3232235521_1717555812.4388.png

    정상 동작

    3232235521_1717555889.4676.png

    3232235521_1717556057.2216.png


    ============================================== 기타 구성 ===========

    구성


    # 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



    카메라

    3232235521_1717551339.2593.png


    모션 감지

    3232235521_1717551321.4695.png


    모션감지 자동화

    3232235521_1717551307.4722.png

    3232235521_1717551296.7909.png


    ☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠1.png

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.


    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-18 22:17:14

    오늘의 홈 현황


    • 현재 접속자♨ 584 명
    • 오늘 가입자※ 5 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 21 명
    • 오늘 방문자 1,802 명
    • 어제 방문자 1,772 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,385,214 명
    • 전체 게시물※ 8,644 개
    • 전체 댓글수※ 24,752 개
    • 전체 회원수 11,060 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑