Files
tajniak81andClaude Opus 4.8 318e9c1670 Add Car Agent Device firmware (LILYGO TTGO T-SIM7600, ESP32/SIM7600)
ESP32 + SIM7600 cellular firmware for the in-car agent device: WiFi/AP
provisioning with a web admin page, GPRS/LTE connectivity, and IMEI-based
identification. The hardcoded default WiFi password has been replaced with a
YOUR-WIFI-PASSWORD placeholder so no real credential enters git history.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 21:07:45 +02:00

80 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ESP32 Administration Panel</title>
</head>
<body>
<h1>ESP32 Administration Panel</h1>
<h2>WiFi Configuration</h2>
<form method="POST" action="/setWiFi">
<label for="ssid">WiFi SSID:</label><br>
<input type="text" id="ssid" name="ssid" value="{{WiFiSSID}}"><br><br>
<label for="password">WiFi Password:</label><br>
<input type="password" id="password" name="password" value="{{WiFiPassword}}"><br><br>
<button type="submit">Save WiFi Credentials</button>
</form>
<p>WiFi IP Address: {{WiFiIP}}</p>
<p>WiFi MAC Address: {{WiFiMAC}}</p>
<h2>Access Point Configuration</h2>
<form method="POST" action="/setAP">
<label for="apSSID">Access Point SSID:</label><br>
<input type="text" id="apSSID" name="apSSID" value="{{APSSID}}"><br><br>
<label for="apPassword">Access Point Password:</label><br>
<input type="password" id="apPassword" name="apPassword" value="{{APPassword}}"><br><br>
<button type="submit">Save AP Credentials</button>
</form>
<p>Access Point IP Address: {{APIP}}</p>
<p>Access Point MAC Address: {{APMAC}}</p>
<h2>GPRS Configuration</h2>
<form method="POST" action="/setGPRS">
<label for="apn">APN:</label><br>
<input type="text" id="apn" name="apn" value="{{APN}}"><br><br>
<label for="gprsUser">GPRS Username:</label><br>
<input type="text" id="gprsUser" name="gprsUser" value="{{GPRSUser}}"><br><br>
<label for="gprsPass">GPRS Password:</label><br>
<input type="password" id="gprsPass" name="gprsPass" value="{{GPRSPass}}"><br><br>
<button type="submit">Save GPRS Credentials</button>
</form>
<p>GPRS IP Address: {{GPRSIP}}</p>
<p>GPRS MAC Address: {{GPRSMAC}}</p>
<p>GPRS Status: {{GPRSStatus}}</p>
<p>CCID: {{CCID}}</p>
<p>IMEI: {{IMEI}}</p>
<p>IMSI: {{IMSI}}</p>
<p>Operator: {{Operator}}</p>
<p>Signal Quality: {{SignalQuality}}</p>
<h2>GSM PIN Configuration</h2>
<form method="POST" action="/setGSM">
<label for="gsmPin">GSM PIN:</label><br>
<input type="text" id="gsmPin" name="gsmPin" value="{{GSMPIN}}"><br><br>
<button type="submit">Save GSM PIN</button>
</form>
<h2>GPS Data</h2>
<p>Latitude: {{Latitude}}</p>
<p>Longitude: {{Longitude}}</p>
<p>Altitude: {{Altitude}}</p>
<p>Speed: {{Speed}}</p>
<p>Visible Satellites: {{VisibleSatellites}}</p>
<p>Used Satellites: {{UsedSatellites}}</p>
<p>Accuracy: {{Accuracy}}</p>
<p>Date: {{Date}}</p>
<p>Time: {{Time}}</p>
</body>
</html>