mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
edit sonoff script on shelly script
This commit is contained in:
1 parent
6184f3815f
commit
7825cbb7aa
4 files changed
+734
No files matched your search
@@ -112,6 +112,7 @@ void setup() {
|
||||
jsonContent["values"]["on/off"]["value"] = (String)state;
|
||||
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