Skip to content

skyvense/ESP-Remote-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Esp32 Remote Screen Streamer

This is A very simple & fast ESP32 Screen streaming solution, coding by PlatformIO/Arduino

The program running on an ESP32-S3 board allows you to remote monitoring a small area from your desktop.

Screen data is shared by mqtt protocol between desktop server(python code) and ESP32-S3 device

The main reason I decided to start this project is to provide a flexible way of dashboards: Which I got desperate after searched the internet for several days: There is no good graphic dashboard running on this small device, and it's also difficult to draw those fonts and lines beautifully.

But our computer is good at this, and there are thousands of ways to provide such function or interface, after I built the project, I can display everything on that small screen, without changing the code inside it.

And this code runs about 5-10 fps, which is fast enough for our inital purpose.

ESP32 Build steps

  1. Buy a board call: adafruit_feather_esp32s3_tft
  2. Install PlatformIO(https://www.youtube.com/watch?v=JmvMvIphMnY)
  3. Open the directory ESP32S3, and setup TFT libary correctly
  4. Build the project and upload to an ESP32-S3 board
  5. Modify SSID information in data/config.json.
  6. Build SPIFFS image with "Build Filesystem Image" and upload to the board.

Server

  1. Setup a mosquitto message server, in my case, it is running at 192.168.8.3:1833
  2. pip install -r server/requiements.txt
  3. python server/pushMqttLiveDesktop.py
  4. the python code then captures screen area:
    ss_region = (100, 300, 340, 435)

Running

  1. My ESP32 screen shot Screen

  2. While my computer screen display like this Screen capture

  3. Let see the framerate: Watch the video

What's next

The project is still in it's early stage, A proper C/C++ Desktop Application is need to select display area

Thanks to

Mutithread Videoplayer codes are from:

https://github.com/atomic14/esp32-tv

But I removed Audio decode & play codes

Releases

No releases published

Packages

No packages published