CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Remote control - Telegram bot

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PrinceNai



Joined: 31 Oct 2016
Posts: 554
Location: Montenegro

View user's profile Send private message

Remote control - Telegram bot
PostPosted: Mon Jul 21, 2025 12:24 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jul 21, 2025 6:43 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jul 21, 2025 1:15 pm     Reply with quote

...

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

View user's profile Send private message

PostPosted: Tue Jul 22, 2025 1:08 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group