Gmail Users: Be sure to disable 2-factor or just find some throwaway email service!
LIKE, SHARE, SUBSCRIBE
Watch the next installment of DoorSMS: https://www.youtube.com/watch?v=wQlXgi7THG8
Code: https://github.com/alexram1313/doorsms
Wiki: https://en.wikipedia.org/wiki/SMS_gateway
SMTP: https://www.arclab.com/en/kb/email/list-of-smtp-and-pop3-servers-mailserver-list.html
Live in a sketchy neighborhood and/or want to take matters into your own hands? Let’s build a system that texts us when a door opens for ~$50 with a Raspberry Pi and some parts.
Background Music:
“Master Disorder” Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/
Facebook: http://www.facebook.com/arcompware
For business, please email alex@arcompware.com
P.S. For my longtime subs, yes I’m bringing back the AR Tech Tuts name. 😛
All content is compliant under United States Fair Use Laws
http://www.arcompware.com
So this instruction is only for advance raspberry users?
Resistor Value????
there are thousand of resistors..
great video man. seem to be getting the following error, any thoughts?
sudo python doorsms.py
File "doorsms.py", line 24
def send_msg(opened:bool):
^
SyntaxError: invalid syntax
thanks
How did you get Immediate Notification.. What Service You Are Using.. If its Mail Then Please Tellme How to get Immediate Notification from Gmail
did you use the same breadboard row for pin 12, resistor and reed switch? if so, the resistor is useless.
can more than one pair of read switches be used with one Respberry for more than one gate??
hi @AR Compware im tryng to do a same proyect, one question, the used server smtp on this video, i can use the same code for the gmail server??
Tanks good video
How do i know my sms gateway mate?
looks good! whynotoverGSMmodem?
AR Compware, are you using 2W resistor at 330 ohm or 1k Ohm ?
help, on line 28 when I put in my Gmail address it keeps saying there is a syntax error, the syntax being the "@" from @gmail.com how do I fix this?
Another newbie here! Won't your pin 12 (yellow wire) connection just skip the resistor, go straight to the read switch, causing a short? You know, because there's a copper below the breadboard that goes horizontal and connects everything pinned on it? I still can't grasp the pull up resistor concept. Maybe that's what you're doing..? If you can clarify, that would be a great help for me!
Thanks! Great video, short and to the point. I look forward to seeing more of ur RPi projects.
A newbie question for sure, but what size resistor did everyone use? He didn't mention what size, thanks!
can you help me please
when I open the door I get the message and everything is okay
but when I close it I get this
Unhandled exception in thread started by <function send_msg at 0x769a6e88>
Traceback (most recent call last):
File "doorsms.py", line 16, in send_msg
server.login( cred.FROM, cred.PASS )
File "/usr/lib/python3.4/smtplib.py", line 610, in login
self.ehlo_or_helo_if_needed()
File "/usr/lib/python3.4/smtplib.py", line 569, in ehlo_or_helo_if_needed
if not (200 <= self.ehlo()[0] <= 299):
File "/usr/lib/python3.4/smtplib.py", line 423, in ehlo
self.putcmd(self.ehlo_msg, name or self.local_hostname)
File "/usr/lib/python3.4/smtplib.py", line 349, in putcmd
self.send(str)
File "/usr/lib/python3.4/smtplib.py", line 341, in send
raise SMTPServerDisconnected('please run connect() first')
smtplib.SMTPServerDisconnected: please run connect() first
then after this message it keep showing to me this thing and I need to restate the program
Hey man, thank you for your video. I am having an issue when I run the code. The code never compiles beyond "setting up SMS…" I get the following from the terminal. Any thoughts or insights would be greatly appreciated!
pi@Test:~/Desktop/doorsms2 $ sudo python3 doorsms.py
Setting up SMS…
Traceback (most recent call last):
File "doorsms.py", line 25, in <module>
server.login( cred.FROM, cred.PASS )
File "/usr/lib/python3.4/smtplib.py", line 652, in login
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (534, b'5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbt0n5.7.14 8UhdF9VevDM6c29BgJ1uApCxEi-0z9SJ3l3cY5K_Ew-zoEkgc-xCan1pIKs_aqV8EfhoDQn5.7.14 BTwgr0vFsHyr5b_TTk2eOkS1-cjrPRWkIZvI1zzdPXOkoE1IBF0-t-qmgd3fjTO112AqzRn5.7.14 zFGRK0zInEI7KtEcYweu5n-Tvo44Kg1GjLMtoEs2VO63s_VAbQhwA-7mkWTIwDB7BBiHltn5.7.14 _A-xlG9b4xvQ-0bVak8ecEdLYk6nY> Please log in via your web browser andn5.7.14 then try again.n5.7.14 Learn more atn5.7.14 https://support.google.com/mail/answer/78754 y125sm3148346itb.4 – gsmtp')
Thanks for the vid! I would like to make a request of this tutorial. Can you create a function using IR detection to send sms without using magnet. Any intruder near the main gate it can detect immediately and send SMS to the owner of the house?