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-backups
KiCad/CanGrow/CanGrow.kicad_sch-bak KiCad/CanGrow/CanGrow.kicad_sch-bak
KiCad/CanGrow/fp-info-cache KiCad/CanGrow/fp-info-cache
Arduino/CanGrow/CanGrow.geany
KiCad/CanGrow/gerber/*.zip

View file

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