HELLO I'M ZACH
web designer.
aspiring developer.
-
0%
-
0%
WORK
latest project
SKILLS
-
WordPress
0% -
Beaver Builder
0% -
Elementor
0% -
WooCommerce
0% -
Shopify
0%
-
Google Ads
0% -
Facebook Marketing
0%
-
Photoshop
0% -
HTML/CSS
0%
-
0%
FOR
FUN
LATEST PYTHON PROJECT Bark Nark
Bark Nark is a community driven treat dispensing system to train my dog Coco using a Raspberry Pi, Twilio, and Flask.
A screen is displayed on my balcony with a phone number to text. A passerby can text the number "treat" to dispense a treat if Coco is not barking. However if she is barking, they can text "barking" triggering a mist system to activate forcing her to go inside!
# Twilio SMS handling and main script @app.route("/sms", methods=['GET', 'POST']) def sms_reply(): """Respond to incoming calls with a simple text message.""" # TwiML response resp = MessagingResponse() body = request.values.get('Body', None) number = request.values.get('From', None) print(f"Message received from {number}, it said: {body}") if body.lower().strip() == "treat" and treat_dispenser.counter < 5: print("Good girls get all the treats!") treat_dispenser() snap_photo() resp.message("She will receive a treat now, thanks for helping train this good girl!") update_gsheet(body, number) elif body.lower().strip() == "treat": resp.message("Coco is out of treats for the day due to being such a good girl!") update_gsheet(body, number)
-
PYTHON 3
0% -
Selenium
0% -
DISCORD.py
0% -
FLASK
0%
-
0%
CONTACT
Thanks for your message! We’ll be in touch soon.