Cov txheej txheem:

Pib Nrog Tsev Automation: Txhim Kho Tsev Pabcuam: 3 Kauj Ruam
Pib Nrog Tsev Automation: Txhim Kho Tsev Pabcuam: 3 Kauj Ruam

Video: Pib Nrog Tsev Automation: Txhim Kho Tsev Pabcuam: 3 Kauj Ruam

Video: Pib Nrog Tsev Automation: Txhim Kho Tsev Pabcuam: 3 Kauj Ruam
Video: puas yog koj ntshai yuav kuv ntsaim vaj 2022 -2023 2024, Kaum ib hlis
Anonim
Pib Nrog Tsev Automation: Txhim Kho Tsev Pabcuam
Pib Nrog Tsev Automation: Txhim Kho Tsev Pabcuam

Tam sim no peb tab tom pib ua lub tsev ua haujlwm tsis siv neeg, uas peb tsim lub tsev ntse uas yuav tso cai rau peb tswj hwm yam xws li teeb, hais lus, ntsuas ntsuas thiab lwm yam siv lub hauv paus nruab nrog rau lub suab pab. Hauv kab ntawv no, peb yuav kawm paub yuav teeb tsa Lub Tsev Pabcuam ntawm Raspberry Pi li cas thiab peb tseem yuav kawm paub yuav ua li cas saib IP lub koob yees duab ntws los ntawm ESP32-CAM board lub koob yees duab peb tau tsim ntau yam tshaj tawm dhau los.

Cov vis dis aus saum toj no qhia koj li cas nws ua tiav thiab nws tseem muab qee cov ntaub ntawv ntxiv rau koj. Kuv yuav pom zoo saib ua ntej, kom nkag siab zoo tias txhua yam tuaj ua ke li cas.

Kauj Ruam 1: Npaj Raspberry Pi

Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi

Txog qhov kev tsim no, peb yuav tsum tau siv Raspberry Pi 3 lossis Pi 4. Kuv yuav siv Pi 3. Koj tseem yuav xav tau lub zog tsim nyog thiab tsawg kawg yog 32GB microSD daim npav. Thawj qhov peb yuav tsum tau ua yog rub cov duab tsim nyog rau peb pawg thawj coj saib thiab uas tuaj yeem tau txais siv qhov txuas hauv qab no:

www.home-assistant.io/hassio/installation/

Thaum koj muaj daim duab, koj tuaj yeem siv lwm yam los nyem nws rau koj daim npav microSD. Ua ntej koj tuaj yeem ntxig nws rau hauv Pi thiab qhib lub zog, koj yuav tsum txiav txim siab ntawm kev sib txuas hauv network. Tus pabcuam hauv tsev tau teeb tsa los siv kev txuas txuas (ethernet) los ntawm lub neej ntawd, yog li yog tias koj yuav siv qhov ntawd ces koj tsis tas yuav ua dab tsi ntxiv. Yog tias koj xav siv WiFi ces koj yuav tsum tsim cov ntaub ntawv tshwj xeeb hauv khau raj tsav.

Qhib lub khau raj tsav (hassio-boot) thiab tsim cov ntawv tshiab nrog lub npe "CONFIG". Tom qab ntawd, qhib daim nplaub tshev tshiab no thiab tsim lwm daim nplaub tshev tshiab nrog lub npe "network". Koj tuaj yeem saib daim duab rau siv. Tom qab ntawd peb yuav tsum tsim cov ntawv hauv daim nplaub tshev no thiab koj tuaj yeem siv cov ntawv sau zoo li Sublime Text, Notepad ++ lossis Atom los ua qhov no. Siv qhov txuas hauv qab no thiab luam cov ntawv hauv ntu Wireless raws li pom hauv daim duab. Tom qab ntawd koj yuav tsum tsim cov ntawv tshiab thiab muab cov no tso ua cov ntsiab lus. Tsuas yog ntxiv koj lub npe network thiab tus lej zais yam tsis muaj cov cim hais thiab khaws cov ntawv rau hauv daim nplaub tshev tshiab nrog lub npe "kuv-network". Thov saib cov vis dis aus kom pom tias qhov no ua tiav li cas.

Thaum qhov no tau ua tiav, tsuas yog ntxig daim npav microSD, tso lub zog rau Pi thiab muab nws ib pliag los txuas rau lub network thiab teeb tsa tus pab hauv tsev.

