edit sonoff script on shelly script
This commit is contained in:
@@ -113,6 +113,7 @@ void setup() {
|
||||
jsonContent["token"] = apiToken;
|
||||
jsonContent["settings"]["network"]["ip"] = WiFi.localIP().toString();
|
||||
jsonContent["settings"]["network"]["mac"] = WiFi.macAddress();
|
||||
jsonContent["settings"]["firmware_hash"] = ESP.getSketchMD5();
|
||||
sendDataToWeb();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user