Skip to content

๐Ÿ”Œ๐Ÿ“ถ ESP32 script to check the online status of a Minecraft server via JSON API over Wi-Fi. Uses ArduinoJson and HTTPClient to fetch and parse data from mcsrvstat.us.

License

Notifications You must be signed in to change notification settings

lukashilverda/mcserver-status-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Minecraft server ESP32 status checker

Made by Lukas Hilverda

This project connects an ESP32 to Wi-Fi and fetches a JSON response from a server. It checks for an "online" field and prints the status to the Serial Monitor.

Features

* Connects to Wi-Fi

* Sends an HTTP GET request

* Parses JSON using ArduinoJson

* Prints online status

Requirements

* ESP32 board

* Arduino IDE or PlatformIO

* Libraries:

ย  * WiFi.h

ย  * HTTPClient.h

ย  * ArduinoJson

Setup

1. Open the code in Arduino IDE.

2. Fill in your Wi-Fi credentials and server URL:

 const char\* ssid = "YOUR_SSID";

 const char\* password = "YOUR_PASSWORD";

 String url = "https://api.mcsrvstat.us/3/YOUR_SERVER_IP";

About

๐Ÿ”Œ๐Ÿ“ถ ESP32 script to check the online status of a Minecraft server via JSON API over Wi-Fi. Uses ArduinoJson and HTTPClient to fetch and parse data from mcsrvstat.us.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages