Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Yuav Tsum Muaj
- Kauj Ruam 2: Teeb Tus Pab Tsev (HASS.IO) ntawm Raspberry Pi
- Kauj Ruam 3: Teeb Koj Lub Xiaomi Yeelight Teeb
- Kauj Ruam 4: Tswj Teeb Yeelight Los Ntawm Tus Pab Tsev
- Kauj Ruam 5: Vim Li Cas HASS?
- Kauj Ruam 6: Dab Tsi Ntxiv
Video: [HASS.IO] Pib Tsim Koj Lub Tsev Ntse Tsis Muaj Coding, Rau Tsawg Tshaj $ 100: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Tsis ntev los no kuv tau messing ib ncig thiab ua tiav ua rau kuv lub tsev tsawg dua "ruam". Yog li kuv yuav qhia yuav ua li cas thiaj ua lub tsev ntse hauv tsev nrog tus nqi qis, ua kom tau zoo uas yuav ua haujlwm tau zoo thiab ruaj khov.
Kauj Ruam 1: Yam Koj Yuav Tsum Muaj
Txoj haujlwm yuav suav nrog cov hauv qab no:
1x Raspberry Pi 3 B+ lossis B: lub chaw tswj hwm, nws yuav ua haujlwm software software hu ua Home Assistant (HASS)
Nqi: $ 35 rau Qauv B+
Hloov tau nrog lub khoos phis tawj khiav 24/7 ntawm Windows, Linux, thiab lwm yam.
1x 32GB microSD nco daim npav: muaj cov txheej txheem ua haujlwm thiab tswj software rau Raspberry
Nqi: $ 5-10
Hloov tau nrog qhov chaw me me ntawm koj lub hard drive yog tias koj siv lub khoos phis tawj
Cov cuab yeej siv ntse: cia peb pib qhov kev ua si nrog Xiaomi Yeelight Multi Color teeb lub teeb, qhov no yog yam khoom zoo tshaj plaws kom pib thiab sim koj lub kaw lus seb nws puas ua haujlwm zoo
Nqi: $ 20
Hloov nrog lwm Xiaomi Phillips LED Lub Teeb, uas yog qhov pheej yig dua, tab sis tsuas yog muaj xim dawb thiab xim sov dua.
Ib qho Ethernet cable txhawm rau txuas lub cuab yeej rau kev sib tham. (Tsuas yog siv Wi-nkaus yog tias koj tsis muaj lwm txoj kev xaiv)
Lub hauv paus ntsiab lus ntawm kev ua haujlwm yog yooj yim heev: HASS yuav nyob hauv koj lub tsev network, sib tham nrog lub teeb ci ntse (thiab tau kawg lwm yam khoom siv hauv tsev ntse) ntawm Wi-nkaus. Cov tswj vaj huam sib luag yuav nkag tau mus rau qhov browser yog li koj tuaj yeem tswj hwm koj cov cuab yeej nyob deb, teeb tsa lub npe menyuam yaus, thiab lwm yam. Nws kuj muaj cov apps rau Android, thiab iOS ib yam nkaus.
Kauj Ruam 2: Teeb Tus Pab Tsev (HASS. IO) ntawm Raspberry Pi
Cov Lus Qhia no yog rau Raspberry kev teeb tsa, rau kev teeb tsa hauv computer (lossis lwm yam khoom siv), thov tos rau kab lus ntxiv
Rub tawm cov software hauv qab no:
- Tus Tsim Tus Pab Tsev Zoo
- Ib lub cuab yeej los nyem qhov software mus rau koj daim npav SD thiab teeb tsa Lub Tsev Pabcuam: balenaEtcher yog qhov kev xaiv zoo
Tom qab ua tiav rub tawm HASS cov ntaub ntawv duab, ntsaws daim npav nco rau hauv lub khoos phis tawj, siv balenaEtcher (lossis lwm yam) kom nyem cov duab ua duab:
- Luag thiab poob cov duab cov ntaub ntawv rau hauv flashing software
- Xaiv daim npav ua lub hom phiaj ntaus ntawv
- Nias "Flash!"
Tos kom txog thaum cov txheej txheem flashing tiav thiab balenaEtcher qhia zoo.
Txuas lub cim xeeb daim npav rau hauv RPi, txuas nws mus rau lub network txuas thiab ntsaws rau hauv lub hwj huam qaum kom pib.
Txhawm rau siv nrog Wi-nkaus, koj yuav tsum npaj USB txuas ntxiv, npe nws CONFIG. Tsim daim nplaub tshev hu ua network, tom qab ntawd tsim cov ntawv hu ua kuv-network. Nyeem qhov piv txwv no los tsim cov ntaub ntawv cov ntsiab lus (Wireless WPA/PSK).
Kho kab ssid = MY_SSID kom phim koj lub npe network, thiab psk = MY_WLAN_SECRET_KEY nrog tus password Wi-nkaus. Nyeem qhov piv txwv saum toj no ib zaug ntxiv kom paub tseeb tias koj muaj qhov tshwj xeeb uuid yog li IP chaw nyob raug teeb tsa.
Yog tias txhua yam raug, thiab tsis muaj dab tsi cuam tshuam RPi yuav cia li ua qhov teeb tsa tas li. Txhawm rau txheeb xyuas qhov kev txhim kho teeb tsa, txuas rau RPi siv qhov chaw nyob https://hassio.local: 8123. Nws yuav tsum qhia tias lub tshuab raug teeb tsa (Npaj Hass.io)
Lub xaib yuav tsum tshwm tom qab li 2 feeb. Yog tias koj tsis tuaj yeem nkag mus rau qhov chaw ntawd tej zaum yuav muaj qee yam cuam tshuam nrog kev teeb tsa network ntawm RPi lossis koj lub modem tsis txhawb mDNS. Hauv qhov xwm txheej ntawd, siv Pi's IP chaw nyob.
Cia nws teeb tsa thiab ua raws cov kauj ruam tom ntej.
Kauj Ruam 3: Teeb Koj Lub Xiaomi Yeelight Teeb
Nyob ntawm txhua yam ntawm koj lub cuab yeej, yuav muaj txheej txheem teeb tsa sib txawv raws li cov chaw tsim khoom cov lus qhia, ntxiv rau tso cai rau koj lub cuab yeej raug tswj los ntawm lub network hauv zos (HASS).
Hauv kab lus no, Kuv yuav tsom mus rau teeb tsa Xiaomi Yeelights teeb, rau lwm yam khoom siv hauv tsev ntse, sim tshawb nrhiav los ntawm kuv Cov Lus Qhia Qhia lossis Googling ncig. Thiab tsis txhob hnov qab mus ntsib HASS lub vev xaib txhawm rau txheeb xyuas yog tias koj xav tau ua qee qhov teeb tsa ntxiv rau koj cov cuab yeej siv hauv tsev.
Ua raws cov theem no txhawm rau teeb Xiaomi Yeelight teeb:
- Txuas lub teeb rau lub teeb tuav
- Qhib lub teeb hloov thiab tua 5 zaug kom txog thaum lub teeb pib ntsais hauv cov xim.
- Hauv koj lub xov tooj, nruab Yeelight app (Android, iOS)
- Thaum tau teeb tsa, qhib lub app, ua raws cov lus qhia hauv app teeb tsa koj lub teeb (nco ntsoov tias koj siv Singapore server). Tom qab ntawd, sim tswj lub teeb los ntawm cov apps.
- Tam sim no peb yuav tsum tig rau LAN Tswj hom rau txhua lub teeb.
Kauj Ruam 4: Tswj Teeb Yeelight Los Ntawm Tus Pab Tsev
Txog lub sijhawm koj txhim kho Yeelight teeb, HASS tej zaum tau ua tiav rub tawm thiab khiav. Koj yuav raug hais kom teeb tsa tus account kom nkag mus rau hauv lub xaib, ua nws.
Tom qab nkag mus rau Tsev Pabcuam lub ntsiab interface, koj yuav tsum pom koj lub teeb pom kev. Yog tias nws tsis yog, rov pib dua HASS.
Yeelight qhov muag teev yog qhov yooj yim tshaj plaws thiab yooj yim tshaj plaws nyob ib puag ncig yam tsis muaj kev teeb tsa tshwj xeeb. Thaum koj pom cov npe ntawm qhov muag teeb, sim qhib thiab tua nws. Yog tias nws ua haujlwm ces koj tau ua tiav teeb tsa koj thawj lub tsev ntse.
Txhawm rau ua kom cov teeb pom kev zoo dua qub thiab tswj tau, mus rau sab laug sidebar> Kev teeb tsa> Kho kom haum.
Rau lub sijhawm ua, qhov ntawd yog nws! Nrog koj zoo siab!
Kauj Ruam 5: Vim Li Cas HASS?
Tej zaum koj yuav muaj lo lus nug no: Vim li cas kuv thiaj yuav tsum tau siv Tus Pab Tsev Thaum Yeelight twb tau muab ib qho app lawm, los sis tsis meej, txhua yam khoom ntse muaj nws tus kheej app? Tom qab ntawd, muaj cov laj thawj:
- Yeelight App tsuas yog tswj hwm Yeelight cov khoom, zoo ib yam li Mi Tsev app uas tsuas yog ua haujlwm nrog Xiaomi ecosystem. Tab sis nrog HASS koj tau txais txhua tus ntawm lawv sib sau ua ke hauv ib qho. Qhov no yog qhov txiaj ntsig zoo tshaj plaws.
- Kev Tswj Xyuas Tsev Pabcuam tau ua tiav hauv zos hauv koj lub network, ua kom nws nrawm dua thiab muaj txiaj ntsig ntau dua li lub app uas yuav tsum tau hla Is Taws Nem.
- Tus Pabcuam Hauv Tsev tso cai rau koj los cuam tshuam nrog koj cov cuab yeej ntse ntawm Amazon Alexa thiab Google Assistant, uas qee zaum tsis tau txhawb los ntawm cov khw.
- HASS tuaj yeem tsim cov ntawv sau tsis siv neeg, hla txhua lub cuab yeej thiab hom khoom kom Xiaomi Lub Qhov Rooj Sensor tuaj yeem ua rau lub teeb Philips.
- Nws kuj tau txais ib tuj ntawm kev ntxiv thiab koom nrog ntau lwm yam kev pabcuam online.
Kauj Ruam 6: Dab Tsi Ntxiv
Hauv kab lus tom ntej no kuv yuav coj koj mus:
- Ntxiv ntau yam khoom siv uas tsis tau txais los ntawm Tus Pabcuam Hauv Tsev
- Siv Tus Pab Tsev nrog Google Tsev thiab xaj khoom hauv tsev nrog Google Assistant
- Thiab ntau ntau tsab xov xwm yuav tshwm sim hauv txheej txheem teeb tsa koj lub tsev
- Nrhiav txoj hauv kev los teeb tsa kom pom thaum koj mus txog tsev kom qhib lub cuab yeej koj tus kheej
Txhawm rau pab kuv hauv cov txheej txheem ntawm cov lus qhia no thiab tseem tau txais kev pab kuv, khaws kuv cov ntaub ntawv:
- Facebook: facebook.com/hoangthebossofficial
- Koj li xyoob ntoo Instagram: instagram.com/hoangthebossofficial
- Kev pub dawb: paypal.me/hoangtheboss
Pom zoo:
Tsis muaj Pee Tam sim no, Tus Cwj Pwm Coj Tus Cwj Pwm Cuam Tshuam Cov Tsiaj Rau Cov Menyuam Pee Nyob Hauv Koj Lub Tsev: 4 Kauj Ruam
Tsis Muaj Tus Menyuam Tam Sim No, Tus Cwj Pwm Coj Tus Cwj Pwm Cuam Tshuam Tus Menyuam Mus Pee Nyob Hauv Koj Lub Tsev: Kuv tau ntxhov siab los ntawm kuv tus miv tias nws nyiam ua pee ntawm kuv lub txaj, Kuv tshuaj xyuas txhua yam nws xav tau thiab kuv kuj coj nws mus rau tus kws kho tsiaj. Tom qab kuv daws txhua yam kuv tuaj yeem xav thiab mloog tus kws kho mob cov lus, Kuv paub tias nws tsuas muaj qee tus cwj pwm tsis zoo. Yog li ntawd
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Info: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws … Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Cov Lus Qhia: yog tias koj tau mus rau lub vev xaib thiab nws ua nkauj nkauj uas koj nyiam thiab xav tau nws ntawm no yog cov lus qhia rau koj tsis yog kuv qhov txhaum yog tias koj cuam tshuam qee yam (tsuas yog txoj hauv kev nws yuav tshwm sim yog tias koj pib tshem cov khoom yam tsis muaj laj thawj. ) Kuv tuaj yeem tau txais cov nkauj rau
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?