modify gitignore

This commit is contained in:
Marcus 2024-05-10 23:21:13 +02:00
parent 7a939205a8
commit df1a6307f7
2 changed files with 19 additions and 17 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
KiCad/CanGrow/CanGrow-backups
KiCad/CanGrow/CanGrow.kicad_sch-bak
KiCad/CanGrow/fp-info-cache
Arduino/CanGrow/CanGrow.geany
KiCad/CanGrow/gerber/*.zip

View file

@ -973,7 +973,7 @@ void APIgetDebug() {
// WiFi
JsonObject objWiFi = jsonDebug.add<JsonObject>();
JsonObject objWiFi = jsonDebug["wifi"].add<JsonObject>();
objWiFi["ssid"] = WIFIssid;
objWiFi["dhcp"] = WIFIuseDHCP;
objWiFi["ip"] = WiFi.localIP().toString();
@ -982,7 +982,7 @@ void APIgetDebug() {
objWiFi["dns"] = WiFi.dnsIP().toString();
// System
JsonObject objSystem = jsonDebug.add<JsonObject>();
JsonObject objSystem = jsonDebug["system"].add<JsonObject>();
objSystem["UseFan"] = UseFan;
objSystem["UsePump"] = UsePump;
objSystem["UseLEDrelais"] = UseLEDrelais;
@ -995,21 +995,21 @@ void APIgetDebug() {
objSystem["MaintenanceDuration"] = MaintenanceDuration;
// Grow
JsonObject objGrow = jsonDebug.add<JsonObject>();
objSystem["GrowName"] = GrowName;
objSystem["GrowStart"] = GrowStart;
objSystem["GrowStartDate"] = returnStrDateFromEpoch(GrowStart);
objSystem["DaysVeg"] = DaysVeg;
objSystem["DaysBloom"] = DaysBloom;
objSystem["LighthoursVeg"] = LighthoursVeg;
objSystem["LighthoursBloom"] = LighthoursBloom;
objSystem["SunriseHour"] = SunriseHour;
objSystem["SunriseMinute"] = SunriseMinute;
objSystem["SunFade"] = SunFade;
objSystem["SunFadeDuration"] = SunFadeDuration;
objSystem["PinLEDPWM"] = PinLEDPWM;
objSystem["PinFANPWM"] = PinFANPWM;
objSystem["DayOfGrow"] = DayOfGrow;
JsonObject objGrow = jsonDebug["grow"].add<JsonObject>();
objGrow["GrowName"] = GrowName;
objGrow["GrowStart"] = GrowStart;
objGrow["GrowStartDate"] = returnStrDateFromEpoch(GrowStart);
objGrow["DaysVeg"] = DaysVeg;
objGrow["DaysBloom"] = DaysBloom;
objGrow["LighthoursVeg"] = LighthoursVeg;
objGrow["LighthoursBloom"] = LighthoursBloom;
objGrow["SunriseHour"] = SunriseHour;
objGrow["SunriseMinute"] = SunriseMinute;
objGrow["SunFade"] = SunFade;
objGrow["SunFadeDuration"] = SunFadeDuration;
objGrow["PinLEDPWM"] = PinLEDPWM;
objGrow["PinFANPWM"] = PinFANPWM;
objGrow["DayOfGrow"] = DayOfGrow;