From ef3ff63fa17dc575f67f41c91c1c9648d667af81 Mon Sep 17 00:00:00 2001 From: mvdbro Date: Tue, 9 Aug 2016 21:17:51 +0200 Subject: [PATCH] R119 --- ESPEasy.ino | 2 +- WebServer.ino | 6 ++++++ _P019_PCF8574.ino | 6 +++--- __ReleaseNotes.ino | 8 +++++++- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/ESPEasy.ino b/ESPEasy.ino index 9507ee134..c47ccabeb 100644 --- a/ESPEasy.ino +++ b/ESPEasy.ino @@ -121,7 +121,7 @@ #define ESP_PROJECT_PID 2015050101L #define ESP_EASY #define VERSION 9 -#define BUILD 118 +#define BUILD 119 #define FEATURE_SPIFFS false #define CPLUGIN_PROTOCOL_ADD 1 diff --git a/WebServer.ino b/WebServer.ino index cab0f4f85..ca5772e04 100644 --- a/WebServer.ino +++ b/WebServer.ino @@ -236,6 +236,12 @@ void handle_root() { reply += ESP.getFlashChipRealSize() / 1024; //ESP.getFlashChipSize(); reply += F(" kB"); + reply += F("Sketch Size/Free:"); + reply += ESP.getSketchSize() / 1024; + reply += F(" kB / "); + reply += ESP.getFreeSketchSpace() / 1024; + reply += F(" kB"); + reply += F("Free Mem:"); reply += freeMem; diff --git a/_P019_PCF8574.ino b/_P019_PCF8574.ino index e0e6250f2..7d5a14385 100644 --- a/_P019_PCF8574.ino +++ b/_P019_PCF8574.ino @@ -128,9 +128,9 @@ boolean Plugin_019(byte function, struct EventStruct *event, String& string) if (command == F("pcfpulse")) { success = true; - Plugin_009_Write(event->Par1, event->Par2); + Plugin_019_Write(event->Par1, event->Par2); delay(event->Par3); - Plugin_009_Write(event->Par1, !event->Par2); + Plugin_019_Write(event->Par1, !event->Par2); setPinState(PLUGIN_ID_019, event->Par1, PIN_MODE_OUTPUT, event->Par2); log = String(F("PCF : GPIO ")) + String(event->Par1) + String(F(" Pulsed for ")) + String(event->Par3) + String(F(" mS")); addLog(LOG_LEVEL_INFO, log); @@ -140,7 +140,7 @@ boolean Plugin_019(byte function, struct EventStruct *event, String& string) if (command == F("pcflongpulse")) { success = true; - Plugin_009_Write(event->Par1, event->Par2); + Plugin_019_Write(event->Par1, event->Par2); setPinState(PLUGIN_ID_019, event->Par1, PIN_MODE_OUTPUT, event->Par2); setSystemTimer(event->Par3 * 1000, PLUGIN_ID_019, event->Par1, !event->Par2, 0); log = String(F("PCF : GPIO ")) + String(event->Par1) + String(F(" Pulse set for ")) + String(event->Par3) + String(F(" S")); diff --git a/__ReleaseNotes.ino b/__ReleaseNotes.ino index 31f76b7ce..cf2a1d757 100644 --- a/__ReleaseNotes.ino +++ b/__ReleaseNotes.ino @@ -1,3 +1,9 @@ +// R119 09-08-2016 +// Fixed calculation for DS1820 DS18S20 with extended precision for negative temperatures (contributed by saschaludwig) +// Bugfixes for uninitialized variable and potential buffer overflow (contributed by bertrik) +// Bugfix pulse commands for PCF8574 plugin +// Main webpage shows sketch size / free size + // R118 03-08-2016 // Added the Dummy Device to production (used in the testlab in the past, but can also be useful for production purposes) // You can use "TaskValueSet ,," in the rules section to set values @@ -5,7 +11,7 @@ // Prepared framework for SENSOR_TYPE_DUAL // R117 01-08-2016 -// Added support for FHEM using HTTP protocol +// Added support for FHEM using HTTP protocol (contributed by ddtlabs) // R116 01-08-2016 // Counter plugin can be set to "Delta" (original and default setting for Domoticz incremental counter) or "Delta/Total/Time" for other controllers that can handle this counter type