Join for free and connect with our local tech scene

Stay on top of the latest companies and upcoming events with our weekly newsletter, and be counted among the people building the future of your local tech community.

Colorado /

The Denver Drupal Meetup

Open Media Foundation 700 Kalamath , Denver, CO 80204 (map)

This month, Joel Steidl will go over his solution for an automated door lock system built on Drupal 8. A friend had just purchased a Bed & Breakfast with an automated door lock system. He wanted to create a method to automatically send a guest their door keycode on the check-in date. Joel started wondering "can I build this in Drupal"? Yes!

Key Components:

Webhooks - Booking engine with webhook functionality. Anytime someone books a room or a booking is updated, this webhook is fired and pings a url in D8 that has been configured to consume the JSON data passed from the webhook.

Drupal’s Queue System - The JSON data from the webhook is added to Drupal's Queue system to be processed later as a booking entity containing the start date of their stay, contact information, etc.

CRON - Using Drupal's cron system, a check is made to see if any bookings are starting today. If there are, they are added to an Email queue and/or SMS queue to be sent out.

Twilio - For SMS notifications

SendGrid - For email notifications

Home Assistant - Using the REST API from Home Assistant (open source home automation software running on a Raspberry PI) we'll be able to automatically remove and add new PIN codes.

Although a complex setup, this method provides you with the security of ensuring the right people have access to your house. By leveraging Drupal, I was amazed how easily this could be pulled of. With all the great functionality in core, the solution requires minimal custom code.

Socializing starts at 5:30pm at the Intrepid Sojourner Beer Project. At 6:30pm we'll move to the Open Media Foundation for pizza and more conversation. Discussions and presentations start at 7.

Signup here and on the Groups.Drupal.org page: https://groups.drupal.org/node/519117. The meet-up will take place at Open Media Foundation, just south of Downtown Denver. 700 Kalamath St. Denver, CO 80204 (map: http://maps.google.com/maps/ms?f=q&hl=en&geocode=&ie=UTF8&msa=0&msid=115811578330947603983.0004468cb4655c8c2cb59&ll=39.729353,-105.000072&spn=0.008284,0.019312&z=16).

Add a comment if you have a question or want to share something! Pizza and drinks will be provided by Aten Design Group (https://atendesigngroup.com).

Comments

Sign in to comment.