View previous topic :: View next topic |
Author |
Message |
PrinceNai
Joined: 31 Oct 2016 Posts: 554 Location: Montenegro
|
Remote control - Telegram bot |
Posted: Mon Jul 21, 2025 12:24 am |
|
|
Hi all,
a while ago I built myself a remote control using SMS messages. It kinda worked, but it was not practical since I live in another country and a cost of a single SMS home was well over 1€, not to mention the need for a dedicated SIM card on the receiving end. So I'm toying with the idea of making something that works over a web based service. The first one that comes to mind is Telegram with it's bots (but can be any other service). At this point in time I'm only fishing for the ideas about how this system should look like. My idea is to use ESP32 to handle the networking and PIC to do all the rest. There are many tutorials of how to interface ESP32 to a Telegram bot using Arduino, so an option is to grab an existing sketch and tweak it so that ESP mimics key presses or passes the control messages to PIC via serial. I'm sure many of you already made something similar, so I'd be grateful for any pointers and ideas.
Regards,
Samo |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 19928
|
|
Posted: Mon Jul 21, 2025 6:43 am |
|
|
You are looking at a very complex way of doing things. Problem is that
Telegram bots are signalled using MTProto. This would be beyond most
PIC's to handle.
Much simpler to just use SNMP over the network. |
|
 |
bulut_01
Joined: 24 Feb 2024 Posts: 317
|
|
Posted: Mon Jul 21, 2025 1:15 pm |
|
|
...
Last edited by bulut_01 on Tue Jul 22, 2025 1:24 am; edited 1 time in total |
|
 |
PrinceNai
Joined: 31 Oct 2016 Posts: 554 Location: Montenegro
|
|
Posted: Tue Jul 22, 2025 1:08 am |
|
|
I must be stuck at Punxsutawney.
Quote: | This is unrelated to your topic |
You are right, it is not related, not even remotely (pun definitely intended) and it is rude to hijack a topic like this.
I do not know what you mean by not decoded correctly. You never ever tell what doesn't work, only that it doesn't. I told you that already. You also never post the working solutions.
Go through the topic from February again, look at the codes. What you posted here is not the same as what I posted. Once again your TE related definitions are wrong and I did point that out to you then. There is also a potential problem with the way you store sampled bits. Maybe intentional, maybe not.
Please don't use this topic again for unrelated things. |
|
 |
|