Cov txheej txheem:

Tsim Email Ceeb Toom Ntawm NCD Wireless Kub thiab Vaum Sensor Siv Node-Liab: 22 Cov Kauj Ruam
Tsim Email Ceeb Toom Ntawm NCD Wireless Kub thiab Vaum Sensor Siv Node-Liab: 22 Cov Kauj Ruam

Video: Tsim Email Ceeb Toom Ntawm NCD Wireless Kub thiab Vaum Sensor Siv Node-Liab: 22 Cov Kauj Ruam

Video: Tsim Email Ceeb Toom Ntawm NCD Wireless Kub thiab Vaum Sensor Siv Node-Liab: 22 Cov Kauj Ruam
Video: Ceeb toom caij nyug dab los sau se | Yaj Chiv Nqis Los 2024, Kaum ib hlis
Anonim
Tsim Email Ceeb Toom Ntawm NCD Wireless Kub thiab Vaum Sensor Siv Node-Liab
Tsim Email Ceeb Toom Ntawm NCD Wireless Kub thiab Vaum Sensor Siv Node-Liab

Peb tab tom siv NCD Qhov Kub thiab Vaum qhov ntsuas, tab sis cov kauj ruam nyob sib npaug rau ib qho ntawm cov khoom ncd, yog li yog tias koj muaj lwm lub ncd wireless sensors, muaj kev paub los soj ntsuam ib sab ntxiv. Los ntawm kev nres ntawm cov ntawv no, koj yuav tsum muaj kev nkag siab ruaj khov ntawm yuav teeb tsa lub ntsuas pa li cas, teeb tsa lub ntsej muag liab, thiab pom cov ntaub ntawv ntawm lub dashboard zoo li ib qho duab nyob ntawm no.

Kauj ruam 1: Kho vajtse thiab Software xav tau:

Kho vajtse thiab Software xav tau
Kho vajtse thiab Software xav tau
Kho vajtse thiab Software xav tau
Kho vajtse thiab Software xav tau

Kho vajtse:

1. NCD Long Range Kub thiab Vaum Sensor

2. NCD Long Range Wireless Mesh Modem nrog USB Interface

Software:

1. Node-Liab

Kauj Ruam 2: Teeb Node-liab

Tam sim no koj muaj cov ntsuas ntsuas ua haujlwm, peb xav tau txoj hauv kev los ua qee yam muaj txiaj ntsig nrog cov ntaub ntawv ntawd.

  • Ua ntej tshaj plaws, koj yuav tsum teeb tsa Node-Red.
  • Thaum ua tiav qhov no, koj yuav tsum nkag mus rau koj kab lus hais kom ua, lossis Lub Hwj Chim Lub Hwj Chim rau Windows cov neeg siv, taug kev mus rau cov npe Node-RED tau teeb tsa.
  • Tam sim no ntaus "npm i ncd-red-wireless node-red-dashboard". Qhov no yuav teeb tsa cov node xav tau kom tau txais cov ntaub ntawv los ntawm koj lub wireless sensors thiab koj tuaj yeem pib Node-RED thaum qhov no ua tiav.
  • Txhawm rau pib node server sau node-liab hauv qhov hais kom ua lossis davhlau ya nyob twg thiab nias nkag mus.

Kauj Ruam 3: Cov Kauj Ruam los Tsim Cov Dej

Cov Kauj Ruam Los Tsim Cov Dej
Cov Kauj Ruam Los Tsim Cov Dej

Txog ntawm qhov no koj yuav pom qhov khoob loj nrog cov npe ntev ntawm cov nodes nyob rau sab laug, sab tes no hu ua palette.

Kauj Ruam 4: Mus Ua Ntej thiab Luag Lub Wireless Gateway Node Tshaj rau Koj Cov Canvas Flow kom Pib

