Odroid XU4 설정

  • Smart Mirror는 MagicMirror2 기반으로 구성된 오픈 소스 모듈식 Smart Mirror 플랫폼입니다. Odroid에 설치 후 Smart Mirror 이용 가능합니다.

  • Smart Mirror 구매 시, 기본 제공되는 SD카드에서 업데이트 하셔서 사용하셔야 됩니다.

  • 하기의 링크 .img 형식의 이미지 파일 사용하시는 경우 Smart Mirror 사용자 설정만 진행하시면 됩니다.

  • OS 재 설치가 필요하신 경우 하기의 링크에서 .img 형식 이미지 파일을 이용합니다.

  • 하기 주소에서 smart_mirror_240927.img 파일 다운 받으시면 됩니다.

  • 기본 탑재된 OS의 초기 비밀번호는 odroid 입니다.

SD 카드에 Smart Mirror 직접 설치

  • SmartMirror은 Ubuntu 22.04 mate 버전을 기준으로 제작되었습니다. Ubuntu 설치는 하기의 링크를 참고하여 설치합니다.

  • Ubuntu 업데이트, 업그레이드 하기

sudo apt-get update && sudo apt-get upgrade
  • curl 설치하기

sudo apt install curl

Magic Mirror 자동 설치

자동 설치 진행 시 하기 MagicMirror 수동 설치는 진행 안하시면 됩니다.

cd ~
git clone https://github.com/bugsounet/installer
cd installer
./install

Magic Mirror 수동 설치

  • Node.js 버전 다운로드하기

curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
  • Node.js 설치하기

sudo apt install -y nodejs
  • Git 설치하기

sudo apt install git
  • MagicMirror2 다운로드하기.

git clone https://github.com/MichMich/MagicMirror
  • MagicMirror2 폴더로 이동 후 설치하기.

cd MagicMirror
npm install
  • config.js 설정 파일 복사하기 .

cp config/congig.js.sample config/config.js
cp config/congig.js.sample config/config.js
  • MagicMirror2 테스트

npm run start

위 메뉴얼 보고 진행시 npm run start 위치 ~/MagicMirror/

  • EXT-Detector 다운로드하기

  • EXT-Detector은 Google Assistant 사용하기 위한 키워드 수신기입니다.

cd ~/MagicMirror/modules
git clone https://github.com/bugsounet/EXT-Detector
cd EXT-Detector
npm install
  • MMM-GoogleAissistant 다운로드하기

cd ~/MagicMirror/modules
git clone https://github.com/bugsounet/MMM-GoogleAssistant
  • MMM-GoogleAssistant 설치하기

cd MMM-GoogleAssistant
npm install
  • Gateway 다운로드하기

cd ~/MagicMirror/modules
git clone https://github.com/bugsounet/Gateway
  • Gateway 설치하기

cd Gateway 
npm install

  • config.js 설정 파일 수정하기

sudo nano ~/MagicMirror/config/config.js

{ 
       module: "MMM-GoogleAssistant",
       position: "top_left",
       configDeepMerge: true,
       config: { 
              assistantConfig: { 
                     latitude: 37.3460, 
                     longitude: 126.550, 
               }, 
      } 
},
{
       module: 'Gateway'
},
{
	module: "EXT-Detector",
	position: "top_left",
	configDeepMerge: true,
	config: {
			debug: false,
			detectors: [
 			 {
    				 detector: "Snowboy",
                            	 Model: "jarvis",
                                 Sensitivity: null
    					
			}
	 	]
	}
},

Last updated