TTS Bluetooth Speaker for Home Assistant

원본: https://github.com/pkozul/ha-tts-bluetooth-speaker 이 프로젝트는 Bluetooth 스피커를 통해 TTS(텍스트 음성 변환)를 재생하는 Home Assistant용 미디어 플레이어(사용자 정의 구성 요소)를 제공합니다. HA의 Bluetooth 장치 추적기(존재 감지용)를 사용하는 경우, 이 프로젝트는 두 구성 요소가 원활하게 작동할 수 있도록 하는 대체 Bluetooth 추적기도 제공합니다. Bluetooth 추적기는 지속적으로 장치를 스캔하기 때문에 Bluetooth 스피커에서 오디오 재생이 중단되거나 스캔하는 동안 끊길 수

TTS Bluetooth Speaker for Home Assistant 더 읽기"

Home Assistant IR 리모컨 센서 설정 예제

■관련 링크:  IR리모컨 제어: https://cafe.naver.com/koreassistant/12641  HA 도우미 개념: https://rayblog.tistory.com/206 1.리모컨 코드 얻기  좌측 Zigbee2MQTT > IR 장치 선택 > ⇧Exposes(노출)    Learn ir code: ON    리모컨의 버튼을 누르면 Ir code to send에 코드가 나타나며 추후 등록을 위해 모두 기록해 놓는다.     테스트 리모컨 명: ir_remote1    테스트 리모컨 코드: __code1___ 2.리모컨 발신 스크립트

Home Assistant IR 리모컨 센서 설정 예제 더 읽기"

Home Assistant Reverse Proxy

1.Home Assistant 에서 Reverse Proxy 허용   vi /var/homeassistant/homeassistant/configuration.yaml———-# Enable Reverse Proxyhttp:  use_x_forwarded_for: true  trusted_proxies:    – 10.10.10.0/24    – 127.0.0.1 # Enable WebSocketwebsocket_api:———- 2. apache2 설정 예제   echo “Listen 443” >> /etc/apache2/ports.conf  a2enmod proxy_wstunnel  vi /etc/apache2/sites-available/hass_reverse_proxy.conf———-############################################################ /etc/apache2/sites-available/hass_reverse_proxy.conf## Add the following to Home Assistant’s configuration.yaml:############################################################http:#  use_x_forwarded_for: true#  trusted_proxies:#    – 10.10.10.0/24#    – 10.10.10.108#

Home Assistant Reverse Proxy 더 읽기"

Raspberry Pi 4 Model B

Raspberry Pi OS Download: https://www.raspberrypi.com/software/operating-systems/ Armbian Download: https://www.armbian.com/rpi4b/ Home Assistant Operating System Download: https://github.com/home-assistant/operating-system/releases Specifications: https://www.raspberrypi.com/products/raspberry-pi-4-model-b/specifications/ My Raspberry Pi 4B Mac Address d8:3a:dd:aa:8c:44 ■Specifications  Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.8GHz  4GB LPDDR4-3200 SDRAM (depending on model)  2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE  Gigabit Ethernet  2 USB

Raspberry Pi 4 Model B 더 읽기"

NanoPi R3S

■관련 URL  매뉴얼: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R3S  구입: https://ko.aliexpress.com/item/1005007627886669.html  Homepage: https://www.friendlyelec.com/index.php?route=product/product&product_id=303  Download: https://drive.google.com/drive/folders/1qRUboKk8igBH59lcRJ-9GgrV9J6F2unE ■Toolchain 설치  apt -y install python3-pip  bash -c “$(curl -fsSL https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh)”  설치 테스트:    export PATH=/opt/FriendlyARM/toolchain/11.3-aarch64/bin:$PATH    aarch64-linux-gcc -v ■리눅스 커널 빌드  git clone https://github.com/friendlyarm/kernel-rockchip –single-branch –depth 1 -b nanopi6-v6.1.y kernel-rockchip  cd kernel-rockchip  touch .scmversion   # Configuring the Kernel  # Load default configuration  make

NanoPi R3S 더 읽기"

Home Assistant 자동화 구성에 대한 개념

Home Assistant 자동화 구성에 대한 개념출처: https://rayblog.tistory.com/168참고: https://www.home-assistant.io/docs/automation/ 1. 자동화(오토메이션) 이란?  자동화란, 글자 그대로 특정 동작을 사람이 실행하지 않고 자체적으로 실행할 수 있게 만드는것 입니다.  자동화가 어려운것 같지만, 저희는 실제로 이미 구성된 자동화를 실생활에서 많이 사용하고 있습니다.  제 생각에 가장 쉽게 접할 수 있고 사용하고 있는 자동화는, 센서등인것 같습니다.   움직임이 감지되면→불이 켜진다.→xx초 후 불이

Home Assistant 자동화 구성에 대한 개념 더 읽기"

Home Assistant 기본 통합구성 항목