Mus Ua Ntej thiab Luag Lub Wireless Gateway Node Tshaj rau Koj Cov Canvas Flow kom Pib
Mus Ua Ntej thiab Luag Lub Wireless Gateway Node Tshaj rau Koj Cov Canvas Flow kom Pib

NCD-liab-wireless Muab cov nodes uas tswj kev sib txuas, txheeb xyuas cov ntaub ntawv khoom xa tuaj, lim nws los ntawm qhov tshwj xeeb, thiab tso cai rau koj teeb tsa lub wireless sensors.

Kauj Ruam 5: Nrhiav Koj Li Wireless Sensors:

Nrhiav Koj Cov Wireless Sensors
Nrhiav Koj Cov Wireless Sensors

Thaum koj tau xa cov node koj yuav tuaj yeem pom cov ntaub ntawv tab, uas muaj cov ntaub ntawv hais txog ntawm lub peev xwm muaj peev xwm, cov ntawv no tau muaj neeg nyob zoo rau qhov siab tshaj plaws ntawm pob liab thiab muaj cov txheeb cais muaj txiaj ntsig, feem ntau koj yuav tam sim no tsis xav tau saib lwm yam ntaub ntawv sab nraum ntawm cov ntaub ntawv tab, yog li tuav nws hauv kev xav txawm tias koj tab tom tsim koj cov dej ntws thaum koj muaj lus nug kwv yees li cas ntawm cov node ua haujlwm. Lub ntsiab lus tom ntej peb xav ua yog teeb tsa lub node, thaum koj thawj zaug ntxiv nws koj yuav nco ntsoov tias muaj daim duab peb sab me me nyob rau ntawm kaum sab xis saum toj ntawm lub cim xiav, daim duab peb sab qhia tias lub hauv paus xav tau kev teeb tsa ntxiv, xiav dot qhia tias lub node tsis muaj lawm tab sis tau muab tso ua ib feem ntawm qhov ntws.

  • Nyem ob npaug rau ntawm qhov kom qhib qhov kev xaiv teeb tsa.
  • Nyem rau ntawm tus xaum cim nyob ib sab ntawm Serial Device teb txhawm rau teeb tsa koj lub USB router, qhov no yuav qhib lub rooj teeb tsa thib ob uas tsuas muaj qee qhov kev xaiv.

Kauj Ruam 6: Nyem rau ntawm lub iav tsom iav tom ntej mus rau Serial Port Field thiab Xaiv Chaw Nres Nkoj uas Sib Raug Zoo Nrog Koj Lub Router, Tom qab ntawd nyem rau "Ntxiv" Khawm rau saum

Nyem rau ntawm lub iav tsom iav tom ntej ntawm Serial Port Field thiab Xaiv Qhov Chaw Nkaum uas Sib Xws Nrog Koj Tus Router, Tom qab ntawd Nyem rau "Ntxiv" Khawm rau saum
Nyem rau ntawm lub iav tsom iav tom ntej ntawm Serial Port Field thiab Xaiv Qhov Chaw Nkaum uas Sib Xws Nrog Koj Tus Router, Tom qab ntawd Nyem rau "Ntxiv" Khawm rau saum

Kauj Ruam 7: Cov Khoom Siv Hauv Nroog Tam Sim No Yuav Poob Raws Li Qhov Kev Xaiv, thiab Koj tuaj yeem Nyem "Ua tiav", Tam sim no koj muaj kev nkag ncaj qha rau koj lub Wireless Sensors! los Saib Cov Ntaub Ntawv Los Hauv

Cov Khoom Siv Hauv Zos Tam Sim No Yuav Muaj Cov Neeg Raws Li Qhov Kev Xaiv, thiab Koj tuaj yeem Nyem "Ua tiav", Tam sim no koj muaj kev nkag tau ncaj qha rau koj lub Wireless Sensors! los Saib Cov Ntaub Ntawv Los Hauv
Cov Khoom Siv Hauv Zos Tam Sim No Yuav Muaj Cov Neeg Raws Li Qhov Kev Xaiv, thiab Koj tuaj yeem Nyem "Ua tiav", Tam sim no koj muaj kev nkag tau ncaj qha rau koj lub Wireless Sensors! los Saib Cov Ntaub Ntawv Los Hauv

