Hi everyone!
Just wanted to share a small project I built to solve something that's been driving me crazy in Home Assistant: managing temporary access for guests or friends.
HA is awesome, but keeping it simple when you just want to give someone temporary control over a lock, gate, or garage door is surprisingly annoying. I didn't want to share my entire dashboard, and writing complex automations for every single guest felt like overkill.
So I built a Telegram Bot that acts as a quick bridge. It lets you grant time-windowed access to specific Home Assistant entities directly from your phone.
Some of the features:
- Temporary Permissions: Grant access to specific entities (locks, garage doors, gates, buttons) that automatically expires after a set period.
- User Management: Easily authorize or revoke access for specific Telegram users/friends.
- No Dashboard Sharing: Guests don't need to install the Home Assistant app or access your internal network.
- Lightweight & Secure: Works via Telegram's secure API and interacts safely with your Home Assistant instance.
It has been made using grammy, the Telegram framework for Node and can be deployed easily using docker / docker compose or just using standard bun commands. You just need to fill out a few environment variables.
You can find the full documentation, setup guide, and code here: GitHub - mikelgmh/homepassbot ยท GitHub