자동차 위치추적 carlinkitplus 설정 > home assistant >앱설정
작성자 정보
- 최고관리자 작성
- 192.♡.0.1 아이피
- 작성일
컨텐츠 정보
- 3,260 조회
- 목록
링크
첨부
본문
자동차 위치추적 carlinkitplus 설정 > home assistant >앱설정
1) 유심칩 장착 > home assistant 을 구글스토어에서 설치
2) pc에서 home asststant 유저등록 및 암호 등록
차량의 home assistant >앱설정
자동차 위치추적 carlinkitplus 설정 > home assistant >앱설정
> 높은 정확도 모드,백그라운드 위치, 위치지역 , 정확한 단일 위치,정확한 단일 위치,정확안 위치 업데이트 간격,,,,활성화
자동차 위치추적 carlinkitplus 설정 > home assistant >앱설정
> 높은 정확도 모드,백그라운드 위치, 위치지역 , 정확한 단일 위치,정확한 단일 위치,정확안 위치 업데이트 간격,,,,활성화
> 지오코딩 위치,,,,활성화
2) pc에서 home asststant 에서 트래커 등록 및 맵 설정 하기
type: custom:map-card
zoom: 20
card_size: 10
tile_layer_attribution: 날씨예보 ☞
tile_layers:
- url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
options:
attribution: >-
<a href="https://www.weather.go.kr/" target="_blank">기상청</a>,<a
href="https://weather.naver.com/" target="_blank">네이버날씨</a>,<a
href="https://nathan.gs/2024/01/06/ha-map-card-a-new-and-alternative-leaflet-based-map/"
target="_blank">정보</a>
history_start: 172 hours ago
entities:
display: icon
size: 40
name: Device 1
color: green
gradual_opacity: 0.7
pc에서
차량아이콘 변경
차량아이콘 칼라변경
s:wwwimagescar.png
아이콘 준비
# /config/customize.yaml 그림사진 아이콘 변경을 위한 추가 #
# 차량 아이콘 변경 2025_1112_1005_10
# device_tracker.k78436:
device_tracker.k78436:
entity_picture: /local/images/car660.pngpng
차량 정보 일괄 변경( 기기 변경시)
차량이동시 tts 방송
- id: "1732525294818"
alias: car gps change 차량 이동 100m 이상 시 방송
description: device_tracker.car6125 위치가 100m 이상 변하면 방송하고, 위치 갱신
triggers:
- entity_id: device_tracker.car6125
trigger: state
conditions: []
actions:
- variables:
lat_new: "{{ state_attr('device_tracker.car6125', 'latitude') | float(0)
}}"
lon_new:
"{{ state_attr('device_tracker.car6125', 'longitude') | float(0)
}}"
lat_old: "{{ states('input_number.car_previous_latitude') | float(0) }}"
lon_old: "{{ states('input_number.car_previous_longitude') | float(0) }}"
- variables:
distance:
"{{ ( (lat_new - lat_old)**2 + (lon_new - lon_old)**2 )**0.5 * 111000
}}"
- if:
- condition: numeric_state
entity_id: sensor.vehicle_moving_status
above: 0
- condition: template
value_template: "{{ distance > 100 }}"
then:
- data:
cache: false
entity_id: media_player.speaker_pcm5102
message: 차량이 100미터 이상 이동하였습니다.
action: tts.edge_tts_say
- target:
entity_id: input_number.car_previous_latitude
data:
value: "{{ lat_new }}"
action: input_number.set_value
- target:
entity_id: input_number.car_previous_longitude
data:
value: "{{ lon_new }}"
action: input_number.set_value
- delay:
minutes: 10
mode: single
첨부 파일을 스킨보드에 구성 PDF보기( W:\g5\skin\board\BS4-Basic-Webzine_11q_pdf_php82\view.skin.php + view_pdf.php구성)
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.