Device Activity Telegram Bot
cp .env.example .env
virtualenv venv
venv/bin/pip install -r requirements.txt
venv/bin/python send.py
venv/bin/python halt.py
- send.py - should be triggered on every login / screen unlock and sends a notification that someone logged into your device
- halt.py - should be triggered on every screen lock and listens for remote shutdown commands
/halt # sends a shutdown command to every machine that has halt.py running
/halt DEVICENAME # sends a shutdown command to a specific machine