We successfully launched a bot in telegram, teach it to talk to us (RU) and create a control panel with a menu (RU). Now let's move on to the next task. We will start controlling the house through the menu (Inline keyboard in Telegram) in the bot messages. This is a translation of my article in Zen. Also, do not forget to read us in other services: Instagram, telegram (RU, EN, DE). Medium, LiveJournal, YouTube. This article links to the following publications: Notifications in telegram from a smart home (RU)
Quick responses of the bot in Telegram (RU)
Telegram: talking to a smart home (RU) Let's change our automation, which answers the /start command As you can see, we answer with a single message Light:/lghtbdrm. This means that we will display the Light button, pressing which will send the /lghtbdrm command. Now let's modify our automation, which is called light in the bedroom In this automation, we have added a trigger to turn on the light. Also, for debugging, I added an answer wit