Kauj Ruam 2: Teeb Tus Pab Tsev

Teeb Tus Pab Tsev
Teeb Tus Pab Tsev
Teeb Tus Pab Tsev
Teeb Tus Pab Tsev

Kev teeb tsa tag nrho yuav siv sijhawm li 20 feeb thiab qhov no yuav vam khom koj lub network sib txuas raws li pawg thawj coj xav tau rub tawm cov ntaub ntawv xav tau. Koj tuaj yeem saib cov xwm txheej los ntawm kev qhib lub browser thiab ntaus hauv hassio.local: 8123 uas yuav tsum qhia koj nplooj ntawv teeb tsa zoo li hauv daim duab.

Yog tias qhov no tsis tshwm sim tom qab 1-2 feeb tom qab tau txais pawg thawj coj saib tus IP los ntawm kev siv AngryIP scanner thiab tom qab ntawd ntaus hauv 192.168.1.45:8123 rau hauv lub vev xaib, tab sis nco ntsoov siv koj tus IP chaw nyob. Qhov no yuav tsum coj koj mus rau nplooj ntawv teeb tsa.

Tom qab kev teeb tsa tiav, koj yuav raug nug kom tsim tus as khauj thiab sau qee cov ntsiab lus uas yog ib feem ntawm cov txheej txheem onboarding. Koj tuaj yeem nyeem ntxiv txog nws siv qhov txuas hauv qab no:

www.home-assistant.io/getting-started/onboarding/

Thaum txhua yam ua tiav, koj yuav raug coj mus rau lub vijtsam hauv tsev thiab koj yuav tuaj yeem pib siv nws tam sim ntawd.

Kauj Ruam 3: Ntxiv $ 9 ESP32 Raws IP Lub Koob Yees Duab

Ntxiv $ 9 ESP32 Raws IP Lub Koob Yees Duab
Ntxiv $ 9 ESP32 Raws IP Lub Koob Yees Duab
Ntxiv $ 9 ESP32 Raws IP Lub Koob Yees Duab
Ntxiv $ 9 ESP32 Raws IP Lub Koob Yees Duab

Ob peb kab lus dhau los, peb tau ua lub koob yees duab IP siv ESP32-CAM pawg thawj coj thiab peb yuav kawm paub yuav ntxiv nws li cas rau tus pab tsev tam sim no. Koj tuaj yeem nyeem ntxiv txog kev ua lub koob yees duab los ntawm kev siv qhov txuas hauv qab no:

www.instructables.com/id/9-RTSP-Video-Streamer-Using-the-ESP32-CAM-Board/

Ntxiv nws rau tus pabcuam hauv tsev yog qhov yooj yim thiab koj tuaj yeem saib cov vis dis aus kom pom qhov no tau ua tiav. Hauv cov ntsiab lus, koj tsuas yog yuav tsum nyem rau peb tus lej uas pom nyob rau sab xis saum toj ntawm lub vijtsam hauv tsev, tom qab ntawv nyem rau "Configure UI", thiab paub meej tias koj xav tswj hwm UI. Tom qab ntawd koj yuav pom lub pob "ntxiv" tshiab ntawm lub vijtsam hauv tsev. Nyem qhov no thiab xaiv "Duab". Tom qab ntawd, hloov txoj hauv kev duab nrog IP chaw nyob ntawm lub koob yees duab, piv txwv li. "https://192.168.1.31". Tom qab ntawd koj yuav tuaj yeem saib ua ntej qhia tias txhua yam zoo. Tsuas yog khaws qhov no thiab lub koob yees duab pub yuav tshwm ntawm lub vijtsam hauv tsev. Koj kuj tseem tuaj yeem siv AngryIP scanner kom tau txais IP chaw nyob ntawm ESP32-CAM board.

Thiab qhov ntawd yog qhov yooj yim npaum li cas kom tau txais kev pab hauv tsev thiab khiav siv Raspberry Pi. Peb yuav txuas ntxiv cov cuab yeej ntxiv rau tus pabcuam hauv tsev thiab cov vis dis aus/kab lus no yuav tshaj tawm rau hnub Tuesday. Thov tsis txhob txiav txim siab tso npe rau peb YouTube channel raws li qhov uas pab txhawb nqa peb.

YouTube:

Ua tsaug rau koj nyeem!

Pom zoo: