How I got my vacuum cleaner to talk back to me via Telegram – Telegram 官网下载

Haley

How I got my vacuum cleaner to talk back to me via Telegram

Telegram channel for notifications from Home-Assistant

I have a Xiaomi vacuum cleaner set up to to clean the house every morning before I wake up. While this can be scheduled from the Mi Home app, I choose to create a recurring automation in Home-Assistant so that I have a single location for all my home automations.

I have a Telegram channel set up for all notifications from Home-Assistant. I use this channel to get notified if my window or balcony door is still opened when it is going to rain, or if any of my pots are drying up and require watering. It is the channel where my home tells me what it needs.

Occasionally, the vacuum cleaner fails because it get stuck, or the filter is so dirty that it requires cleaning. That is why I created a few automations to notify me via Telegram when there is a problem.

State and attributes of Xiaomi vacuum cleaner in Home-Assistant

Automations in Home-Assistant is very powerful. If works in a similar way to IFTTT — There can be one or more triggers with a list of actions to execute. It is much easier to trigger an automation with a device state, but a vacuum cleaner in Home-Assistant only have an on/off state. To make it easier to trigger automations when there are errors, I created a custom error sensor that either has ‘No Error’ as a state, or shows errors extracted from the vacuum clean attributes. Custom sensor for vacuum cleaner error

This makes it easier to create an automation that monitors the state of the error sensor, and send a Telegram message when it is appropriate. Send a Telegram message when there is an error

Then I created a separate automation to notify me when the problem is solved. Sends a Telegram message when error goes away

Just for fun, I also created automations to notify me when the vacuum cleaner starts and stops. To do this, I created a custom sensor that extracts the status message into a status sensor. Custom sensor for vacuum cleaner state

For the notification when the vacuum cleaner starts and stops, I use the vacuum cleaner state as the trigger, and use the status sensor value in the message. This provides status value more than just start and stop, such as Cleaning, Zoned cleaning, Paused, Returning home and Charging. Send a Telegram message when vacuum cleaner starts Send a Telegram message when work is completed

Related post:

How I set up room-cleaning automation with Google Home, Home-Assistant and Xiaomi vacuum cleaner.

Ten articles before and after

14:28 Time | Conversion and Information | – Telegram 繁体版 下载

为什么你需要 Telegram 中的电话号码以及如何隐藏它

23:50 Time | Conversion and Information | – Telegram 繁体版 下载

16:27 Time | Conversion and Information | – Telegram 繁体版 下载

129.6 Minutes to Hours ▷ What is 129.6 Minutes in Hours and Minutes?

python Telegram bot pytelegrambotapi telegram bot simple – Telegram 简体版

Manage Telegram’s free unlimited storage with a Windows app – Telegram 简体版

How to tell if someone blocked me in Telegram – Telegram 简体版

服务器/NAS Docker 搭建 Clash+UI 服务(dl)及配置小白教程 – – Telegram 简体版

Nicegram 突破 iOS 老司機群組不能觀看限制,就是要你上車 :: Telegram 简体版

About Me

Pretium lorem primis senectus habitasse lectus donec ultricies tortor adipiscing fusce morbi volutpat pellentesque consectetur risus curae malesuada dignissim lacus convallis massa mauris.