Answer the question
In order to leave comments, you need to log in
How to control Raspberry via Telegram?
There is Raspberry with Raspbian Stretch. I would like to set up simple control via Telegram:
watch uptime, statistics, execute shell commands.
I looked at Github and just on Google, there are scripts (Python, Go), but not very convenient, everything will have to be rewritten for yourself.
Maybe someone has already done something similar? It would be interesting to try.
Thank you!
Answer the question
In order to leave comments, you need to log in
I have no idea how to do it, but if you know the cart api, then do this:
import os
if message == "home": #вместо мессдж сообщение из телеги
os.system("cd $HOME")#команда для терминала
else: #стандарт
telegram.send("HeBepHo")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question