Cov txheej txheem:

Internet Pab DSC Lub Tsev Ruaj Ntseg Hauv Tsev: 22 Cov Kauj Ruam
Internet Pab DSC Lub Tsev Ruaj Ntseg Hauv Tsev: 22 Cov Kauj Ruam

Video: Internet Pab DSC Lub Tsev Ruaj Ntseg Hauv Tsev: 22 Cov Kauj Ruam

Video: Internet Pab DSC Lub Tsev Ruaj Ntseg Hauv Tsev: 22 Cov Kauj Ruam
Video: lawv tsi pub peb pws lawv lub tsev so lawm 2024, Kaum ib hlis
Anonim

Hloov kho DSC Lub Tsev Ruaj Ntseg uas twb muaj lawm los ua internet siv tau thiab saib xyuas tus kheej.

Cov lus qhia no xav tias koj muaj Raspberry Pi ua haujlwm.

Thov nco ntsoov qhov kev siv no muaj qhov ua tsis zoo hauv qab no:

  • Yog tias ib tus tub sab txiav lub DSL cable uas yuav los lossis cov kev pabcuam hauv internet poob, ces kev saib xyuas los ntawm Is Taws Nem raug xiam oob khab

    Yav tom ntej: Kev ua haujlwm ib puag ncig rau qhov teeb meem no yog siv tus nqi qis LTE thaub qab-tsuas yog kev pabcuam

  • DSC sensors tsis qhia tias lub qhov rooj lossis lub qhov rais raug kaw, tsuas yog lawv kaw lawm

    Yav tom ntej: Ntxiv lub laub khawm toggle uas tau qhib los ntawm lub qhov rooj xauv qhov ntsia liaj qhov rooj. Qhov no yuav siv txoj haujlwm tseem ceeb los tswj cov kab hluav taws xob yam tsis ua kom lub qhov rooj tawg

  • DSC txhawb kev koom ua ke ntawm lub tswb hluav taws. Txawm li cas los xij, kuv lub tsev ceeb toom hluav taws tsis suav nrog

    Yav tom ntej: koom nrog lub tswb hluav taws rau hauv DSC tswj vaj huam sib luag

  • Lub kaw lus DSC uas tau teeb tsa tsis muaj lub ntsuas hluav taws xob rau lub qhov rooj rau tsheb

    Yav dhau los, Kuv tau tsim Lub Nkoj Qhov Rooj Qhib Qhia thiab kuv tuaj yeem nyeem lub qhov rooj qhib lossis kaw

Lub hom phiaj ntawm txoj haujlwm no yog:

  • Xa kev ruaj ntseg ceeb toom rau kuv lub xov tooj ntawm tes
  • Txheeb lossis teeb tsa kev ruaj ntseg xwm txheej los ntawm nplooj ntawv web-ruaj ntseg
  • Khiav qhov kev daws teeb meem ntawm kev ruaj ntseg raspberry pi (https thiab ntawv pov thawj)
  • Siv cov txheej txheem DSC uas twb muaj lawm los tshuaj xyuas tus kheej
  • Ntxiv EnvisaLink 3 ntxiv Ethernet txhawb rau DSC system
  • Sau tus kheej saib xyuas software
  • Tsim ib qho kev qhia rau kev siv zog no

Thov Nco Ntsoov: Hauv daim ntawv no, cov ntawv nyob hauv [square brackets] yuav tsum hloov nrog tus nqi tiag

Kuv tsev neeg yeej tsis muaj peb lub tsev raug nyiag, thiab peb nyob hauv thaj chaw uas muaj kev ua txhaum cai tsawg. Tsis muaj laj thawj txaus los ua txoj haujlwm no, tsuas yog nws nthuav thiab lom zem.

Thov nco ntsoov muaj qhov txiav luv luv rau qhov kev qhia no. Thaum Envisalink 3 tab tom ua haujlwm, koj tuaj yeem siv qhov kev daws teeb meem tawm los ntawm Eyes-On hu ua EnvisAlerts thiab EnvisAlarm, uas xa kev ceeb toom thiab saib xyuas koj lub tsev thiab/lossis lub xov tooj ntawm tes txias heev hu ua DSC Security Server los ntawm Mike P. Kuv tau kos npe rau EnvisAlerts, thiab yuav Mike P's DSC Security Server. Kuv zoo siab heev nrog ob qho, tab sis xav tau kuv tus kheej version.

Kauj Ruam 1: Teeb meem thiab cov ntaub ntawv tshwj xeeb

Muaj qee cov ntaub ntawv uas kuv hais txog ntau zaus thiab kuv nyiam suav nrog cov ntaub ntawv no nyob rau pem hauv ntej.

Tswb - pab thiab lov tes taw

Xyuas kom txhua lub qhov rooj thiab qhov rais raug kaw. Ntawm lub vaj huam sib luag tswj, nkag mus rau tus lej tswv:

[tus thawj tswj] = [koj tus lej tswv]

Lov tes xov tooj

Kuv lub tsev muaj xov tooj hauv av, tab sis kuv tsis muaj kab kev pabcuam hauv av. Nyob ib ncig ntawm 11 teev tsaus ntuj txhua hmo lub kaw lus nrov nrov. Yog tias lub system poob lub zog, tom qab ntawv qhov no yuav tsum tau rov nkag mus. Txhawm rau lov tes taw qhov beeping no, ntawm tus keypad sau cov hauv qab no:

  • Xiam lub xov tooj: *8 5555 015 7 ##
  • Tua tawm xov tooj kab kev xeem xa mus *8 5555 371 9999 ##
  • Tua lub xov tooj hu xov tooj: *8 5555 380 1 ##

Envisalink Alert Server

Nkag mus rau Envisaiink