Kauj Ruam 8: Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless

Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless
Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless

Kauj Ruam 9: Ob Nyem Nyem Rau Nws thiab Hloov "msg." kom "ua tiav Msg Object" Nyem Ua tiav

Nyem ob npaug rau nws thiab Hloov "msg." kom "ua tiav Msg Object" Nyem Ua tiav
Nyem ob npaug rau nws thiab Hloov "msg." kom "ua tiav Msg Object" Nyem Ua tiav

Kauj Ruam 10: Tam sim no Kos Kab Kab Ntawm Ob Lub Nodes, thiab Nyem "Deploy" nyob rau sab saum toj sab xis ntawm lub qhov rais

Tam sim no Kos Kab Kab Ntawm Ob Lub Nodes, thiab Nyem "Deploy" nyob rau sab saum toj sab xis ntawm lub qhov rais
Tam sim no Kos Kab Kab Ntawm Ob Lub Nodes, thiab Nyem "Deploy" nyob rau sab saum toj sab xis ntawm lub qhov rais

Kauj Ruam 11: Ua Haujlwm Nrog Cov Ntaub Ntawv:

Ua haujlwm nrog cov ntaub ntawv
Ua haujlwm nrog cov ntaub ntawv

Tam sim no tawm ntawm koj cov wireless cov ntaub ntawv tau sib sau thiab nws tau tso tawm rau "debug" tab, qhov no "debug tab" tau muab tso rau hauv sab xis sab tom qab cov ntaub ntawv tab. Txhawm rau pom cov ntaub ntawv muaj nyob rau ntaus lub khawm pib dua. Hauv cov ntaub ntawv-liab cov ntaub ntawv tau dhau ntawm cov nodes hauv pob json. Thaum cov khoom msg tuaj rau hauv qhov debug tab koj tuaj yeem ua rau nws loj dua los saib cov npe tag nrho cov ntaub ntawv uas los nrog nws. Qhov no muaj txiaj ntsig tshwj xeeb hauv qhov xwm txheej koj yuav tsum tau pom sai sai uas cov sensors tau tshuaj xyuas hauv. ntawm lub node thiab cov cuab yeej yuav hloov mus rau lub network teeb tsa, ntaus nws ib zaug ntxiv kom rov qab mus rau hom mloog. Thaum peb tau txais cov cuab yeej wi-fi ntawm cov teeb tsa, lawv yuav raug teeb tsa ib txwm teeb tsa lub teeb tsa thaum nws nkag mus rau hauv kev teeb tsa hom, yog li nws ib txwm muaj los tswj xyuas cov rooj vag ntawm no tam sim no ntawm qhov nrawm rau teeb tsa lub cuab yeej.

Kauj Ruam 12: Ntxiv Cov Wireless Sensors:

Ntxiv Wireless Sensors
Ntxiv Wireless Sensors

peb yuav tsum tau cais cov ntaub ntawv tsis siv lub tshuab hluav taws xob hauv tsev kom peb muaj peev xwm tso tawm nws, peb tuaj yeem siv qhov hloov pauv los cais tawm cov lus los ntawm lub qhov rooj raws li tag nrho ntawm mac chaw nyob nrog lossis hom sensor, tab sis raws li kuv hais txog, wireless nodes tiag tiag suav nrog kev ua haujlwm ntxiv rau teeb tsa cov cim, yog li peb yuav pib nrog lawv los muab koj cov duab ntxiv ntawm qhov uas cov qauv no tuaj yeem ua haujlwm li cas. Yog tias koj tseem tsis tau pom cov pob ntawv los ntawm ob qho ntawm koj lub ntsuas, hla ua ntej thiab ntaus lub pob pib dua ntawm qhov tsuas yog tsis tau pib. Thaum lub ntsuas ntsuas ntsuas los ntawm ib qho txheej txheem teeb tsa ntawm lub cuab yeej, qhov chaw nyob mac thiab hom kev ntsuas tau kaw rau hauv pas dej ua ke yog li peb tuaj yeem pom sai sai rau lub sijhawm ntawm cov kauj ruam tom ntej no.

