Telegram send status when requested

I am currently using Hassio without opening it to the internet. I get notifications via Telegram, but is it possible somehow to chat to the Telegram bot and receive a status? For instance to send a message to get the status of which lights are turned on, when last motion was detected etc?

I am working on doing exactly this using Node Red with Home Assistant node and Telegram Node

Cool - does it seem possible to you? Node red requires that Home Assistant is accessable from outside wifi or am I mistanken there?

No, you run Node-Red locally on your network.

You don’t need node-red to achieve this, I do it in my set up.

I have it so it replies to the user that sent the incoming message, and this could be customised to send a different message depending on who requests the information/action.

It also sends a custom keyboard that can be used to quickly navigate around the options.

Have a look at the automations in these two files for inspiration…

link removed

1 Like

Some screenshots…

/status…

Then pressed the lights button…

Then pressed the menu button…

Then pressed the occupancy button…

Then pressed the guest mode button twice, switching guest mode on, and then off…

@masterkenobi gave me the inspiration for this, so a quick heads up to him :sunglasses:

2 Likes

Thanks a lot - that looks really cool. Exactly what I was looking for! I’ll take a look at the setup and hopefully I can set up something similar :slight_smile:

1 Like

I know you don’t need it. It was just something I have been working on.

1 Like