Tau Envisalerts Server: 184.106.215.218

Qhib U-nqe lus router: 192.168.1.254

Mus rau Chaw, Firewall

Nkag mus rau tus ID nkag mus

Qhib Browser

Nkag mus rau Envisalink IP chaw nyob:

[envisalink username] = neeg siv

[envislink password] = [sau koj tus password]

Nkag Mus IP Chaw Nyob

[Envisalink IP chaw nyob] = 192.168.1.92

Qhov muag-ntawm tus username thiab password

[qhov muag-ntawm tus neeg siv lub npe] = [koj lub npe siv lub vev xaib]

[qhov muag-rau lo lus zais] = [koj tus password nkag mus]

Installer tus code

[Installer's Code] = [Sau koj li Installer Code]

5555 yog lub hauv paus chaws. Koj tuaj yeem nug koj tus installer rau tus lej, lossis koj tuaj yeem ua lub Hoobkas pib dua, uas tso nws rov qab mus rau 5555. Kuv tsis pom zoo kom rov pib dua lub Hoobkas vim tias muaj peev xwm ua rau lub system puas tsuaj.

Master Code

[MasterCode] = [nkag mus rau koj tus lej tswv]

Raspberry Pi IP chaw nyob

[Raspberry Pi IP] = [nkag rau koj tus Raspberry Pi IP chaw nyob, qee yam zoo li 192.168.1.57]

Raspberry Pi nkag los ntawm Mac Phau Ntawv

Ntawm Mac Phau Ntawv, qhib lub davhlau ya nyob twg

ssh pi@[Raspberry Pi IP]

[Lo lus zais]

Raspberry Pi lo lus zais

Lo lus zais = [koj tus lej Raspberry Pi]

Router

Router IP Chaw Nyob = [nkag mus rau koj tus IP chaw nyob IP]

Teem Sijhawm thiab Hnub DSC

*611301hhmmMMDDYY#

hh yog sijhawm ua tub rog, rau yav tsaus ntuj ntxiv 12. Yog li, 4 teev tsaus ntuj yog 16

Zaum Programming

Zaum Tswb Hom

01 - Tswb tom qab muab ncua sijhawm (lub sijhawm 60 vib nas this) hauv Hom Nyob lossis Tsis Nyob

03 - Tswb tam sim yog ua txhaum thaum nyob hauv Hom lossis Tsis Nyob

05 - Sab hauv tsab ntawv tsa suab sensor. Tswb tam sim yog hais tias ua txhaum tsuas yog thaum Away hom (hla thaum nyob hauv)

Hauv cov keyboard, sau:

*8 [Installer Code] 001 01 03 05 05 87 # #

Kev piav qhia ntawm cov lej sib tshooj saum toj no:

  • *8 [Installer Code]
  • 001 - Qhov no tau txais koj mus rau thaj tsam cov phiaj xwm rau thaj chaw
  • 01 03 05 05 87 - Nov yog kuv ntu ntu ntawm lub tswb hom, hauv cheeb tsam xaj ntawm 1 txog 5.
  • Txhua cheeb tsam yuav tsum tau teeb tsa kom raug.
  • # # - Qhov no txuag yam koj tau ua thiab ua rau koj rov qab tawm ntawm hom phiaj xwm.

Kauj Ruam 2: Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv

Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv
Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv
Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv
Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv
Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv
Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv
Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv
Nrhiav Koj Cov Keypad thiab Tswj Vaj Huam Sib Luag Qauv Zauv

Nrhiav tus lej xov tooj qauv. DSC keypad nyob ze ntawm lub qhov rooj (duab 1 & 2). Hauv kuv lub tsev, muaj ib lub pob los ntawm lub qhov rooj tsheb thiab ib qho los ntawm lub qhov rooj.

Nrhiav cov tswj vaj huam sib luag qauv tooj. Cov keypad muaj daim ntawv nplaum rau sab saum toj, thiab tus lej tus lej nyob hauv nruab nrab. Kuv yog PK5501 (duab 3 & 4).

Lwm txoj hauv kev los ua qhov no yog:

  • Hauv computer, qhib qhov browser
  • Mus rau

Kuv lub vaj huam sib luag tswj tau nyob hauv lub thawv hlau hauv lub txee dai khaub ncaws (duab 3). Qhib lub thawv hlau thiab nyob hauv nruab nrab ntawm lub vaj huam sib luag tswj yog daim ntawv nplaum nrog tus lej qauv. Kuv tus qauv tswj hwm tus lej yog PC1616 (duab 4).

Kauj Ruam 3: Txheeb Xyuas Yog tias EnvisaLink 3 Tau Tshaj Nrog Koj Li Kev Ruaj Ntseg

Nyem rau ntawm eyeson.com txuas.

Scroll cia rau vaj huam sib luag sib xws thiab saib yog koj li muaj npe. Yog tias tsis kos nrog EyesOn.

Kauj Ruam 4: Tau DSC Cov Ntaub Ntawv

DSC muab Phau Ntawv Qhia Rau Neeg Siv, tab sis feem ntau ntawm lwm cov ntaub ntawv xav kom koj ua tus nruab

  • Rau cov tswj vaj huam sib luag, nrhiav Tus Txheej Txheem Phau Ntawv Qhia, Cov Neeg Siv Phau Ntawv Qhia, Phau Ntawv Qhia Txog Tus Kheej, thiab Daim Ntawv Qhia Ua Haujlwm.
  • Rau cov keyboard, nrhiav Phau Ntawv Qhia Kev Txhim Kho. Phau ntawv kuv pom yog txhua cov ntaub ntawv PDF.

Ntau qhov tsis yog-DSC qhov chaw ntawm DSC phau ntawv qhia muaj nyob online. DSC phau ntawv tsis xav tau rau qhov kev qhia no. Cov no tsuas yog cov lus qhia yog tias koj xav txuas ntxiv cov lus qhia lossis yog tias koj lub kaw lus siv ntau qhov sib txawv.

LiveWatch.com yog qhov zoo tshaj plaws ntawm DSC phau ntawv qhia. LiveWatch kuj tseem muaj txiaj ntsig zoo hauv kev teb cov lus nug thiab ua rau kuv tsis khov. Kuv tsis tuaj yeem ua tiav cov lus qhia no yam tsis muaj kev pab los ntawm LiveWatch.

Kauj Ruam 5: Yuav lossis Sau Cov Khoom thiab Cov Cuab Yeej

A) DSC Security system nrog PK5501 Keypads, PC1616 tswj vaj huam sib luag thiab ntau yam ntsuas (lub qhov rais, qhov rooj, thiab kev txav). Kev ruaj ntseg tuaj nrog tsev.

