{"id":48,"date":"2016-12-17T12:01:24","date_gmt":"2016-12-17T11:01:24","guid":{"rendered":"http:\/\/emariete.com\/?p=48"},"modified":"2016-12-17T12:01:24","modified_gmt":"2016-12-17T11:01:24","slug":"casa-domotica-casera-telegram","status":"publish","type":"post","link":"https:\/\/emariete.com\/en\/casa-domotica-casera-telegram\/","title":{"rendered":"My house sends me messages on Telegram!"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"h-como-integrar-domotica-y-telegram\">How to integrate home automation and Telegram?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are certain things that I want my home automation system to notify me of immediately (the alarm goes off, smoke is detected, grandma presses the button on the bracelet she wears on her arm, etc.). Until now, to send messages to my mobile phone, I used to do it by means of <a title=\"Pushover\" href=\"https:\/\/pushover.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Pushover<\/a>and it worked well...<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The problem with Pushover is that you need to have a client installed on your mobile phone, and this one <strong>customer is a paying customer<\/strong>&nbsp;(and if I want my wife or children to receive messages, they each have to install a client).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img decoding=\"async\" src=\"https:\/\/s9.postimg.cc\/qeyynq427\/screenshot_175.png\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Luckily, I have found a node for Node-network that allows to send messages by <a title=\"Telegram\" href=\"https:\/\/telegram.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Telegram<\/a>It works very well indeed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Telegram allows the creation of \"bots\" (\"robots\"), which are simply chats to which users subscribe and which allow them to send and receive messages in an automated way.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/s9.postimg.cc\/epuyzud4f\/screenshot_176.png\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">With this node and a few lines and functions in Node-network, in one afternoon I had an interactive notification system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Interactive? Yes, because this system allows, in addition to sending notifications, users can send messages to the bot and it responds with the requested information (or with new questions and even with menus to select options) in a very simple way.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/s9.postimg.cc\/8c5vwq5pb\/screenshot_177.png\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">For example, a user sends a message containing a message containing <em>\/alarm<\/em> and the bot answers them with the status of the alarm (if it is active, inactive, if it has been triggered, etc).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have also created in Nodered a connector from MQTT to Telegram, which allows any application that sends MQTT to send messages via Telegram in a very simple way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is one of the most interesting additions I have made to my Smart Home.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Be sure to subscribe to the Blog, if you haven't already done so, because I plan to write more articles on Telegram integration and I hope you will find them of interest.<\/p>\n\n\n<div class=\"gb-container gb-container-ff526246\"><\/div>\n\n\n<p class=\"wp-block-paragraph\">Incidentally, this is a good, simple and inexpensive solution for <strong>receive notifications on the Smartwatch<\/strong>.<\/p>\n\n\n<p >No products found.<\/p>\n\n\n<p class=\"wp-block-paragraph\">In my case, I have an Amazfit GTS 2 (an older model that you can see here) and I receive the notifications that the home automation system sends via Telegram).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Very useful!<\/p>","protected":false},"excerpt":{"rendered":"<p>Sending messages via telegram with MQTT is easy from the home automation system.<\/p>","protected":false},"author":1,"featured_media":750,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[14],"tags":[39,53],"class_list":["post-48","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotica","tag-mqtt","tag-telegram"],"modified_by":"Mariete","uagb_featured_image_src":{"full":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica.jpg",1920,1280,false],"thumbnail":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica-150x150.jpg",150,150,true],"medium":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica-300x200.jpg",300,200,true],"medium_large":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica-768x512.jpg",768,512,true],"large":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica-1536x1024.jpg",1536,1024,true],"2048x2048":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica.jpg",1920,1280,false],"trp-custom-language-flag":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/mqtt-telegram-domotica.jpg",18,12,false]},"uagb_author_info":{"display_name":"Mariete","author_link":"https:\/\/emariete.com\/en\/author\/admin_xlyz052h\/"},"uagb_comment_info":2,"uagb_excerpt":"Enviar mensajes por telegram con MQTT es sencillo desde el sistema dom\u00f3tico de la casa","_links":{"self":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":2,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":241988,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/48\/revisions\/241988"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media\/750"}],"wp:attachment":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}