Lob Wireless Node los ntawm lub palette thiab rub nws mus rau qhov ntws, ob npaug nias rau nws kom nws teeb tsa

Kauj Ruam 13: Xaiv Cov Khoom Siv Los Ntawm Qhov Tso Tawm Uas Koj Siv Rau Wireless Gateway, Tam sim no Nyem rau lub iav tsom iav tom ntej mus rau "Mac Chaw Nyob" thiab Xaiv Ib qho ntawm Cov Kev Xaiv Muaj

Xaiv Cov Khoom Siv Los Ntawm Qhov Tso Tawm Uas Koj Siv Rau Wireless Gateway, Tam sim no Nyem rau lub iav tsom iav tom ntej rau “Mac Chaw Nyob” thiab Xaiv Ib qho ntawm Cov Kev Xaiv Muaj
Xaiv Cov Khoom Siv Los Ntawm Qhov Tso Tawm Uas Koj Siv Rau Wireless Gateway, Tam sim no Nyem rau lub iav tsom iav tom ntej rau “Mac Chaw Nyob” thiab Xaiv Ib qho ntawm Cov Kev Xaiv Muaj

Kauj ruam 14: Nyem Ua tiav

Nyem Ua tiav
Nyem Ua tiav

Koj yuav pom qhov no cia li teeb tsa lub hom sensor rau koj, koj tseem tuaj yeem muab nws lub npe los ua kom yooj yim txheeb xyuas. Raws li tau sau tseg hauv cov ntaub ntawv tab, Serial Device for Config field yog nyob ntawm yeem, thiab peb yuav tsis txhawj txog nws tam sim no. Lub node koj nyuam qhuav ntxiv ua haujlwm tau zoo raws li lub lim ntawm cov ntaub ntawv sensor nkag, tsuas yog hla cov ntaub ntawv rau mac chaw nyob, lossis hom sensor yog tias tsis muaj mac chaw nyob.

Kauj Ruam 15: Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless

Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless
Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless
Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless
Tam sim no rov qab mus rau koj lub Palette thiab ntaus "debug" rau hauv Chaw Tshawb Nrhiav nyob rau sab saum toj, Lob Ib qho ntawm Cov Nodes no thiab Luag Nws mus rau sab xis ntawm Koj Lub Rooj vag Wireless

Ob npaug nias rau nws thiab nyem ua tiav

Kauj Ruam 16: Ntxiv Txoj Haujlwm Nodes

Ntxiv qhov Function Nodes
Ntxiv qhov Function Nodes
Ntxiv qhov Function Nodes
Ntxiv qhov Function Nodes
Ntxiv qhov Function Nodes
Ntxiv qhov Function Nodes
Ntxiv qhov Function Nodes
Ntxiv qhov Function Nodes

Txoj haujlwm ua haujlwm tau siv los khiav JavaScript code tiv thaiv cov khoom msg. Lub luag haujlwm ua haujlwm lees txais cov khoom msg raws li kev nkag thiab tuaj yeem xa rov qab 0 lossis ntau dua cov khoom lus raws li tso tawm. Cov lus xa xov no yuav tsum muaj cov peev txheej them (msg.payload), thiab feem ntau muaj lwm yam khoom nyob ntawm qhov ua raws.

  • Tam sim no lob tus "ua haujlwm" ntawm lub palette, thiab tso nws mus rau sab xis ntawm Temp/Hum node.
  • Nyem ob npaug rau ntawm qhov kom qhib qhov kev xaiv teeb tsa.