■쇼핑 리스트https://www.home-assistant.io/integrations/shopping_list/쇼핑 목록 항목을 추적할 수 있습니다.사이드바에서 쇼핑 목록에 액세스할 수 있으며, 대시 보드에 할 일 목록 카드를 추가할 수도 있습니다. 대화 통합을 사용하면 “쇼핑 목록에 계란 추가”와 같은 음성 명령을 사용하여 쇼핑 목록에 항목을 추가할 수 있습니다. ■태양https://www.home-assistant.io/integrations/sun/태양은 Home Assistant 구성에서 태양이 수평선 위 또는 아래에 있는지 추적합니다. 태양은 자동화 내에서 선택적 오프셋을 사용하여

Home Assistant 기본 통합구성 항목 더 읽기"

Install Home Assistant Supervised

✔참고 사이트:   https://github.com/home-assistant/supervised-installer   https://docs.jethome.ru/en/controllers/linux/howto/zigbee2mqtt.html   https://www.zigbee2mqtt.io/guide/configuration/homeassistant.html   https://www.zigbee2mqtt.io/guide/usage/integrations/home_assistant.html   https://rayblog.tistory.com/m/207 ✔사용한 장비:   Raspberry Pi 4 Model B 4GB RAM / OS: Raspberry Pi OS Lite-Debian 12 (bookworm)   SONOFF Zigbee 3.0 USB Dongle Plus V2 / SoC: EFR32MG21 ✔HASS: Home ASSistant —————————————————————————— 1.Home Assistant 종류   Home Assistant Core: 기본 기능만 탑재

Install Home Assistant Supervised 더 읽기"

SONOFF ZBDongle-E 펌웨어 업그레이드

SONOFF Zigbee 3.0 USB Dongle Plus V2 ■펌웨어 다운로드:https://github.com/darkxst/silabs-firmware-builder/tree/main/firmware_builds/zbdonglee ■매뉴얼 다운로드:https://sonoff.tech/wp-content/uploads/2022/11/SONOFF-Zigbee-3.0-USB-dongle-plus-firmware-flashing-.pdf ■플래싱 절차python3 -m venv /root/venvsource /root/venv/bin/activatepip install universal-silabs-flasheruniversal-silabs-flasher –verbose –device /dev/ttyUSB0 –bootloader-reset sonoff flash –firmware ncp-uart-hw-v7.4.4.0-zbdonglee-115200.gbl

SONOFF ZBDongle-E 펌웨어 업그레이드 더 읽기"

9 in 1 Air Quality Detector

■제품명: 9 in 1 Air Quality Detector■모델명: 2CO9■측정 범위 ▣PM2.5-초미세먼지: 0~1000㎍/㎥  •국내 가이드라인 35㎍/㎥ 이하 ▣PM1.0-초초미세먼지: 0~1000㎍/㎥ ▣PM10-미세먼지: 0~1000㎍/㎥  •국내 가이드라인 100㎍/㎥ 이하 ▣CO-일산화탄소: 0~500ppm  •국내 가이드라인9ppm 이하 ▣CO2-이산화탄소: 400~6000ppm  •~450 ppm 건강한 환기 관리가 된 레벨  •~1000 ppm 건강 피해 없지만 불쾌감 느낌 ▣HCHO-포름알데히드: 0~0.6㎎/㎥  •국내 가이드라인 0.015㎎/㎥ 이하 ▣TVOC-총휘발성유기화합물: 0~2.0㎎/㎥  – 국내 가이드라인

9 in 1 Air Quality Detector 더 읽기"

Install Home Assistant Core

참고: https://www.home-assistant.io/installation/odroid테스트 장비: Orange Pi Zero2 1. 기본 요구사항  Ubuntu 24.04 이상  Python 3.12 이상 2. 필요한 리눅스 패키지 설치  apt install -y python3 python3-dev python3-venv python3-pip bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libturbojpeg0-dev tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev  apt install -y libtiff6 3. 사용자 추가  useradd –system –create-home -c “Home Assistant” -d

Install Home Assistant Core 더 읽기"

리눅스 사운드 제어

리눅스에서 사운드를 재생하기 위해서는 ALSA와 pulseaudio가 정상 동작 중이어야 한다. ■ALSA란?ALSA(Advanced Linux Sound Architecture)는 사운드 카드 장치 드라이버를 위한 애플리케이션 프로그래밍 인터페이스(API)를 제공하는 소프트웨어 프레임워크로 리눅스의 ALSA 커널 드라이버와 사용자 영역을 인터페이스 한다. https://mediaframework-world.tistory.com/31https://github.com/alsa-project/alsa-lib # 리눅스에서 사운드 커널 드라이버 정상동작 확인 방법https://help.ubuntu.com/community/SoundTroubleshooting aplay -llspci -v | grep -A7 -i “audio” ■pulseaudio펄스오디오(PulseAudio)는 네트워크 기능이 있는 사운드

리눅스 사운드 제어 더 읽기"

위로 스크롤