Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Teeb Raspberry Pi
- Kauj Ruam 2: Lub Qhov Rooj Hauv Qhov Rooj
- Kauj Ruam 3: Kev Koom Tes Hauv Tsev
- Kauj Ruam 4: Zoo Siab Tswb-hu
Video: Ntse Doorbell rau Tsev Tus Pab: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Yog li, kuv xav tau lub qhov rooj nrog cov yam ntxwv hauv qab no:
- Yees duab los ntawm lub qhov rooj
- Ob txoj suab
- Ob lub khawm
- Kev koom ua ke nrog cov phab ntsa mounted ntsiav tshuaj qhia HomeAssistant UI
Qee qhov kev xaiv tau los zoo li Doorbird (kim thiab lawv tsis muaj ob txoj hauv kev hu xov tooj siv HTML5) thiab Lub qhov rooj nrov nrov (tab sis kuv tsis nyiam kev tso npe, huab raws lub qhov rooj)
Raws li tus tsim tawm thiab tinkerer, Kuv twb ua tiav qee qhov haujlwm tab sis qhov no yog nyob deb ntawm ib qho nyuaj tshaj plaws los ua kom tiav. Kuv muaj teeb meem ntau dhau los ua ob txoj hauv kev ua haujlwm rau lub ntsiab lus uas koj tuaj yeem nkag siab ib leeg. Qhov no feem ntau vim tias muaj ntau qhov ncha,…. Lub tswv yim los ntawm DoorPi, tab sis nrog SIP cov txheej txheem, Kuv muaj ntau ncha uas ua rau ua rau tsis nkag siab ib leeg.
Txij li thaum kuv lub qhov rooj tau raug tiv thaiv tag nrho los ntawm cov ntsiab lus, peb muaj peev xwm ua rau pem hauv ntej hauv lasercut ntoo.
Khoom siv
- Raspberry Pi 3 B lossis 3B+ (tsis txhob mus rau Banana Pi nrog PoE tsim hauv vim nws tsis txhawb nqa tus qauv Raspberry Pi CSI lub koob yees duab interface) = € 33, 67
- Micro SD daim npav =, 2, 69
- Raspberry Pi fisheye lub koob yees duab = € 14, 14
- PoE adapter = € 4, 94
- RaspiAudio Mic + = € 24, 69
- Nkag mus rau 3D tshuab luam ntawv (thiab tshuab txiav laser)
- Nyees khawm rau Doorbell
- Ntau lub sijhawm!
Qhov no ntxiv rau tag nrho ntawm € 80, 13.
Tawm ntawm qhov txwv, qhov chaw nres tsheb sab hauv:
- TsevAssistant teeb tsa nrog MQTT Broker
- Phab ntsa mounted Android Tablet
Kauj ruam 1: Teeb Raspberry Pi
Kuv pom zoo kom koj siv ethernet siv Wifi. Kuv lub suab zoo txhim kho ntau vim nws. Peb kuj tseem yuav siv UV4L txij li nws txhawb nqa webrtc thiab yog li muaj echo-cancellation built-in. Lub Doorpi siv linphone, tus neeg siv SIP thiab kuv tsis tuaj yeem tau txais kev tshem tawm ncha ua haujlwm.
-
Rub Raspbian Stretch Lite thiab nruab nws ntawm Micro SD daim npav. Nco ntsoov koj:
pab ssh los ntawm kev tsim cov ntaub ntawv ssh khoob hauv qhov muab faib khau raj
- Khiav cov lus txib hauv qab no:
sudo apt-tau hloov tshiab
sudo apt-tau hloov tshiab
Lub Koob Yees Duab
Pab kom lub koob yees duab ntawm raspi-teeb tsa thiab paub tseeb tias GPU muaj tsawg kawg 192 MB ntawm ram.
RaspiAudio
Ua raws li phau ntawv teeb tsa ntawm RaspiAudio pom ntawm
UV 4 L
Ua raws li phau ntawv qhia teeb tsa ntawm UV4L pom ntawm
Kho cov ntaub ntawv /etc/uv4l/uv4l-raspicam.conf thiab xyuas kom tseeb tias koj kho cov teeb tsa hauv qab no:
Qhov teeb meem tseem ceeb tshaj plaws yog probaby-qhib-webrtc-video = tsis yog: qhov no yog vim peb ib txwm tso cov vis dis aus los ntawm uv4l siv h264 encoded mjpeg.
Siv cov ntaub ntawv hauv qab no nyob hauv/usr/share/uv4l/demos/doorpi/, koj tuaj yeem sim ob txoj hauv kev suab thiab yees duab.
- index.html (hloov nws los ntawm index.html5, yuav tsum tau hloov lub npe vim yog cov lus qhia yuav tsum tau xa)
- main.js
- signalling.js
Xauj mus rau https:// [ip-of-raspberrypi]: 8888 thiab sim yog tias koj tuaj yeem tau txais 2-txoj kev suab ua haujlwm.
pib-mqtt-gpio
Txoj hauv kev yooj yim tshaj plaws uas kuv pom kom tau txais lub pob qhov rooj-khawm ua haujlwm, yog txhawm rau txuas rau raspberry pi thiab siv pi-mqtt-gpio los ua ke nrog HomeAssistant.
Kuv cov ntaub ntawv teeb tsa yog raws li hauv qab no:
mqtt: host: xxxx chaw nres nkoj: 1883 tus neeg siv: [username] tus password: [password] topic_prefix: "lub tswb" gpio_modules: - lub npe: raspberrypi module: raspberrypi ntxuav: yog digital_inputs: - lub npe: button_1 module: raspberrypi tus pin: 17 on_payload: " Tawm "off_payload:" On "rub tawm: yog pulldown: tsis yog - lub npe: khawm_2 module: raspberrypi tus pin: 27 on_payload:" Tawm "off_payload:" On "rub tawm: yog pulldown: tsis tau
Nco ntsoov tias raws li muaj ntau tus pin hauv av muaj li 3.3V tus pin, Kuv xaiv siv rub tawm GPIO pins thiab yog li hloov kuv cov lus MQTT.
uv4l-raspicam.conf
tsav tsheb = raspicam |
auto-video_nr = yog |
cov-buffers = 4 |
encoding = h264 |
luas = 1024 |
qhov siab = 768 |
tus lej = 10 |
kev sib hloov = 270 #nyob ntawm koj lub teeb kho vajtse |
server-xaiv = --port = 9090 |
server-option = --bind-host-address = 0.0.0.0 |
server-option = --use-ssl = yog |
server-option = --ssl-private-key-file =/etc/uv4l/selfsign.key |
server-option = --ssl-certificate-file =/etc/uv4l/selfsign.crt |
server-option = --enable-webrtc-video = tsis yog |
server-option = --enable-webrtc-audio = yog |
server-option = --webrtc-vad = yog |
server-option = --webrtc-echo-cancellation = yog |
server-option = --webrtc-max-playout-ncua = 34 |
server-option = -enable-www-server = yog |
server-option = --www-root-path =/usr/share/uv4l/demos/doorpi/ |
server-option = --www-index-file = index.html |
server-option = --www-port = 8888 |
server-option = --www-bind-host-address = 0.0.0.0 |
server-option = --www-use-ssl = yog |
server-option = --www-ssl-private-key-file =/etc/uv4l/selfsign.key |
server-option = --www-ssl-certificate-file =/etc/uv4l/selfsign.crt |
server-option = --www-webrtc-signaling-path =/webrtc |
saib rawgistfile1.txt tuav nrog ❤ los ntawm GitHub
Kauj Ruam 2: Lub Qhov Rooj Hauv Qhov Rooj
- lub qhov rooj-rov qab v1.stl: 3D lub thawv luam ntawv rau raspberry pi thiab PoE adapter
- lub qhov rooj-pem hauv ntej v1.svg: Laser txiav lub ntsej muag phaj
- lub qhov rooj-micro v1.stl: 3D lub thawv luam tawm uas muaj lub xov tooj cua qhwv nrog lub suab rwb thaiv tsev, ua rau lub ntsej muag phaj
Ntsia cov txiv pos raspberry hauv cov tuav cov ntsia hlau txuas thiab muab PoE adapter nyob rau sab xis. Muab lub koob yees duab thiab lub microphone tso rau hauv qhov chaw (xyuas kom tshem lub microphone thiab xyuas kom lub qhov ntawm lub microphone zoo ib yam nrog lub qhov ntawm lub phaj ntsej muag).
Kauj Ruam 3: Kev Koom Tes Hauv Tsev
Cov ntaub ntawv hauv qab no tso cai rau HomeAssistant koom ua ke:
- doorpi.yaml: pob uas muaj txhua yam cuam tshuam nrog lub qhov rooj suav nrog mloog MQTT cov lus thiab kev siv tshuab kom ua suab nrov thaum lub qhov rooj raug thawb
- www/doorpi/doorpi-card.js: daim npav lovelace doorpi uas xav tau daim paib.js thiab doorpi-camera-view.js
TSEEM CEEB: Nco ntsoov tias koj yuav tsum tau khiav HomeAssistant nrog https/ssl raws li txwv tsis pub chrome yuav tsis tso cai rau koj nkag mus rau cov khoom siv suab.
Kauj Ruam 4: Zoo Siab Tswb-hu
Qhov ntawd yog, koj yuav tsum tam sim no tuaj yeem hu xov tooj rau lwm tus los ntawm lub tswb qhov rooj thiab HomeAssistant yuav hloov pauv mus rau daim npav qhov rooj. Muaj koj tuaj yeem txiav txim siab lees txais lossis tsis quav ntsej lub qhov rooj.
Pom zoo:
Pandemi: Tus Nqi Tus Nqi Tus Nqi Tus Kab Mob Qis Tsawg Tus Nqi: 7 Kauj Ruam
Pandemi: Tus Nqi Tus Nqi Tus Nqi Tus Kab Mob Qis Tsawg Tus Nqi: Qhov no yog qhov pheej yig, yooj yim los ua neeg hlau. Nws tuaj yeem ua kom tsis muaj menyuam hauv koj chav nrog UV-C lub teeb, nws yog lub teeb thiab nrawm, nws tuaj yeem mus rau txhua qhov av, thiab nws tuaj yeem haum rau txhua lub qhov rooj. Nws tseem yog tib neeg-nyab xeeb, thiab muaj kev ywj pheej tag nrho
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed hauv Tsev Kawm Ntawv ntawm Kev Suav, University of Kent (Mr Daniel Knox tau pab zoo!)
WiFi Pab Kom Kub Kub Tswj Ntse Ntse: 4 Cov Kauj Ruam
WiFi Pab Kom Kub Kub Tswj Ntse Ntse Plug: Hauv phau ntawv qhia no peb yuav saib seb yuav tsim WiFi li cas ntsuas kub ntsuas nrog siv ESP8266 yooj yim rau kev nqa hnyav thiab DHT11 ntsuas kub/av noo. Peb tseem yuav siv lub rooj tsav xwm uas kuv tau tsim thiab kuv
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?
Txuas tus Ipod lossis Lwm Tus Neeg Siv Mp3 rau Cov Hais Lus Hauv Tsev Ib Yam Tsis Muaj Tus Nqi kim thiab Bulky Amplifier!: 4 Cov Kauj Ruam
Txuas tus Ipod lossis Lwm Tus Neeg Siv Mp3 rau Cov Hais Lus Hauv Tsev Ib Yam Tsis Muaj Tus Nqi kim thiab Bulky Amplifier!: Koj puas muaj cov hais lus tso suab ntxiv, uas yog tuaj nrog cheep stereos uas tawg lossis koj tsuas yog muaj yam tsis muaj laj thawj? Hauv Cov Lus Qhia Kuv yuav qhia koj yuav ua li cas koj tuaj yeem txuas lawv rau txhua tus neeg siv Mp3 lossis ib lub cuab yeej twg nrog lub suab nrov