B) xaj EnvisaLink 3 - $ 119 + S&H. www.eyezon.com

C) AT & T U-nqe internet muab kev pabcuam, DSL Gateway

D) 24-chaw nres nkoj NetGear Tswj kev hloov

E) Cov laj kab dev uas pom tsis tau lossis Thermostat xaim

F) CAT5E Ethernet cable

G) Plaub 18-22 ntsuas AWG xov hlau txog 6 ntiv tes ntev (liab, dub daj, ntsuab)

H) Koob lub qhov ntswg

Kuv) Laum thiab 3/16 hlau laum ntsis thiab me ntsis tho me ntsis

J) Cov tshuab hluav taws xob dub daim kab xev

K) Ntsia taub hau me me heev (Kuv muaj ib qho los txhim kho kuv lub tsom iav thaum cov ntsia hlau ntog tawm)

L) SPST Mini Momentary Pushbutton Hloov, ib txwm kaw

M) Cov ntaub yas me me (siv hlua dig hniav)

N) Riam tseeb

Kauj Ruam 6: EnvisaLink 3 Kev Txhim Kho

EnvisaLink 3 Kev Txhim Kho
EnvisaLink 3 Kev Txhim Kho
EnvisaLink 3 Kev Txhim Kho
EnvisaLink 3 Kev Txhim Kho

Kuv yuav tsum tsis tau ua raws cov lus qhia uas tuaj nrog EnvisLink 3.

Thawj kauj ruam hauv cov lus qhia yog txiav lub hwj chim los ntawm PC1616. Kuv xav tias qhov no txhais tau tias yog lub zog AC thiab lub roj teeb backup zog. Kuv txuas ob qho tib si, thiab tom qab ntawd yuav tsum tau hu xov tooj mus rau tus kws tshaj lij kom tau txais cov keypads rov qab los ntawm kab. Qhov kev pabcuam hu yog $ 135.

  1. Kuv lub PC1616 tau ntim rau hauv cov ntaub ntawv hlau. Nrhiav koj li kev ruaj ntseg system PC1616 board.
  2. Siv EV3 los tsim cov ntawv ntawv rau lub qhov offset. Tus qauv siv los cim qhov ntawm lub rooj hlau. Vim tias nws tau yooj yim dua los ntawm sab nraum lub thawv rau sab hauv, kuv yuav tsum thim rov qab tus qauv.
  3. Scotch kaw kab ntawv rau sab nraum lub thawv hlau uas muaj PC1616. Xaiv qhov chaw uas muaj chav txaus kom haum rau Envisalink 3.
  4. Qeeb heev, siv 3/16 "hlau laum ntsis thiab tus qauv, laum 3 qhov nyob rau sab ntawm lub thawv hlau.
  5. Los ntawm sab hauv ntawm rooj plaub hlau, thawb cov yas ntim rau hauv lub qhov
  6. Nruab EV3 lub rooj tsavxwm hauv lub thawv hlau ntawm cov yas yas.
  7. Sawb 1/4 "los ntawm ob qho kawg ntawm cov xim liab, dub, ntsuab thiab daj (lossis koj tuaj yeem txiav ib txoj kab RJ11 thiab siv cov xov hlau sab hauv). pawg thawj coj txuas tuav cov hlau ruaj khov.
  8. Txuas lub AC fais fab hlau dub los ntawm DSC Tus Tswj. Nov yog xaim thib ob ntawm sab laug. Ceev faj tsis txhob tso qhov kawg ntawm cov xaim dub kov txhua yam. Kuv qhwv qhov kawg hauv kab xev hluav taws xob kom txog thaum kuv ua tiav cov kauj ruam tom ntej. Yog tias cov xaim dub kov txhua yam, tus hloov pauv yuav luv thiab koj yuav tau hu rau lub tuam txhab pabcuam los hloov.
  9. Siv lub taub hau me me taub hau ntswj taub hau, teeb cov xim xaim rau hauv qhov tsim nyog ntawm EV3.
  10. Ib-ib-ib, xoob liab, ntsuab, daj, thiab ntsia hlau dub ntawm DSC tus tswj hwm tab sis XWB txaus los xaub cov xov hlau tshiab nkag mus.
  11. Reinsert AC fais fab (tshem tawm hauv G) rau DSC tus tswj.
  12. Siv CAT5e lossis CAT6 cable txuas EnvisaLink 3 rau router.

Kauj Ruam 7: Txhim Kho Momentary Power Push Button Toggle

Nruab Nruab Momentary Power Push Button Toggle
Nruab Nruab Momentary Power Push Button Toggle

Kuv muaj ntau qhov teeb meem kev teeb tsa Tus Kws Tshaj Lij thiab DSC Tus Tswj. Kuv pom toggling lub zog tua thiab ntawm tau txais lub system rov qab mus rau lub xeev paub zoo. Tom qab ntawd, Kuv tau ntxiv ib lub sijhawm thawb khawm toggle. Muaj ntau hom toggle. Feem ntau kaw yog qhov xav tau.

A) Tau txais lub thawv yas me me. Kuv tau siv rooj plaub txhuam hniav, uas yog hom kws kho hniav yuav muab rau koj tom qab teem sijhawm. Tshem cov hlua thiab cov hlua hlau.

B) Laum ob lub qhov me me rau AC xaim

C) Laum lossis txiav lub qhov rau qhov hloov pauv ib ntus. Kuv pom tias nws yooj yim dua rau siv rab riam exacto tom qab ntawd tho qhov. Qhib rooj plaub thiab txiav ib nrab qhov ntawm ib sab ntawm qhov qhib thiab lwm qhov ib nrab ntawm ib sab uas nyob ib sab. Yog li, thaum lub sijhawm hloov pauv me me swb hauv ib sab thiab thaum rooj plaub raug kaw qhov hloov pauv tam sim no tau khov kho.

D) Tshem AC lub zog los ntawm Envisalink. Khiav AC fais fab hlau los ntawm ib qho ntawm lub qhov me me thiab txuas rau ua rau lub zog hloov pauv ib ntus. Qhwv hauv tshuab hluav taws xob daim kab xev.

E) Sawb qhov xaus ntawm 3-4 nti daim hlau. Khiav ib qho kawg los ntawm lwm qhov me me hauv rooj plaub thiab txuas mus rau lwm cov hlau lead ntawm qhov hloov pauv ib ntus. Qhwv hauv kab xev hluav taws xob.

F) Txuas tus xov tooj thib ob los ntawm kev hloov pauv ib ntus rau Envisalink AC fais fab qhov

G) Siv daim kab xev scotch los kaw rooj plaub

H) Txheeb xyuas yog toggle ua haujlwm. Lub kaw lus yuav tsum nquag ua haujlwm. Thaum lub toggle raug nias lub teeb ntawm Envisalink yuav ploj mus.

Kauj Ruam 8: Sau Npe EnvisaLink 3

Thaum sau npe, koj tsis tuaj yeem sau npe. EyesOn sau koj cov ntaub ntawv thiab tuaj yeem hloov kho koj lub khoos phis tawj software txhua lub sijhawm, yam tsis muaj kev ceeb toom. Yog tias kuv yuav tsum ua qhov no ntxiv, kuv yuav tsis ua cov kauj ruam no.

A) Qhib tus browser thiab mus rau www.eyezon.com, Txhawb nqa nqis thiab xaiv EnvisaLink 3 Primer Guide

B) Ua raws cov lus qhia hauv Primer (Sau npe, Nkag mus, Ntxiv Ntaus Tshiab, thiab lwm yam,)

C) Tus neeg siv = [qhov muag pom ntawm lub npe]

D) Lo lus zais = [qhov muag pom tus password]

Kauj Ruam 9: Txheeb xyuas EnvisaLink 3 Kev Txhim Kho

Qhib qhov browser thiab mus rau koj lub router home page.

  1. Qhib qhov browser
  2. Nkag mus [Router IP Chaw Nyob]
  3. Hauv Tsev tab scroll nqes mus rau Cov Khoom Siv Hauv Tsev Hauv Tsev

Kuv U-nqe lus nyob rau rooj vag (lossis router) qhia qee yam zoo li Duab 1.

Nqes mus rau lub cuab yeej, thiab nws yuav tsum zoo li duab 2.

Qhov xwm txheej nquag txhais tau tias pawg thawj coj tau teeb tsa thiab ua haujlwm.

Nyem rau Paub meej kom tau tus IP chaw nyob ntawm EnvisaLink. Tus IP chaw nyob tuaj yeem hloov pauv ib lub sijhawm.

Qhib qhov browser thiab nkag mus

[Envisalink IP chaw nyob]

Sau tus neeg siv lub npe thiab tus password:

[envisalink username]

[envislink lo lus zais]

Sau tus username thiab password los ntawm phau ntawv qhia kev teeb tsa. Qhov browser yuav tsum qhia qee yam zoo li duab 3.

Kauj ruam 10: Hloov Default Password ntawm Envisalink 3

A) Qhib browser

B) Mus rau [Envisalink IP Address] /: 80

Piv txwv yog 192.168.1.34/:80. Tus /: 80 yog chaw nres nkoj.

C) Hauv Hloov Tus Neeg Siv Tus lej hloov tus password. Nco tseg: default username thiab password yog neeg siv

D) Sau [tus password nkag mus]

Kauj Ruam 11: (luv-txiav) Tsim Txawb Txuas [xaiv tau]

Koj tsis tas yuav ua cov kauj ruam no lossis tom ntej, tab sis yog tias koj xav ua kom tiav, ces qhov no yog qhov kev xaiv zoo.

Eyez-On muab kev pabcuam tshuaj xyuas tiav. Nws yog ib qho yooj yim mus siv thiab ua hauj lwm zoo. Yog tias koj xav siv qhov kev pabcuam no ces ua raws cov lus qhia hauv kauj ruam 10 thiab 11. Txwv tsis pub hla mus rau qib 12. Thov nco ntsoov, Kuv tau ua ob qho 10 thiab 11 thiab tom qab ntawd yuav tsum tau ua haujlwm rau lawv. Ob qho kev pabcuam tau ua haujlwm zoo thiab kuv tsis muaj teeb meem, Kuv tsuas yog xav ua nws tus kheej.

A) Qhib browser thiab mus rau Eyez-On

B) ID nkag mus (hauv qib ua ntej koj yuav tsum tau tsim tus as khauj)

C) Xaiv Mobile Portal Link

D) Nyem tsim mobile txuas

www.eyez-on.com/EZMOBILE/index.php?mid=13b7d2f4e95b7d62dbcfb801a835064ee4406c79

E) Qhov txuas ntev. Email nws rau koj lub xov tooj ntawm tes.

F) Qhib qhov txuas ntawm koj lub xov tooj ntawm tes

G) Qhib lwm lub qhov rai browser lossis tab thiab mus rau Eyez-On, xaiv kev txhawb nqa thiab xaiv EnvisAlarms Saib Xyuas Tus Thawj Coj los ntawm kev nqis qis

H) Ua raws cov lus qhia txhawm rau rub tawm EV3 tus kheej saib xyuas software

Kuv) Ua raws cov lus qhia txhawm rau teeb tsa qhov koj xav tshuaj xyuas

Kauj Ruam 12: Nruab DSC Server App ntawm Koj Lub Xov Tooj Ntsej Muag [yeem]

Koj tsis tas yuav ua cov kauj ruam no lossis qib dhau los, tab sis yog tias koj xav ua kom tiav, ces qhov no yog qhov kev xaiv zoo.

A) Mus rau Android lossis Apple lub khw thiab yuav DSC Kev Ruaj Ntseg Ruaj Ntseg app los ntawm Mike P.

Yog tias koj tau ua ob kauj ruam dhau los, tom qab ntawd koj tau ua tiav! Koj yuav tsum muaj peev xwm saib xyuas thiab tswj hwm koj txoj kev nyab xeeb nyob deb.

Kauj Ruam 13: Cov Lus Tseem Ceeb Txog Envisalink 3 thiab PC1616

Kev sib txuas lus los ntawm Envisalink 3 mus rau EnvisAlerts siv UDP. Kev sib txuas lus los ntawm Envisalink 3 rau tsab ntawv siv TCP/IP.

Envisalink 3 Ethernet chaw nres nkoj tsuas yog sib txuas lus ntawm 10Mbps. Feem ntau 1Gb lossis 100Mb Ethernet routers thiab cov hloov pauv yuav pib sib tham txog 10Mbps.

Hauv seem 022 ntawm PC1616, xaiv 1 tsis tuaj yeem qhib. Qhov kev xaiv no xav kom tus neeg siv nkag mus siv tus lej txhawm rau nkag mus rau cov neeg siv lub luag haujlwm xws li hla thaj chaw, thiab lwm yam.

Keypad Blanking thiab Zone Bypassing yuav tsum tau tawm rau Envisalink ua haujlwm.

Kauj Ruam 14: Tshem Tawm Txoj Haujlwm hauv Ob Kauj Ruam dhau los

Thaum pib, Kuv tau kos npe rau Envisalerts thiab rau Mike P's app.

Txij li thaum kuv tsis xav xa kuv cov ntaub ntawv kev nyab xeeb xa mus rau Is Taws Nem, thiab kuv tsis xav kom Envisalink 3 software hloov kho yam tsis muaj kuv qhov ua tau zoo, kuv xav tau thaiv Envisalink 3 kev nkag mus rau internet.

A) Qhib browser

B) Mus rau AT&T U-nqe 3801HGV lub qhov rooj. Nkag mus rau hauv browser qhov URL Box: 192.168.1.254

C) Nkag mus rau hauv lub qhov rooj

D) Mus rau Tsev

E) Scroll cia rau Envisalink

F) Nyem rau cov ntsiab lus

  • Txuag MAC Chaw Nyob (aka Hardware address) = [Envisalink MAC address]
  • [Envisalink MAC Chaw Nyob] = 00: 1c: 2a: 00: 9d: 07

G) Mus rau Chaw >> LAN >> Wireless

H) Scroll cia kom pab MAC Lim

Kuv) Nyem rau MAC lim

  • Nyem rau Kho kom raug Blocked/Allowed Device List
  • Nyem Enable MAC filtering
  • Scroll cia kom nkag mus rau MAC Chaw Nyob

J) Muab tshuaj txhuam MAC chaw nyob ntawm Envisalink

K) Nyem ntxiv rau cov npe

L) Nyem >> txav mus rau Cov Cuab Yeej Thaiv

M) Scroll up thiab xyuas kom tseeb tias MAC Filtering lub npov tau txheeb xyuas

N) Thiab Envisalink yuav tsum raug thaiv

Kauj Ruam 15: Sau cov ntaub ntawv tsim nyog thiab nkag siab Yuav Ua Li Cas Koj Lub Txheej Txheem raug teeb tsa

Kuv xav nkag siab yuav ua li cas tswj kev ruaj ntseg. Qhov chaw zoo tshaj yog:

Yuav Ua Haujlwm Li Cas DSC System - Tutorial - xav kom kuv nkag siab TPI daim ntawv

EnvisaLink TM TPI Programmer's Document, version 1.04 - piav qhia TPI cov lus txib teeb tsa

Daim Ntawv Cuam Tshuam - cov ntawv phem, tsis zoo lub npe, uas piav qhia txog koj li kev ruaj ntseg system teeb tsa

Tus tswv yav dhau los tsis tau tso Daim Ntawv Teev Npe Ua Haujlwm tiav. Kuv yuav tsum sau qhov no rau kuv tus kheej. Yeej, Kuv siv cov keyboard kom nkag mus rau cov lus txib kom txog thaum kuv tau ua txhua yam ua tiav. Daim ntawv ua haujlwm yog qhov chaw sau koj cov txheej txheem teeb tsa. Okay, kuv dag. Siv daim ntawv ua haujlwm raws li phau ntawv qhia, tab sis sau koj cov kab ke teeb tsa hauv cov ntawv ib txwm muaj.

