Cov txheej txheem:

[HASS.IO] Pib Tsim Koj Lub Tsev Ntse Tsis Muaj Coding, Rau Tsawg Tshaj $ 100: 6 Cov Kauj Ruam
[HASS.IO] Pib Tsim Koj Lub Tsev Ntse Tsis Muaj Coding, Rau Tsawg Tshaj $ 100: 6 Cov Kauj Ruam

Video: [HASS.IO] Pib Tsim Koj Lub Tsev Ntse Tsis Muaj Coding, Rau Tsawg Tshaj $ 100: 6 Cov Kauj Ruam

Video: [HASS.IO] Pib Tsim Koj Lub Tsev Ntse Tsis Muaj Coding, Rau Tsawg Tshaj $ 100: 6 Cov Kauj Ruam
Video: Лучшие 15 часов Casio G Shock до $ 500 | Лучшие часы G-Shock ниже $ 500... 2024, Hlis ntuj nqeg
Anonim
[HASS. IO] Pib Tsim Koj Lub Tsev Ntse Tsis Muaj Coding, Tsawg dua $ 100
[HASS. IO] Pib Tsim Koj Lub Tsev Ntse Tsis Muaj Coding, Tsawg dua $ 100

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

Yam Koj Yuav Tsum Muaj
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

Teeb Tus Pab Tsev (HASS. IO) ntawm Raspberry Pi
Teeb Tus Pab Tsev (HASS. IO) ntawm Raspberry Pi
Teeb Tus Pab Tsev (HASS. IO) ntawm Raspberry Pi
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:

  1. Tus Tsim Tus Pab Tsev Zoo
  2. 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:

  1. Luag thiab poob cov duab cov ntaub ntawv rau hauv flashing software
  2. Xaiv daim npav ua lub hom phiaj ntaus ntawv
  3. 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

Teeb Koj Xiaomi Yeelight Teeb
Teeb Koj 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?

Vim li cas HASS?
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

Dab Tsi Ntxiv
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: