add device name to stats

pull/1/head
Thomas Ballmann 3 years ago
parent e8283b4af0
commit 61696e571a

@ -114,6 +114,7 @@ void setupApp()
doc["device"]["id"] = DeviceId;
doc["device"]["time"] = time(NULL);
doc["device"]["name"] = NVS.getString("device.name");
doc["device"]["hostname"] = WiFi.getHostname();
doc["device"]["bootCycle"] = deviceGetBootCount();
doc["device"]["screen"]["width"] = 640;

Loading…
Cancel
Save