Kauj Ruam 16: Tus Neeg Sab Nraud Sab Nraud (TPI) Tus Neeg Sau Ntawv Cov Ntaub Ntawv

Qhov thib peb sib cuam tshuam (TPI) yog txheej ntawm cov lus txib, cov lus teb thiab cov lej yuam kev tso cai rau lwm tus neeg thov nkag mus rau cuam tshuam nrog EnvisaLink 3 dhau ntawm TCP/IP txuas. Kuv pom daim ntawv no tsis meej pem. Kuv vam tias qhov kev piav qhia no yuav pab piav qhia cov ntawv kom zoo me ntsis.

Feem ntau, txhua qhov TPI Cov Lus Hais, Cov Lus Teb thiab Tus lej yuam kev yog peb tus lej:

  • Cov lus txib ntau dua lossis sib npaug rau 500
  • Cov lus teb tsawg dua lossis sib npaug rau 200
  • Cov lej yuam kev yog nruab nrab ntawm 000 thiab 027, tab sis cov lus teb kuj tseem nyob hauv qhov no

Cov ntaub ntawv txuas ntxiv mus rau qhov kawg ntawm Kev Hais Lus lossis Lus Teb. Piv txwv li, kev hais kom nkag mus yuav yog:

005pswdCS / n / r

qhov twg,

pswd = yog cov ntaub ntawv, qhov no, koj tus password

Cov hauv qab no xav tau:

  • CS = checksum
  • n = newline character
  • r = carriage return character

Hauv lub vev xaib, Kuv pom ntau qhov kev coj ua los laij cov ntawv txheeb xyuas. Kev txheeb xyuas yuav tsum tau ua, thiab ntau qhov kev siv tsis ua haujlwm. Kuv tsis paub tseeb vim li cas coob leej thiaj tsis ua haujlwm rau kuv. Tej zaum nws yuav yog tus lej tsis zoo, lossis nws yuav yog qhov sib txawv ntawm pawg thawj coj lossis cov khoos phis tawj hloov pauv ntawm lub rooj tsavxwm. Kuv tus lej checkum ua haujlwm rau kuv lub rooj tsavxwm thiab firmware.

EnvisaLink ua raws li tus neeg rau zaub mov rau TCP kev txuas rau Client application. Tus Neeg Siv Khoom yuav tsum tsuas yog ua haujlwm ntawm lub server muaj kev nyab xeeb uas tuaj yeem sib txuas lus nrog EnvisaLink 3. Tus neeg siv khoom lub server yuav tsum nyob hauv koj lub tsev network, tab sis yuav tsum tsis txhob qhib rau hauv internet. Yuav tsum muaj daim ntawv pov thawj tus kheej (saib kuv lwm yam kev qhia rau Lub Nkoj Qhov Rooj Qhib).

EnvisaLink mloog ntawm chaw nres nkoj 4025 thiab tsuas yog lees txais ib tus neeg siv khoom sib txuas. Cov kev txuas txuas ntxiv yuav raug tsis pom zoo. EnvisaLink yuav kaw qhov kev sib txuas yog tias tus neeg siv kaw nws sab.

Txhawm rau pib kev sib txuas:

  • Tus neeg siv khoom pib TCP ntu los ntawm kev tsim lub TCP qhov (socket).
  • Tus neeg siv xa cov lus txib nkag mus [005]
  • EnvisaLink teb nrog ib lossis ntau dua [505]
  • Yog tias [505] hais kom ua cov ntaub ntawv yog 3, tom qab 10 vib nas this teb nrog tus ID nkag mus hais kom ua [005]
  • Yog tias [505] cov ntaub ntawv muaj 1, tom qab ntawv nkag mus tau ua tiav

Cov lus txib nkag mus cov ntaub ntawv yog tus lej nkag mus txog rau rau tus lej hauv qhov ntev, uas yog tib tus lej nkag mus nkag rau hauv EnvisaLink lub vev xaib hauv zos.

Saib 505 cov lus piav qhia hauv TPI phau ntawv rau kev piav qhia ntawm txhua cov ntaub ntawv.

Thaum tus lej nkag tau lees txais, kev sib tham tau tsim thiab yuav txuas ntxiv mus txog thaum TCP kev sib txuas tau poob.

Kauj Ruam 17: Hais Kom Kab Tswj Tsab Ntawv

Kuv tau siv cov ntaub ntawv los ntawm cov kauj ruam dhau los txhawm rau txhim kho kev sib tham txog cov nab hab sej tsab ntawv uas tuaj yeem khiav los ntawm kab hais kom ua ntawm Mac Book Terminal qhov rai. Nov yog qee cov lus piav qhia meej:

  • Kuv tuaj yeem hla dhau me ntsis, tab sis kuv xav tias txhua cov lus txib nyob hauv tsab ntawv.
  • Cov kab hais kom ua kab nab nab, ev3.py, tuaj yeem rub tawm los ntawm qhov txuas no: GitHub. Rub tawm ev3.py.
  • Luam tsab ntawv mus rau phau ntawv teev npe [directory].
  • Qhib lub davhlau ya nyob twg qhov rai (Nyem rau ntawm MacBook disk, Cov Ntawv Thov, Khoom Siv Hluav Taws Xob, Terminal).
  • Kuv siv lub qhov rooj dav dav ntau zaus. Yog li, Kuv muaj lub davhlau ya nyob twg app pinned rau dock.
  • Yog tias khiav los ntawm lub khoos phis tawj, hloov tus kheej.file_log = sys.stderr, raws li qhia hauv tsab ntawv.
  • Hauv lub qhov rai davhlau ya nyob twg, hloov mus rau cov npe thiab ua cov ntawv:

