I have a project in mind to control my Raspberry Pi through the internet(possibly from my website) to get data and/or control some processes from far away and I would like to know the best possible ways on how to start on this, here is the draft on what the system will look like:
- A Raspberry Pi 3B+ connected to a monitor, an internet modem(through lan or Wi-fi) and a microcontroller (lets say named A1) through USART.
- The microcontroller(A1) is used to get the inputs(from various sensors) and also give the outputs(motor control, light switch on/off etc.) and is connected to the Raspberry Pi via USART (2-way communication between them).
I can handle the input-output and the uart connection part of the microcontroller, I will also write a gui (probably in pyqt5) for other users in the vicinity to observe and control the system.
What I want is help or even the direction I'm supposed to go on how to communicate the Pi with my website, I don't have much knowledge on that part (what topics, protocols, languages should I look up, etc.). The website I have is made through wordpress, I believe I can make an interface on the website for specific users to control the system. If possible, after I make the communication, I want the access to be limited, maybe accesing only specific memory blocks of the Pi, so that I don't have control over any other things.
Helpful research, video and/or experience is appreciated.
Thanks in advance