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


● ha작업) 구글 nest-hub에 haos 대시보드 를 보이게 하자

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

  • 첨부

  • 컨텐츠 정보

    본문

    ● ha작업) 구글 nest-hub에   haos 대시보드 를 보이게 하자


    https://blog.fuzzymistborn.com/homeassistant-and-catt-cast-all-the-things/#installation

    에서 정지 내용 참조

    작업 방법)

    ssh terminal 접속 합니다

    docker ps

    docker exec -it homeassistant bash

    ==========> haos 접속 됩니다

    cat 설치 방

    pip3 install catt
    catt scan

    -------------------

    homeassistant:/config# catt scan

    Scanning Chromecasts...

    192.168.0.19 - Nest Audio-거실 - Google Inc. Nest Audio

    192.168.0.49 - Nest hub-서재 - Google Inc. Google Nest Hub

    192.168.0.28 - SHIELD - NVIDIA SHIELD Android TV

    192.168.0.21 - 홈미니-안방 - Google Inc. Google Home Mini

    -------------------

    Commands:

      add           Add a video to the queue (YouTube only).

      cast          Send a video to a Chromecast for playing.

      cast_site     Cast any website to a Chromecast.

      clear         Clear the queue (YouTube only).

      del_alias     Delete the alias name of the selected device.

      del_default   Delete the default device.

      ffwd          Fastforward a video by TIME duration.

      info          Show complete information about the currently-playing video.

      pause         Pause a video.

      play          Resume a video after it has been paused.

      play_toggle   Toggle between playing and paused state.

      remove        Remove a video from the queue (YouTube only).

      restore       Return Chromecast to saved state.

      rewind        Rewind a video by TIME duration.

      save          Save the current state of the Chromecast for later use.

      scan          Scan the local network and show all Chromecasts and their IPs.

      seek          Seek the video to TIME position.

      set_alias     Set an alias name for the selected device.

      set_default   Set the selected device as default.

      skip          Skip to end of content.

      status        Show some information about the currently-playing video.

      stop          Stop playing.

      volume        Set the volume to LVL [0-100].

      volumedown    Turn down volume by a DELTA increment.

      volumeup      Turn up volume by a DELTA increment.

      write_config  Please use "set_default".

      

      

      catt -d 192.168.0.49 cast_site https://www.google.com

      하면 Nest hub-서재 화면에 goole 웹사이트가 나온다

      

      중지 명령 

      catt -d "NAME_OF_DEVICE" stop

      catt -d 192.168.0.49 stop


      catt -d 192.168.0.49 cast_site https://11q.kr:8123/

     catt -d 192.168.0.49 stop

       하면 login 화면이 나온다

       is및 암호를 입력 할수 없다


    3232235521_1719396988.7415.png

       

     

    자동으로 로그인 설정 방법

    homeassistant:
    # Note that this section is a subset of homeassistant: and is not tabbed all the way to the left like other things in configuration.yaml
      auth_providers:
        - type: trusted_networks
          trusted_networks:
            - IP_ADDRESS_1/32
            - IP_ADDRESS_2/32
            - IP_ADDRESS_3/32
          trusted_users:
            IP_ADDRESS_1: DASHBOARD_USER_ID
            IP_ADDRESS_2: DASHBOARD_USER_ID
            IP_ADDRESS_3: DASHBOARD_USER_ID
          allow_bypass_login: true
          # Note that bypass_login only works if one user is authorized
    ===================


    homeassistant:/config# catt scan

    Scanning Chromecasts...

    192.168.0.19 - Nest Audio-거실 - Google Inc. Nest Audio

    192.168.0.49 - Nest hub-서재 - Google Inc. Google Nest Hub

    192.168.0.28 - SHIELD - NVIDIA SHIELD Android TV

    중에
    192.168.0.49 - Nest hub-서재 - Google Inc. Google Nest Hub
    를 구성 하자

      # homeassistant: 에 추가
      # Note that this section is a subset of homeassistant: and is not tabbed all the way to the left like other things in configuration.yaml
      auth_providers:
        - type: trusted_networks
          trusted_networks:
            - 192.168.0.49/32
          trusted_users:
            192.168.0.49: sh???
          allow_bypass_login: true
          # Note that bypass_login only works if one user is authorized
    # https://11q.kr/www/bbs/board.php?bo_table=co3&wr_id=2424
    # https://blog.fuzzymistborn.com/homeassistant-and-catt-cast-all-the-things/#installation
    # pc ip를 추가하면 복구 안됨


    에러 발생>>>


    Home Assistant Core
     오후 7:59:30 – (경고) Home Assistant Supervisor

    지우기

    Home Assistant Core

    2024-06-26 19:59:30.818 WARNING (MainThread) [homeassistant.helpers.config_validation] The 'base_url' option is deprecated, please remove it from your configuration
    2024-06-26 19:59:30.844 WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled

    ===============

    저는 trusted_users: 적용 실패

          trusted_users:
            192.168.0.49: 사용자에서 id확인
          allow_bypass_login: true
    만 들어가면 error 입니다

    아이디 확인 방법> 사용자 에서
    3232235521_1719462859.8969.png

    7450f7d94cb840cdbf24c3172???

    3232235521_1719464551.982.png


    구성 configuration.yaml 편집 trusted ,,, 적용 에서 실패

    셋탑box 쉴드tv 로 접속 

    아래 아이디를 캡춰하여 카톡으로 전송> 카톡을보고 확인 입력

    3232235521_1719463063.0529.png

     catt -d 192.168.0.28 cast_site https://11q.kr:8123/

    7450f7d94cb840cdbf24c317???

     catt -d 192.168.0.28 stop

    셋탑box 쉴드tv 로 접속 작업 중

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

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



    office view

    관련자료

    댓글목록

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    7450f7d94cb840cdbf24c31721c3097a

    답변

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


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-28 06:06:11

    오늘의 홈 현황


    • 현재 접속자♨ 544 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 7 명
    • 오늘 방문자 1,042 명
    • 어제 방문자 2,126 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,400,197 명
    • 전체 게시물※ 8,661 개
    • 전체 댓글수※ 24,781 개
    • 전체 회원수 11,072 명

    QR코드


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

    알림 0








    최신글↑