$ cd [phau ntawv teev npe]

$ python envisalink.py

  • Ntaus [rov qab] kom pom cov lus txib siv tau.
  • Ntaus [ctrl-c] kom tawm ntawm qhov program.

Kauj Ruam 18: Piav Qhia luv

Kuv xav teeb tsa lossis saib xyuas kev nyab xeeb los ntawm lub xov tooj ntse, ntsiav tshuaj lossis PC. Kev daws teeb meem yooj yim yog tsim lub vev xaib.

Cov kab hais kom ua sej tsab ntawv saib xyuas kev nyab xeeb, thiab tuaj yeem hloov pauv lub xeev txoj haujlwm. Txawm li cas los xij, nws tsis muab lub peev xwm saib zoo nyob deb.

Ib lub vev xaib muab kev cuam tshuam zoo rau kev saib xyuas thiab hloov pauv kev nyab xeeb. Txawm li cas los xij, lub vev xaib tsuas yog "khiav" thaum nws tau raug saib. Whereas, kab lus hais kom ua kab ntawv yuav tsum ua haujlwm txhua lub sijhawm. Thaum tsab ntawv khiav, tsis muaj leej twg tuaj yeem saib ntawm lub vev xaib. Yog li, cov ntaub ntawv sau los ntawm tsab ntawv yuav tsum raug khaws cia hauv cov ntaub ntawv txog thaum ib tus neeg xav pom nws.

Tsis tas li, tus neeg siv yuav tsum tuaj yeem hloov pauv kev ruaj ntseg lub xeev (caj npab, tshem riam phom). Thaum lub xeev hloov pauv tshwm sim, yuav tsum hloov pauv sai.

Ob tsab ntawv thiab cov ntaub ntawv yog cov ntsiab lus muaj peev xwm ua tsis tiav, lwm tsab ntawv xav tau uas tshawb xyuas ib ntus yog tias txhua yam ua haujlwm thiab rov pib dua tsab ntawv yog tias tsim nyog.

Cov kauj ruam hla mus

Koj yuav tsum tau ua cov kauj ruam no (saib Garage Door Opener qhia paub rau qee cov kauj ruam no)

A) Teeb Raspberry Pi - qhov tseeb koj tuaj yeem ua qhov no ntawm ib tus neeg rau zaub mov

B) Nruab Python

C) Tsim daim ntawv lees paub tus kheej thiab teeb tsa ntawm Raspberry Pi thiab txhua yam khoom siv uas koj xav tau nkag mus rau lub vev xaib

D) Thaiv tib neeg yam tsis muaj koj daim ntawv pov thawj tus kheej los ntawm kev nkag mus rau koj li kev ruaj ntseg

Kauj ruam 19: Nruab SQLite

Qhov kev xaiv DB ib txwm yog MySQL lossis postgres. Cov app no xav tau qee yam yooj yim xws li cov ntawv. Kuv paub SQLite yog qhov kev xaiv raug thaum kuv nyeem,

  • https://sqlite.org/ yog me dua MySQL lossis postgres
  • SQLite sib tw nrog fopen. thiab
  • SQLite tsis sib piv ncaj qha rau MySQL, lossis postgres vim tias nws tau sim o daws teeb meem sib txawv.

Nov yog qhov chaw zoo rau teeb tsa SQLite: Nruab SQLite ntawm Raspberry Pi

Nkag mus rau hauv raspberry thiab khiav cov lus txib:

$ sudo apt-tau nruab sqlite3

$ sudo apt-tau nruab php5-sqlite

Tsim cov database:

$ sqlite3 security.db

Tsim ib lub rooj

sqlite> Pib;

sqlite> CREATE TABLE status (tdate DATE, ttime TIME, name TEXT, value TEXT);

sqlite> COMMIT;

Txheeb xyuas lub rooj tau tsim kom raug:

sqlite>.schema xwm txheej

Cov lus xwm txheej yuav muaj:

system: riam phom, tshem riam phom

tswb: tsis muaj, hluav taws, ceeb, ceeb toom

aav [1-6]: qhib, kaw

tsab ntawv: txuas nrog, nkag mus-hauv, khiav

Ntxig qee cov ntaub ntawv rau hauv lub rooj

sqlite> Pib;

sqlite> INSERT INTO xwm txheej qhov tseem ceeb (hnub ('tam sim no'), sijhawm ('tam sim no'), "system", "tshem riam phom");

sqlite> INSERT INTO xwm txheej qhov tseem ceeb (hnub ('tam sim no'), sijhawm ('tam sim no'), "tswb", "tsis muaj");

sqlite> INSERT INTO xwm txheej qhov tseem ceeb (hnub ('tam sim no'), sijhawm ('tam sim no'), "cheeb tsam", "kaw");

sqlite> INSERT INTO xwm txheej qhov tseem ceeb (hnub ('tam sim no'), sijhawm ('tam sim no'), "tsab ntawv", "khiav");

sqlite> INSERT INTO xwm txheej qhov tseem ceeb (hnub ('tam sim no'), sijhawm ('tam sim no'), "hais kom ua", "");

sqlite> COMMIT;

Txheeb xyuas qhov muaj nqis qhov twg nkag mus kom raug

sqlite> SELECT * FROM status WHERE name = "tsam";

2015-06-06 | 17: 39: 52 | zone1 | kaw

Tawm SQLite

sqlite>.quit

Tsiv lub db thiab hloov kev nkag mus:

$ mv security.db /var/www/db/security.db

$ chmod og+rw/var/www/

$ chmod og+rw /var/www/db/security.db

Kauj Ruam 20: Nruab SQLite ntawm MacBook [xaiv tau]

