Skip to content

Commit 8776c5a

Browse files
committed
Update README.md
1 parent 1e88b58 commit 8776c5a

File tree

1 file changed

+38
-32
lines changed

1 file changed

+38
-32
lines changed

README.md

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,72 @@
1-
# <h1 align="center">ESP32 WiFi JSON Status Checker</h1>
1+
<h1 align="center">ESP32 WiFi JSON Status Checker</h1>
22

3-
#
43

5-
# > Made by Lukas Hilverda
64

7-
#
5+
> Made by Lukas Hilverda
86
9-
# This project is a simple ESP32 program that connects to a Wi-Fi network and fetches a JSON response from a specified URL. It parses the JSON and checks for an `"online"` field, then prints the result to the serial monitor.
107

11-
#
128

13-
# \## 📦 Features
9+
This project is a simple ESP32 program that connects to a Wi-Fi network and fetches a JSON response from a specified URL. It parses the JSON and checks for an `"online"` field, then prints the result to the serial monitor.
1410

15-
#
1611

17-
# \- Connects to a Wi-Fi network
1812

19-
# \- Sends an HTTP GET request to a server
13+
&nbsp; \* \[Features](#features)
2014

21-
# \- Parses JSON response using ArduinoJson
15+
&nbsp; \* \[Requirements](#requirements)
2216

23-
# \- Checks if a device or service is online
17+
&nbsp; \* \[Installation](#installation)
2418

25-
# \- Output shown via Serial Monitor
2619

27-
#
2820

29-
# \## 🛠 Requirements
21+
\## Features
3022

31-
#
3223

33-
# \- ESP32 board
3424

35-
# \- Arduino IDE or PlatformIO
25+
\* Connects to a Wi-Fi network
3626

37-
# \- Libraries:
27+
\* Sends an HTTP GET request to a server
3828

39-
# &nbsp; - \[WiFi.h](https://www.arduino.cc/en/Reference/WiFi)
29+
\* Parses JSON response using ArduinoJson
4030

41-
# &nbsp; - \[HTTPClient.h](https://www.arduino.cc/en/Reference/HTTPClient)
31+
\* Checks if a device or service is online
4232

43-
# &nbsp; - \[ArduinoJson](https://arduinojson.org/)
33+
\* Output shown via Serial Monitor
4434

45-
#
4635

47-
# \## 📋 Installation
4836

49-
#
37+
\## Requirements
5038

51-
# 1\. Clone or download the project.
5239

53-
# 2\. Open the code in Arduino IDE.
5440

55-
# 3\. Fill in your Wi-Fi credentials and the server URL:
41+
\* ESP32 board
5642

57-
# &nbsp; ```cpp
43+
\* Arduino IDE or PlatformIO
5844

59-
# &nbsp; const char\* ssid = "YOUR\_WIFI\_SSID";
45+
\* Libraries:
6046

61-
# &nbsp; const char\* password = "YOUR\_WIFI\_PASSWORD";
47+
&nbsp; \* \[WiFi.h](https://www.arduino.cc/en/Reference/WiFi)
6248

63-
# &nbsp; String url = "http://your-server.com/status";
49+
&nbsp; \* \[HTTPClient.h](https://www.arduino.cc/en/Reference/HTTPClient)
6450

51+
&nbsp; \* \[ArduinoJson](https://arduinojson.org/)
6552

6653

54+
55+
\## Installation
56+
57+
58+
59+
1\. Clone or download the project.
60+
61+
2\. Open the code in Arduino IDE.
62+
63+
3\. Fill in your Wi-Fi credentials and the server URL:
64+
65+
  ```cpp
66+
67+
  const char\* ssid = "YOUR\_WIFI\_SSID";
68+
69+
  const char\* password = "YOUR\_WIFI\_PASSWORD";
70+
71+
  String url = "http://your-server.com/status";
72+

0 commit comments

Comments
 (0)