{"id":42923,"date":"2019-02-11T08:01:36","date_gmt":"2019-02-11T08:01:36","guid":{"rendered":"https:\/\/automatedhome.com\/?p=42923"},"modified":"2019-02-11T08:01:36","modified_gmt":"2019-02-11T08:01:36","slug":"diy-smart-home-hack-uses-ifttt-api-to-trigger-mqtt-home-assistant-action","status":"publish","type":"post","link":"https:\/\/automatedhome.com\/tutorials\/diy-smart-home-hack-uses-ifttt-api-to-trigger-mqtt-home-assistant-action.html","title":{"rendered":"DIY Smart Home Hack Uses IFTTT API to Trigger MQTT Home Assistant Action"},"content":{"rendered":"<p>While the mail box is more of a US concept than a UK one, there&#8217;s some satisfying DIY smart home hackery going on here that could inspire many more projects.<\/p>\n<p>Cory shows us how to use the My Applets feature of the If This Then That cloud service, to setup a webhook in the API that will send a text message in response to a contact switch on his property &#8211; or trigger any other MQTT \/ Home Assistant action for that matter.<\/p>\n<blockquote><p>Ever lose a whole day hovering over your mailbox waiting for an important delivery? Untether yourself from your chore by adding a sensor that will send you a text message when your mail arrives! I&#8217;ll show you how to use an ESP8266 and a limit switch to rig your mailbox to notify you whenever it&#8217;s opened.<\/p><\/blockquote>\n<p>Check out the video below as well as the link to the blog post with the code&#8230;<\/p>\n<p><a href=\"https:\/\/blog.hau.me\/2019\/01\/22\/diy-get-notifications-on-your-phone-when-your-mail-is-delivered\/\" target=\"_blank\" rel=\"noopener\">blog.hau.me<\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/tl_GXsRKXtQ\" width=\"777\" height=\"437\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While the mail box is more of a US concept than a UK one, there&#8217;s some satisfying DIY smart home hackery going on here that&#8230;<\/p>\n","protected":false},"author":3,"featured_media":43076,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"apple_news_api_created_at":"2019-02-11T08:01:40Z","apple_news_api_id":"e023924b-229f-43df-9cbd-059ebbbe1418","apple_news_api_modified_at":"2019-02-11T08:01:41Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A4COSSyKfQ9-cvQWeu74UGA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":"","apple_news_is_paid":"","apple_news_is_preview":"","apple_news_is_sponsored":"","apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":[],"apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","footnotes":""},"categories":[41,31],"tags":[],"class_list":["post-42923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hack","category-tutorials"],"apple_news_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2019\/02\/mail-box-hack-19.jpg?fit=777%2C437&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts\/42923"}],"collection":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/comments?post=42923"}],"version-history":[{"count":13,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts\/42923\/revisions"}],"predecessor-version":[{"id":43083,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts\/42923\/revisions\/43083"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/media\/43076"}],"wp:attachment":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/media?parent=42923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/categories?post=42923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/tags?post=42923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}