Kuv nyiam txhim kho ntawm Mac thiab tom qab ntawd txav cov txiaj ntsig mus rau Raspberry Pi.

Mus rau nplooj ntawv rub tawm ntawm sqlite.org thiab rub tawm sqlite-autoconf-*. Tar.gz los ntawm ntu qhov chaws

Ntawm MacBook qhib rub tawm los ntawm koj tus lej nyiaj

Nyem rau rub tawm tar.gx cov ntawv

Qhib lub dav hlau qhov rai

$ cd rub tawm

$ cd sqlite-autoconf- [tus lej tshiab kawg]

$./configure --prefix =/usr/zos

$ ua

Kev siv sijhawm ob peb feeb, ua siab ntev.

$ sudo ua nruab

[MacBook lo lus zais]

Paub meej tias nws ua haujlwm:

$ sqlite3

sqlite>

Los sim

$ uas sqlite3

Rov ua cov kauj ruam dhau los txhawm rau teeb tsa cov ntaub ntawv, cov lus thiab nkag cov ntaub ntawv ntawm MacBook (lossis siv tsab ntawv. Yog tias db tsis muaj nws yuav tsim thiab ntxiv).

Kauj Ruam 21: Txhawm Sib Tham Ntawm EnvisaLink 3 thiab Raspberry Pi Load Mod_wsgi

Xav tau mod_wsgi kom nws ua haujlwm ntawm Raspberry Pi.

Nkag mus rau Raspberry Pi:

$ ssh pi@[Raspberry Pi IP Chaw Nyob]

sau tus password

tom qab ntawd tau txais mod-wsgi

$ sudo apt-tau nruab libapache2-mod-wsgi

Txhawm rau khiav ev3pi.py ntawm Raspberry Pi kab hais kom ua:

$ sudo nab hab sej ev3pi.py

Kauj ruam 22: Rub tawm Software Los ntawm GitHub

Hloov kho kab ntawv kab lus kom sau rau DB.

Nov yog cov lus piav qhia zoo rau txuas cov ntawv nab nab mus rau SQLite:

  • SQLite los ntawm python.org
  • SQLite los ntawm nab hab sej

Kuv hloov cov cai los tham nrog SQLite. Koj tuaj yeem rub tawm cov cai ntawm no: GitHub. Rub tawm ev3pi.py.

Qhib lub davhlau ya nyob twg qhov rai thiab luam kab hais kom ua kab nab npawb rau raspberry pi

$ scp ev3pi.py pi@:/home/pi

Nkag mus rau pi

$ ssh pib@

sau tus password

Tsiv tsab ntawv mus rau/usr/local/bin thiab hloov cov cai

$ ssh pib@

$ sudo mv ev3pi.py/usr/local/bin

$ sudo chmod ug+x /usr/local/bin/ev3pi.py

los yog

$ sudo chmod 0755/usr/local/bin/ev3pi.py

Hloov cov ntawv kom nws ua haujlwm ntawm Raspberry Pi. Saib cov lus hauv cov cai. Nco ntsoov siv db hauv /var/www/db/security.db

Hloov kho lub vev xaib los sau cov lus txib rau DB

Nyem rau ntawm kev hais kom ruaj ntseg ntawm lub vev xaib, sau cov lus txib mus rau lub database.

Ntawm qhov dhau los dhau los ntawm lub voj loj, cov lus txib yuav tsum tau nyeem thiab ua tiav.

Rub lub security.php code ntawm no: GitHub. Rub tawm security.php.

bash tsab ntawv uas txheeb xyuas seb puas yog lossis tsis ev3pi.py tab tom khiav

Yog tias ev3pi.py nres khiav rau qee qhov laj thawj, tom qab ntawd nws yuav tsum pib ua haujlwm tsis siv neeg. Tsab ntawv no sim rov pib dua tsab ntawv.

Rub tawm ev3chk.sh code ntawm no: GitHub. Rub tawm ev3chk.sh

Python tsab ntawv uas tau txais caj npab thiab tshem riam phom kev nyab xeeb siv lub sijhawm

Tsab ntawv no siv sijhawm teem rau caj npab thiab tshem riam phom kev nyab xeeb raws li tus neeg siv nkag mus lub sijhawm ib hnub thiab ib hnub ntawm lub lim tiam. Yog tias thaj chaw so so tau teeb tsa, tom qab ntawd kev tso riam phom thiab tshem riam phom yuav tsis quav ntsej.

Rub tawm ev3auto.py code ntawm no: GitHub. Rub tawm ev3auto.py.

Lub Vev Xaib los tso saib cov xwm txheej thiab Caj Npab thiab Tshem Tawm lub kaw lus

Nov yog lub vev xaib yooj yim zoo nkauj, txuas nrog Lub Tsev Loj Loj Hauv Tsev. Hloov npe tsab ntawv no rau qhov ntsuas, thiab tso rau hauv /var /www ntawm koj li Raspberry Pi.

Rub lub security.php code ntawm no: GitHub. Rub tawm security.php.

crontab los tshuaj xyuas yog tias tsab ntawv ua haujlwm

Kho qhov Crontab kom ntseeg tau tias cov ntawv sau tau ua haujlwm.

Nkag mus rau Raspberry Pi

$ sudo crontab -e

#

# txheeb xyuas txhua 5 feeb yog tias kev ruaj ntseg ua haujlwm

*/5 * * * * /usr/local/bin/ev3chk.sh>/dev/null 2> & 1

#

# txheeb xyuas txhua 15 feeb yog tias kev ruaj ntseg zoo nyob hauv lub xeev

*/15 * * * * /usr/local/bin/ev3auto.chk>/dev/null 2> & 1

Koj tuaj yeem rub tawm crontab ntawm no: GitHub. Download tau crontab.

Pom zoo: