[GH-ISSUE #533] Add detailed status to report #445

Closed
opened 2026-02-28 01:25:20 +03:00 by kerem · 1 comment
Owner

Originally created by @tablatronix on GitHub (Feb 19, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/533

Add not connected reasons to the callout panel.

I just found out that the SDK added STATION_WRONG_PASSWORD at some point, so we can identify this now ( but not in esp8266 )

Added support for last failure reasons combined with #528 you can get reasons in code or in web ui.

adds new html for this

const char HTTP_STATUS_OFF[]       PROGMEM = "<div class='msg {c}'><strong>Not Connected</strong> to {v}{r}</div>";
const char HTTP_STATUS_OFFPW[]     PROGMEM = "<br/>Wrong Password";
const char HTTP_STATUS_OFFNOAP[]   PROGMEM = "<br/>AP not found";
const char HTTP_STATUS_OFFFAIL[]   PROGMEM = "<br/>Could not Connect";
const char HTTP_STATUS_NONE[]      PROGMEM = "<div class='msg'>No AP set</div>";
Originally created by @tablatronix on GitHub (Feb 19, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/533 Add not connected reasons to the callout panel. I just found out that the SDK added `STATION_WRONG_PASSWORD` at some point, so we can identify this now ( but not in esp8266 ) Added support for last failure reasons combined with #528 you can get reasons in code or in web ui. adds new html for this ``` const char HTTP_STATUS_OFF[] PROGMEM = "<div class='msg {c}'><strong>Not Connected</strong> to {v}{r}</div>"; const char HTTP_STATUS_OFFPW[] PROGMEM = "<br/>Wrong Password"; const char HTTP_STATUS_OFFNOAP[] PROGMEM = "<br/>AP not found"; const char HTTP_STATUS_OFFFAIL[] PROGMEM = "<br/>Could not Connect"; const char HTTP_STATUS_NONE[] PROGMEM = "<div class='msg'>No AP set</div>"; ```
kerem 2026-02-28 01:25:20 +03:00
Author
Owner

@tablatronix commented on GitHub (Feb 19, 2018):

chrome_2018-02-19_13-42-16

<!-- gh-comment-id:366786764 --> @tablatronix commented on GitHub (Feb 19, 2018): ![chrome_2018-02-19_13-42-16](https://user-images.githubusercontent.com/807787/36394632-d1cd6932-157a-11e8-972f-2cb00571c212.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#445
No description provided.