We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022739f commit 0dd890fCopy full SHA for 0dd890f
1 file changed
usermods/FSEQ/usermod_fseq.h
@@ -91,17 +91,16 @@ class UsermodFseq : public Usermod {
91
// Add a link in the Info tab to your SD
92
void addToJsonInfo(JsonObject &root) override {
93
94
+ JsonObject user = root["u"];
95
+ if (user.isNull()) {
96
+ user = root.createNestedObject("u");
97
+ }
98
+
99
if (WiFi.status() == WL_CONNECTED) {
100
String url = "http://" + WiFi.localIP().toString() + "/fsequi";
-
- addInfoRow(root,
- F("FSEQ UI"), // Label
- url.c_str(), // Wert
- true); // → als klickbarer Link
101
+ user["FSEQ UI"] = url; // ← einfach als String setzen
102
} else {
103
- F("FSEQ UI"),
104
- F("WiFi not connected"));
+ user["FSEQ UI"] = "WiFi not connected";
105
}
106
107
0 commit comments