[정규표현식] RPM 파일명에서 버전명 제거
[정규표현식] RPM 파일명에서 버전명 제거 더 읽기"
원본: https://github.com/pkozul/ha-tts-bluetooth-speaker 이 프로젝트는 Bluetooth 스피커를 통해 TTS(텍스트 음성 변환)를 재생하는 Home Assistant용 미디어 플레이어(사용자 정의 구성 요소)를 제공합니다. HA의 Bluetooth 장치 추적기(존재 감지용)를 사용하는 경우, 이 프로젝트는 두 구성 요소가 원활하게 작동할 수 있도록 하는 대체 Bluetooth 추적기도 제공합니다. Bluetooth 추적기는 지속적으로 장치를 스캔하기 때문에 Bluetooth 스피커에서 오디오 재생이 중단되거나 스캔하는 동안 끊길 수
TTS Bluetooth Speaker for Home Assistant 더 읽기"
■관련 링크: 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 리모컨 센서 설정 예제 더 읽기"
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 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
■관련 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
Home Assistant 자동화 구성에 대한 개념출처: https://rayblog.tistory.com/168참고: https://www.home-assistant.io/docs/automation/ 1. 자동화(오토메이션) 이란? 자동화란, 글자 그대로 특정 동작을 사람이 실행하지 않고 자체적으로 실행할 수 있게 만드는것 입니다. 자동화가 어려운것 같지만, 저희는 실제로 이미 구성된 자동화를 실생활에서 많이 사용하고 있습니다. 제 생각에 가장 쉽게 접할 수 있고 사용하고 있는 자동화는, 센서등인것 같습니다. 움직임이 감지되면→불이 켜진다.→xx초 후 불이
Home Assistant 자동화 구성에 대한 개념 더 읽기"
■쇼핑 리스트https://www.home-assistant.io/integrations/shopping_list/쇼핑 목록 항목을 추적할 수 있습니다.사이드바에서 쇼핑 목록에 액세스할 수 있으며, 대시 보드에 할 일 목록 카드를 추가할 수도 있습니다. 대화 통합을 사용하면 “쇼핑 목록에 계란 추가”와 같은 음성 명령을 사용하여 쇼핑 목록에 항목을 추가할 수 있습니다. ■태양https://www.home-assistant.io/integrations/sun/태양은 Home Assistant 구성에서 태양이 수평선 위 또는 아래에 있는지 추적합니다. 태양은 자동화 내에서 선택적 오프셋을 사용하여
Home Assistant 기본 통합구성 항목 더 읽기"
✔참고 사이트: 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 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 펌웨어 업그레이드 더 읽기"
참고: 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)는 네트워크 기능이 있는 사운드
출처: https://windowsforum.kr/lecture/20905473 Powershell 시작https://learn.microsoft.com/ko-kr/powershell/scripting/learn/ps101/01-getting-started?view=powershell-7.4 명령어 검색 명령https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/get-command?view=powershell-7.4 도움말 검색 명령어https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/get-help?view=powershell-7.4 변수https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_variables?view=powershell-7.4 IF 문https://learn.microsoft.com/ko-kr/powershell/scripting/learn/deep-dives/everything-about-if?view=powershell-7.4 연산자https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-7.4 for문https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_for?view=powershell-7.4 foreach문https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_foreach?view=powershell-7.4
Dism /Online /Add-Capability /CapabilityName:Wmic
윈도우11 24H2에서 WMIC 패키지 추가 더 읽기"