Cov txheej txheem:

Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom: 6 Cov Kauj Ruam
Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom: 6 Cov Kauj Ruam

Video: Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom: 6 Cov Kauj Ruam

Video: Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom: 6 Cov Kauj Ruam
Video: Night 2024, Kaum ib hlis
Anonim
Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom
Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom
Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom
Nplaim Sensor Nrog Telegram Cov Ntawv Ceeb Toom

Hauv qhov haujlwm no lub nplaim taws nrog lub xov tooj ceeb toom tau pom. Yog li thaum qhov hluav taws kub tau pom los ntawm lub ntsuas pa, koj tau txais kev ceeb toom txog qhov xwm txheej tam sim ntawd hauv Telegram. Nws zoo nkauj heev thiab yooj yim.

Yog li nws ua haujlwm li cas? Kuv mam qhia koj! Cia peb pib nws!

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau

Rau qhov haujlwm no peb xav tau:

  1. NodeMCU V3 nrog ESP12 - 1;
  2. YOG Nplaim Sensor - 1;
  3. Jumper Xov - 3;
  4. USB cable - 1;
  5. Txhua lub PC - 1.

Kauj ruam 2: Schematics

Schematics
Schematics

NodeMCU thiab nplaim taws sensor yuav tsum txuas nrog raws li qhia hauv daim duab saum toj no. NodeMCU tseem txuas nrog PC ntawm USB cable.

Kauj Ruam 3: Kev Tshaj Tawm Kev Paub

Kev Ceeb Toom Kev Paub
Kev Ceeb Toom Kev Paub

Txhawm rau ceeb toom, peb yuav tsum teeb tsa IFTTT.

Kauj Ruam 4: Teeb IFTTT

Kev teeb tsa IFTTT
Kev teeb tsa IFTTT
Kev teeb tsa IFTTT
Kev teeb tsa IFTTT
Kev teeb tsa IFTTT
Kev teeb tsa IFTTT

Cov haujlwm koj yuav tsum tau ua:

  1. Mus rau ifttt.com;
  2. Sau npe rau ntawm lub vev xaib no;
  3. Thaum koj sau npe koj tuaj yeem tsim applets. Nias "Applet tshiab" thiab tom qab ntawd "yog +qhov no";
  4. Xaiv qhov kev pabcuam "Webhooks" thiab tom qab ntawv nyem rau "Tau txais lub vev xaib thov";
  5. Tam sim no koj yuav tsum sau lub npe ntawm qhov xwm txheej koj yuav xa mus rau hauv koj daim duab txhawm rau kho cov ntawv ceeb toom. Nws tsis muaj teeb meem dab tsi lub npe koj yuav muab rau nws. Nws tuaj yeem yog "fire_detected", piv txwv. Tab sis ceeb toom tias EXACT lub npe ntawm qhov xwm txheej yuav tsum tau siv hauv koj daim duab.
  6. Nias "+ntawd";
  7. Tam sim no koj yuav tsum xaiv qhov kev pabcuam uas yuav xa ntawv ceeb toom rau koj thaum pom hluav taws. Hauv peb qhov xwm txheej nws yog Telegram, yog li xaiv qhov kev pabcuam "Telegram";
  8. Xaiv "Xa lus";
  9. Tshaj li koj tuaj yeem hloov kho cov ntsiab lus xov uas koj yuav tau txais thaum qhov xwm txheej tshwm sim, yog li thaum pom hluav taws. Tsis tas li koj tuaj yeem xaiv seb koj puas yuav tau txais ntawv ceeb toom los ntawm tus qauv IFTTT kev sib tham lossis lwm yam kev sib tham. Tab sis ceeb toom tias txhua qhov xwm txheej koj yuav raug ceeb toom los ntawm IFTTT, yog li qhov tseeb kom tau txais kev ceeb toom los ntawm lwm qhov kev sib tham, koj yuav tsum ntxiv IFTTT rau qhov kev sib tham ntawd. Qhov txiaj ntsig nkaus xwb ntawm qhov ua yog tias koj tuaj yeem sau npe qhov kev sib tham no "Tswb ceeb toom hluav taws" lossis qee qhov ntxiv thiab tom qab ntawd tsuas yog tau nyeem lub npe ntawm kev sib tham hauv ceeb toom koj yuav paub dab tsi tshwm sim yam tsis tau nyeem kab lus.
  10. Nyem "Tsim kev nqis tes ua" thiab tom qab ntawd "Ua tiav".
  11. Koj teeb tsa IFTTT!

Kauj Ruam 5: Txoj Cai ntawm Txoj Haujlwm

Txoj Cai ntawm Txoj Haujlwm
Txoj Cai ntawm Txoj Haujlwm

Ntawm ifttt.com xaiv koj li profile thiab mus rau "Kuv cov kev pabcuam". Nyem rau ntawm "Webhooks" thiab tom qab ntawv nyem "Chaw". Koj yuav pom URL zoo li ntawm daim duab saum toj no. Cov cim ua ke tom qab kawg "/" yog koj li Webhooks Qhov Kev Pab Cuam. Nws yog qhov tsim nyog yuav tsum paub nws vim tias koj yuav siv nws hauv txoj haujlwm. Tsuas yog qhib "EMAIL.ino" thiab sau koj tus SSID, WiFi network password thiab Webhooks Service Key.

Pom zoo: