● ha작업) 구글 nest-hub에 haos 대시보드 를 보이게 하자
본문
● 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 설치 방
-------------------
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및 암호를 입력 할수 없다
자동으로 로그인 설정 방법
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
에러 발생>>>
===============
저는 trusted_users: 적용 실패
7450f7d94cb840cdbf24c3172???
구성 configuration.yaml 편집 trusted ,,, 적용 에서 실패
셋탑box 쉴드tv 로 접속
아래 아이디를 캡춰하여 카톡으로 전송> 카톡을보고 확인 입력
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 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
관련자료
-
링크
-
이전
-
다음