Cov txheej txheem:
Video: ESP8266 - HomeKit Hloov: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Los ntawm Achim Pietershttps://www.studiopieters.nl
Hauv kuv qhov blog dhau los ntawm no kuv tau sim ESP HomeKit Software Development Kit. Kuv zoo siab heev txog Cov Khoom Siv Txhim Kho Software no, uas kuv yuav sau ob peb blog txog qhov software ntse no. Hauv txhua qhov Blog Kuv yuav hais qhia lwm yam khoom siv ntxiv uas koj tuaj yeem ntxiv rau koj HomeKit yam tsis xav tau tus choj. Tom qab ua HomeKit Khawm nws yog lub sijhawm rau HomeKit Hloov. HomeKit Hloov Txawm hais tias lub tsev ntse tseem nyob hauv nws thaum tseem me, muaj ntau hom sib txawv ntawm HomeKit cov khoom siv hauv khw. Lub HomeKit Hloov pab tswj hwm lwm yam khoom siv HomeKit zoo li teeb lossis kiv cua. Qhov HomeKit Hloov no yuav tsim kev tswj hwm lub tsev yooj yim rau tag nrho tsev neeg: txhua tus neeg hauv tsev tuaj yeem tswj tau ntau lub cuab yeej ntse hauv tsev wirelessly nrog nias lub pob tsis txhob siv lub xov tooj smartphone app.
Customize txhua Hloov nrog cov lus txib sib txawv. Yooj yim ua rau cov cuab yeej ntse hauv tsev los ntawm toggling khawm. Koj tuaj yeem tswj Apple HomeKit cov cuab yeej siv tau: siv ua ntxiv rau Siri lossis app app hauv tsev kom yooj yim thiab nyab xeeb tswj cov khoom siv hauv tsev thiab pab pawg (xwm txheej). Yog li cia peb pib tsim!
Kauj Ruam 1: Kev Npaj Software
Peb yuav tsum teeb tsa esptool.py ntawm peb Mac txhawm rau txhawm rau tuaj yeem nyem peb lub ESP module. Txhawm rau ua haujlwm nrog esptool.py, koj yuav xav tau Python 2.7, Python 3.4 lossis txhim kho Python tshiab ntawm koj lub system. Peb pom zoo kom siv Python version tshiab, yog li mus rau Python lub vev xaib thiab teeb tsa nws hauv koj lub computer. Nrog Python teeb tsa, qhib Terminal qhov rai thiab teeb tsa qhov tseeb ruaj khov esptool.py tso nrog pip:
pip nruab esptool
Nco tseg: nrog qee qhov Python kev teeb tsa uas hais kom ua yuav tsis ua haujlwm thiab koj yuav tau txais qhov yuam kev. Yog tias qhov xwm txheej no, sim nruab esptool.py nrog:
pip3 nruab Esptool
lpython -m pip nruab esptool
pip2 nruab esptool
Tom qab teeb tsa, koj yuav muaj esptool.py teeb tsa rau hauv lub hauv paus Python executables directory thiab koj yuav tsum muaj peev xwm khiav nws nrog cov lus txib
esptool.py.
Hauv koj lub qhov rais Terminal, khiav cov lus txib hauv qab no:
esptool.py.
Nrog esptool.py teeb tsa hauv koj lub khoos phis tawj, koj tuaj yeem yooj yim nyem koj li ESP32 lossis ESP8266 cov laug cam nrog lub khoos phis tawj.
Kauj Ruam 2: Kev Npaj Kho Vajtse
Txhawm rau Txhim kho peb lub khoos phis tawj rau peb esp peb ua peb qhov "txheej txheem" teeb tsa.
Kauj Ruam 3: Kev Npaj ESP OS
"chaw thau khoom =" tub nkeeg"
Tam sim no, koj yuav tsum teeb tsa OTA chaw cia ib yam. Nws yog ib qho tseem ceeb heev uas koj teeb tsa nws kom raug, vim tias koj tsis tuaj yeem hloov nws yav tom ntej (Yog tias koj ua yuam kev, koj yuav tsum lwv tawm thiab teeb nyem ntaus ntawv dua).
OTA chaw cia khoom:
AchimPieters/ESP8266-HomeKit-hloov
OTA binary ntawv:
main.bin
Txhawm rau ua tiav kev teeb tsa pib, nyem koom khawm thiab tos txog 7 feeb kom txog thaum txheej txheem tiav (Thaum lub teeb tsa ua haujlwm, lub cuab yeej tsis qhia dab tsi, thiab cov nyees khawm tsis ua haujlwm). Tom qab ntawd, LED tig rau ob peb feeb thiab koj yuav tuaj yeem ntxiv koj cov khoom siv ntxiv rau koj HomeKit ecosystem siv Home App. LCM yuav teeb tsa koj lub cuab yeej HomeKit ntawm koj li ESP.
Tam sim no koj tuaj yeem ntxiv koj HomeKit Hloov los ntawm kev tshuaj xyuas QR code hauv qab no. Txhawm rau kev sib txuas ntawm koj li ESP thiab HomeKit yuav siv ob peb feeb.
Thaum koj tau ntxiv qhov hloov pauv koj tuaj yeem muab Hloov, Hloov Hloov, lossis Ntxuam Hloov chaw. Thaum koj txuas koj cov cuab yeej tsim tawm tsis ntev los no rau HomeKit nws yuav nruab nws tus qauv raws li kev hloov pauv. Hauv qhov txuas ntxiv mus rau Blogs Kuv yuav qhia koj yuav hloov lawv li cas mus rau lub teeb hloov lossis kiv cua hloov.
Xav paub ntau ntxiv mus saib
Nco tseg: Txhawm rau tsim thiab muag HomeKit cov khoom siv sib xws, koj lub tuam txhab yuav tsum tau ntawv pov thawj rau qhov ntawd (https://developer.apple.com/homekit/, Yog tias koj xav tsim lossis tsim khoom siv HomeKit uas yuav muab faib lossis muag., koj lub tuam txhab yuav tsum tso npe rau hauv MFi Txoj Haujlwm.) Espressif muaj lawv kev ua haujlwm ntawm HomeKit lub moj khaum, tab sis nws yuav muab rau koj tsuas yog koj muaj daim ntawv pov thawj MFi (ceeb toom cov ntawv no hauv qab ntawm nplooj ntawv koj hais: Thov nco ntsoov tias Espressif HomeKit SDK) muaj rau MFi cov ntawv tso cai nkaus xwb, thiab koj yuav tsum muab Tus lej Tus lej rau kev txheeb xyuas lub hom phiaj thaum thov SDK.). XOV XWM Maxim Kulkin, esp-wifi-teeb tsa (2019), Lub tsev qiv ntawv rau bootstrap WiFi-qhib cov khoom siv WiFi teeb tsa, https://github.com/maximkulkin/esp-wifi-config Paul Sokolovsky, esp-open-sdk (2019), Pub dawb thiab qhib (ntau li ntau tau) ua ke SDK rau ESP8266/ESP8285 chips, https://github.com/pfalcon/esp-open-sdk Espressif Systems, esptool (2019), ESP8266 thiab ESP32 serial bootloader utility, https:/ /github.com/espressif/esptool HomeACcessoryKid, lub neej-voj voog-tus thawj coj (2019), Kev teeb tsa thawj zaug, teeb tsa WiFi thiab dhau ntawm huab cua hloov kho tshiab rau ib qho esp-open-rtos repository ntawm GitHub, https://github.com/HomeACcessoryKid /lub neej-voj voog-tus thawj coj
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
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
Hloov-Hloov Cov Khoom Ua Si: Qes Chaw Taws Teeb Tswj Cov Nab Ua Tau!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Qes Chaw Taws Teeb Tswj Cov Nab Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Txhim Kho Cov Hloov Pauv Hloov Rau Hauv Ntse Kov Hloov Nrog Temp Monitoring: 4 Cov Kauj Ruam
Txhim Kho Qhov Hloov Pauv Hloov Mus Rau Ntse Kov Hloov Nrog Lub Sijhawm Saib Xyuas: Kuv paub txhua tus ntawm koj ntsib qhov teeb meem no tsawg kawg ib qho hauv koj lub neej lub rooj hloov pauv tau tawg los ntawm kev siv tas mus li. ntau lub sijhawm yog lub caij nplooj ntoo hlav sab hauv hloov pauv los yog m
Cov Xim Ntau Yam Xim Stencils Nrog Cov Hloov Pauv Hloov: 12 Cov Kauj Ruam (nrog Duab)
Comprehensive Multi Color Stencils With Variable Output: Multilayer xim tiag tiag stenciling tsis yog txhua qhov sai thiab yooj yim. Tseeb, koj tuaj yeem crank ib zaug hauv ib teev, tab sis nws siv sijhawm thiab xyaum ua kom muaj peev xwm rov ua cov txheej txheem thiab paub yuav ua li cas txhawm rau nws rau txhua qhov sib txawv stencil. Hauv cov lus qhia no, Kuv yuav