Skip to content

RichardTHF/NodeMCU---Clash-Status-Screen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeMCU and 1306 OLED Status Screen

A NodeMCU based status screen using a 1306 OLED Screen to display information about your Clash rule-based tunnel.

Example

Required libraries

Wire.h
ArduinoJson.h
Arduino_JSON
Adafruit_GFX.h
Adafruit_SSD1306.h

Features

  • Displays Proxy Mode (Global/Rule/Direct)
  • Display current traffic (Upload and Download speeds)
  • Pagination (in-progress)
  • Total Traffic (in-progress)
  • Current Proxy (in-progress)
  • Button Support
  • Screen burn protection (colour inversion etc)
  • Ability to control Modes and Proxy selections

Setup

Create a file called config.h and input the following code. Replace the URL details with your Clash proxy information.

const char* ssid     = "YOUR SSID";
const char* password = "YOUR WIFI PASSWORD";

const char* serverName = "http://10.0.0.1:9090/configs";
const char* serverName2 = "http://10.0.0.1:9090/traffic";

Connect your NodeMCU Prototype board to your commputer and connect the SSD1306 as follows

SDA - D2
SCL - D1 
VCC - 3V3
GND - GND

About

A NodeMCU based status screen for a Clash rule-based tunnel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages