Wi-Fi Hardware Monitor

1 minute read

Wi-Fi Hardware Monitor using Wemos D1 R1 Mini (ESP8266)

Wi-Fi Hardware Monitor

Features

  • Ready for SSD1306 and ST7735 screens
  • Monitor your CPU, GPU and RAM over Wi-Fi
  • OTA Firmware updates

To Do

  • Add support for different screens

Needed hardware

3D printed case (SSD1306 Screen)

Without case (ST7735 Screen)

ST7735 Screen (Left) - SSD1306 Screen (Right)

Instructions

Software

Get the Source Code on GitHub

You need to install the following software to start building this project:

VSCode

You need to modify the following values from /include/secrets.h matching your Wi-Fi setup

URL example const char *url = "http://YOUR-PC-IP:8085/data.json";
How to get your pc ip address on Windows 10?
  • Open Command Prompt
  • Write ipconfig and press ENTER
  • Search for IPv4 Adress: YOUR-PC-IP
const char *ssid = "YOUR_SSID";
const char *password = "YOUR_PASSWORD";
const char *url = "YOUR_OPENHARDWAREMONITOR_SERVER_URL";
const char *hostname = "HardwareMonitor";

Inside /src/main.cpp you need to choose between hardwareMonitorSSD1306(); or hardwareMonitorST7735();

Uncomment the screen that you want to use.
// Enable Wi-Fi Hardware Monitor with SSD1306 screen
  hardwareMonitorSSD1306();
// Enable Wi-Fi Hardware Monitor with ST7735 screen
  // hardwareMonitorST7735();

On platformio.ini you choose the port that uses your ESP8266

Uncomment the upload protocol that you want to use.
; Upload over serial
upload_protocol = esptool
upload_port = COM4

; Upload over Wi-Fi
; upload_protocol = espota
; upload_port = "192.168.1.120"

Open Hardware Monitor

  • Go to Options > Remote Web Server
  • Enable Run
  • On Set Port use for example port 8085

Firewall rule for Windows 10

  • Add an Entry Rule with the following values
    • Name Open Hardware Monitor
    • Port 8085
    • Protocol TCP

How to test if server is accesible?

  • Get your phone connected to Wi-Fi
  • On browser url write YOUR-PC-IP:8085
  • If you can see the values, your Wi-Fi Hardware Monitor can access them.
We are working on this post, sorry for the inconvenience.
Teardown - SSD1306 Teardown - ST7735

3D Model

Get it on Thingiverse

3D Model Side - SSD1306 3D Model Front - SSD1306 3D Model Top - SSD1306

Inspired by

Hardware Monitor by ModBros

Gnat-Stats by Psyrax

Leave a comment