Cov txheej txheem:
- Kauj ruam 1: Pre-Requisites
- Kauj Ruam 2: Nqi Khoom
- Kauj Ruam 3: Nrhiav Xov Tooj Cua rau Cov Chaw Taws Teeb
- Kauj Ruam 4: Teeb Nodemcu Raws Li Xov Tooj Cua Xov Tooj Cua
- Kauj Ruam 5: Teeb Homebridge Nrog Homebridge-HTTP-IRBlaster Plugin
- Kauj Ruam 6: Sim Nws
- Kauj Ruam 7: Khab nias
Video: Tswj koj lub qhov cub nrog HomeKit thiab Alexa: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Tsis ntev los no kuv tau teeb lub qhov cub roj, uas suav nrog kev tswj chaw taws teeb. Thiab tom qab pom ob peb tus piv txwv ntawm tib neeg sib txuas lawv lub qhov cub rau hauv lawv lub tsev tswj teeb tsa kuv pib nrhiav tib yam. Kuv lub qhov cub muaj lub chaw taws teeb tswj no
Kauj ruam 1: Pre-Requisites
Raws li qhov yuav tsum tau ua ua ntej rau cov lus qhia no, Kuv muaj lub qhov cub roj nrog lub chaw taws teeb tswj no. Yog tias koj saib sab nraum qab ntawm koj cov chaw taws teeb, nws yuav tsum muaj FCC ID RTD-G6RH thiab zaus ntawm 315 Mhz. Yog tias koj tsis muaj lub chaw deb no, cov lus qhia no tsis yog rau koj.
Kuv tseem muaj HomeBridge teeb tsa thiab ua haujlwm, thiab nws tau koom ua ke nrog kuv Alexa.
Kauj Ruam 2: Nqi Khoom
Txog qhov kev qhia no, Kuv tau siv kuv li HomeBridge thiab Alexa siv tam sim no. Kuv tau muaj Homebridge khiav tau ob peb xyoos, thiab tseem tau muab nws tso rau kuv Alexa. HomeBridge rau Alexa kev koom ua ke siv qhov no https://www.npmjs.com/package/homebridge-alexa. Cov no yog qhov tsim nyog thiab kuv yuav tsis piav qhia lawv cov teeb tsa.
Txhawm rau txuas kuv lub qhov cub rau qhov no, Kuv xav tau ntxiv qhov no rau hauv kab ke
Nodemcu ESP8266-https://www.aliexpress.com/item/10pcs-lot-NodeMcu…
315 Mhz Transmitter-https://www.creatroninc.com/product/315mhz-rf-lin…
Cov qhob cij
Txhawm rau nrhiav cov lej rau lub xov tooj cua nyob deb, kuv tau siv NooElec NESDR Mini 2+ 0.5PPM TCXO RTL-SDR & ADS-B USB Txais Txais Teeb w/ Antenna, Suction Mount, Poj niam SMA Adapter & Chaw Taws Teeb, RTL2832U & R820T2 Tuner. Tus Nqi Tus Nqi Uas Tau Txiaj Ntsig Txhais Xov Tooj Cua -
Kauj Ruam 3: Nrhiav Xov Tooj Cua rau Cov Chaw Taws Teeb
Txhawm rau nrhiav lub xov tooj cua nyob deb cov lej rau lub qhov cub, Kuv ua raws cov theem mus txog #7 hauv cov lus qhia no. Thiab siv IR Blaster code ntau dua li lawv cov cai.
Rau lub qhov cub taws nyob deb kuv pom tias lub teeb liab yog 23 ntsis ntev, thiab nws tau rov ua dua 10 zaug ntawm ib lub pob nyem. Tom qab txheeb xyuas cov ntaub ntawv hauv Audacity Kuv tau los nrog cov qauv me ntsis rau txhua lub khawm nyob deb:
Yog - 01110100010111000110011
Tawm - 01110100010111000110111
Up - 01110100010111000111011
Tus lej - 01110100010111000000000
Nrog Zero yog 200 ms ntawm lub teeb liab thiab 700 ms tsis muaj teeb liab, thiab Ib qho yog 700 ms ntawm lub teeb liab thiab 200 ms tsis muaj teeb liab. Kuv xav tias thawj feem ntawm cov ntaub ntawv yog cov ntaub ntawv tshwj xeeb uas txheeb xyuas kuv lub qhov cub, thiab qhov kawg ntawm qhov kawg yog qhov tshwj xeeb hais kom ua.
Kuv txoj haujlwm rau kev txiav txim siab cov cai tswj chaw taws teeb yog:
1) ntes lub pob nyem hauv QGRX
2) Qhib cov ntawv wav uas tau tsim hauv qib 1, thiab nthuav mus rau ntu uas cuam tshuam txog thaum nws yuav luag tag nrho cov vijtsam dav.
3) Puas tau ntes lub vijtsam ntawm tus neeg khawm khawm, thiab khaws cov ntaub ntawv.
4) Qhib lub vijtsam rub hauv daim ntawv nthuav tawm, thiab hloov kho kab kom dav kom ib kem sib npaug rau qhov dav me ntsis.
5) Sau tseg tias qhov me ntsis yog xoom lossis ib qho hauv kab hauv qab no.
7) Tsim kev tsim nyog hauv kab hauv qab no, = yog (D19 = 0, "200, 700,", "700, 200,"), thiab theej qhov no hla txhua kab ntawv. Qhov twg D19 yog kab lus saum toj no.
8) Kuv mam li theej cov ntawv uas tau tsim los ntawm cov lus hais rau kuv tus kws sau ntawv
Yog tias koj hloov pauv On code nws yuav yog
200, 700, 700, 200, 700, 200, 700, 200, 200, 700, 700, 200, 200, 700, 200, 700, 200, 700, 700, 200, 200, 700, 700, 200, 700, 200, 700, 200, 200, 700, 200, 700, 200, 700, 700, 200, 700, 200, 200, 700, 200, 700, 700, 200, 700, 200
Ua qhov no rau txhua lub pob. Qhov tshwm sim yuav tsum yog 46 tus lej rau txhua lub pob.
Kauj Ruam 4: Teeb Nodemcu Raws Li Xov Tooj Cua Xov Tooj Cua
Rau NodeMCU, Kuv siv Michael Higgins IR Blaster code los tswj lub tshuab xa xov. Cov ntsiab lus ntawm kev teeb tsa yog ntawm no:
github.com/mdhiggins/ESP8266-HTTP-IR-Blast…
Txhawm rau txuas xov tooj cua Transmitter, Kuv tsuas yog txuas nws zoo li nws yog LED, tab sis tsis tau siv ib qho ntawm cov tiv thaiv lossis transistor raws li tus xa tawm tsis xav tau lawv.
Transmitter Pins rau NodmePins
1 - Hauv av - Hauv av ntawm nodeMCU
2 - Cov ntaub ntawv hauv - Txuas ncaj qha rau D2
3 - Vcc - Txuas ncaj qha rau Vin (5 volts)
4 - Kav hlau txais xov - Txuas 23 cm ntev ntawm cov xaim
Kauj Ruam 5: Teeb Homebridge Nrog Homebridge-HTTP-IRBlaster Plugin
Txhawm rau teeb tsa lub plugin hauv HomeBridge Kuv ua raws cov lus qhia ntawm no
github.com/NorthernMan54/homebridge-HTTP-I…
Thiab txhawm rau teeb tsa lub plugin Kuv tsim cov hauv qab no config.json nkag
Cov ntawv no yuav tsis ua haujlwm rau koj lub cuab yeej vim tias tus lej cim thiab URL ntawm koj lub cuab yeej yuav txawv.
Qhov URL yuav yog qhov chaw nyob ntawm koj lub cuab yeej ntawm koj lub network, thiab koj yuav tsum tsuas yog hloov chaw nyob. xws li 192.168.1.175 rau qhov muaj txiaj ntsig los ntawm koj teeb tsa.
Rau off_data, on_data, up_data, thiab down_data hloov kab "cov ntaub ntawv" los ua tus nqi uas koj tau txiav txim siab ua ntej hauv qhov no.
Kauj Ruam 6: Sim Nws
Pib dua HomeBridge, thiab tam sim no koj yuav tsum pom cov khoom siv tshiab hu ua Fireplace, uas siv lub cim FAN. Koj yuav tsum tau qhib, tua thiab tswj qhov siab nplaim taws nrog Tsev app. Thov nco ntsoov tias thaum lub qhov cub tsis khoom tig los lossis tua, cov lus txib ntxiv yuav raug tsis quav ntsej thiab Lub Tsev app yuav qhia qhov ua yuam kev.
Kauj Ruam 7: Khab nias
Txog qhov teeb tsa tshwj xeeb no, Kuv yuav tsum ua tsaug ntau tus neeg rau lawv kev siv zog raws li kuv daim ntawv ntawm qhov no yog qhov yooj yim ua tsaug rau lawv sib qhia lawv kev siv zog rau zej zog
- Michael Higgins thiab nws txoj haujlwm ESP8266-HTTP-IR-Blaster. Qhov no yog qhov kev tshoov siab tshaj plaws
- veggiebenz thiab nws Cov Lus Qhia
www.instructables.com/id/Reverse-Engineer-…
- Mark Szabo thiab nws lub tsev qiv ntawv IRremoteESP8266
- Homebridge thiab HAPNodeJS zej zog rau Apple HomeKit Kev Sib Koom.
Pom zoo:
Tswj Koj Lub Computer Nrog Koj Lub Taub Hau!: 6 Kauj Ruam (nrog Duab)
Tswj Koj Lub Computer Nrog Koj Lub Taub Hau!: Nyob zoo, Kuv tau tsim qhov system uas tso cai rau koj los tswj koj lub computer nas tsuas yog txav koj lub taub hau. Vim li cas kuv thiaj ua qhov no? Kuv xav ua tus kwv uas ua video games m
Tig Koj Lub Qhov Rooj Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Nrog IFTTT: 8 Kauj Ruam
Tig Koj Lub Qhov Rooj Qhov Rooj Mus Rau Hauv Lub Ntsej Muag Qhov Rooj Nrog IFTTT: Lub WiFi Qhov Rooj Tswb tig koj lub qhov rooj uas twb muaj lawm mus rau hauv lub qhov rooj ntse. https://www.fireflyelectronix.com/product/wifidoor
Tig Koj Lub Qhov Rooj Hauv Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Lub Tsev Pabcuam: 6 Kauj Ruam
Tig Koj Lub Qhov Rooj Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Tus Pab Hauv Tsev: Hloov koj lub qhov rooj uas twb muaj lawm mus rau hauv lub qhov rooj ntse. Tau txais kev ceeb toom rau koj lub xov tooj lossis ua ke nrog koj lub koob yees duab lub qhov rooj uas twb muaj lawm kom tau txais daim duab lossis video ceeb toom txhua lub sijhawm ib tus neeg hu koj lub tswb
Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub: 9 Kauj Ruam
Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Chaw Taws Teeb (ir Chaw Taws Teeb) Nrog Kub thiab Vaum Zaub: nyob zoo Kuv yog Abhay thiab nws yog kuv thawj blog ntawm Kev Qhia thiab hnub no kuv yuav qhia koj li cas tswj koj cov khoom siv hluav taws xob nrog koj lub TV tej thaj chaw deb los ntawm kev tsim qhov no txoj haujlwm yooj yim. ua tsaug rau atl lab rau kev txhawb nqa thiab muab cov khoom siv
Txuag lub Ntiaj Teb thiab Koj Lub Hnab. $$ Hloov Koj P & S Pheej Yig Pheej Yig Lub Koob Yees Duab kom rov them rov qab: 4 Cov Kauj Ruam (nrog Duab)
Txuag lub Ntiaj Teb thiab Koj Lub Hnab. $$ Hloov Koj Li P & S Pheej Yig Tshaj Lub Koob Yees Duab kom rov tau txais txiaj ntsig: Ntau xyoo dhau los, Kuv yuav Dolphin Jazz 2.0 Megapixel Digital Camera Nws muaj cov yam ntxwv zoo thiab tus nqi. Nws kuj tseem muaj qhov qab los noj mov rau AAA Bateries. Tsis yog ib tus neeg taug kev deb ntawm qhov kev sib tw, kuv xav tias kuv yuav hloov kho nws kom siv lub roj teeb rov tau los kom tsis txhob nkim sijhawm ntxiv