Skip to content

Reboot button does not work #2

@Frank-Bemelman

Description

@Frank-Bemelman

First, thank you very much for this great example. It works quite well, and fiited well into my project involving modifying an old jukebox, rewiring the old buttons and finally serve audio files to a sonos box. I did not use the SPIFF but added an SD card for more storage.

I used the more fancy 2nd example and noticed the reboot button does not work at all.

In webpages.h
Line 29:
document.getElementById("statusdetails").innerHTML = "Invoking Reboot ...";

Changed into:
document.getElementById("details").innerHTML = "Invoking Reboot ...";

BTW, the conversion to SD card was easy. First I changed all SPIFFS references to SD. The only thing with SD.exists() and SD.remove() is that it wants a "/" in front of the filename, so I made some minor changes for that in webserver.ino

Thanks again, very happy with this!

Cheers,
Frank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions