pip3 install ping3
pip3 install requests
/newbot
to @BotFather
, and give it a name and username. Copy the API key given in the response into telegram-api-key.txt
. Keep this key secret!
/start
)to your newly created bot so that it is able to reply to your messages.
message-recipients.csv
file. You can find this by sending /start
to @JsonDumpBot
and looking at the first field labelled "id"
. (Not "message_id" or "update_id"!)
clients.csv
file. You should type the name you would like it to be known by, then the ip address or url. Create a new line for each client. Eg:
Router, 192.168.0.1
Web Server, example.com
Smart Home Device, 192.168.0.2
Twitter, twitter.com
server.py
with python3!
To run this on startup:
server.py
to your startup folder
rc.local
file which cd to the directory of server.py
and run python3 server.py
sudo pip3 install ping3 && sudo pip3 install request