Ntawm no koj yuav tsum sau me ntsis javascript code los tsim qhov xwm txheej, yog li ntawm qhov kub tshwj xeeb, yuav ceeb toom email yuav xa mus rau tus lej email tshwj xeeb.

  • Lwm qhov zoo tshaj plaws ntawm tus tsim kev tsim tawm yog daim ntawv+muab tshuaj, nyem rau ntawm lub luag haujlwm uas koj nyuam qhuav ntxiv thiab nyem ctrl+c (cmd+c ntawm mac), tom qab ntawd cntl+v, tam sim no koj muaj lub luag haujlwm thib ob.
  • Tam sim no ob npaug nyem rau nws kom hloov Daim Ntawv Cim rau Cov Vaum thiab sau qee qhov javascript code los tsim qhov xwm txheej kom xa email ceeb toom ntawm tus nqi tshwj xeeb ntawm cov av noo thiab nyem ua tiav.

Kauj Ruam 17: Ntxiv Email Node

Ntxiv Email Node
Ntxiv Email Node
Ntxiv Email Node
Ntxiv Email Node
Ntxiv Email Node
Ntxiv Email Node
Ntxiv Email Node
Ntxiv Email Node

Tam sim no lob ib qho email tso tawm ntawm lub palette thiab tso nws mus rau sab xis ntawm Cov Kub thiab Vaum ntawm

Lub Email node muab ob qho kev nkag thiab tso tawm ntawm email.

  • Tam sim no ob npaug nyem rau nws thiab qhib qhov email hloov pauv thiab ntxiv "email-id" ntawm tus neeg thaum xub teb uas koj xav xa email ceeb toom thiab tom qab ntawd tseem ntxiv "email-id thiab password" ntawm tus neeg ntawd los ntawm qhov chaw koj xav xa ceeb toom raws li qhia hauv daim duab hauv qab no thiab nyem ua tiav.
  • Tam sim no kos tag nrho cov xov hlau thiab nyem xa tawm raws li qhia hauv daim duab.
  • Tam sim no koj yuav pom email xa.

Kauj Ruam 18: Tam sim no Koj Tseem Muaj Cai Txheeb Xyuas Tus Email Email-id

Tam sim no koj tseem tuaj yeem tshawb xyuas ntawm Tus Email Email-id
Tam sim no koj tseem tuaj yeem tshawb xyuas ntawm Tus Email Email-id

Kauj Ruam 19: Nov Yog Email Ceeb Toom Ntawm Qhov Kub

Nov yog Email Kev Ceeb Toom Ntawm Qhov Kub
Nov yog Email Kev Ceeb Toom Ntawm Qhov Kub

Kauj Ruam 20: Nov Yog Qhov Email Qhia Txog Tus Nqi Humidity

Nov yog Email Kev Ceeb Toom Ntawm Cov Vaum Tus Nqi
Nov yog Email Kev Ceeb Toom Ntawm Cov Vaum Tus Nqi

Kauj Ruam 21: Yog tias Koj Pom Tsis Muaj Emails Xa lossis "Xa Tsis Tau", Mus rau Google Account thiab Koj Yuav Pom "Kev Nyab Xeeb Teeb Meem Pom"

Yog tias Koj Pom Tsis Muaj Email Xa lossis lossis
Yog tias Koj Pom Tsis Muaj Email Xa lossis lossis
Yog tias Koj Pom Tsis Muaj Email Xa lossis lossis
Yog tias Koj Pom Tsis Muaj Email Xa lossis lossis
Yog tias Koj Pom Tsis Muaj Email Xa lossis lossis
Yog tias Koj Pom Tsis Muaj Email Xa lossis lossis

Nyem rau nws thiab tso cai rau "Tus thib peb nkag mus" rau cov apps raws li qhia hauv daim duab

Yog tias koj tseem tsis tau txais email, koj tseem tuaj yeem tshawb xyuas koj lub nplaub tshev spam.

Pom zoo: