This commit is contained in:
mvdbro
2016-08-09 21:17:51 +02:00
parent 550b665bd0
commit ef3ff63fa1
4 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -121,7 +121,7 @@
#define ESP_PROJECT_PID 2015050101L #define ESP_PROJECT_PID 2015050101L
#define ESP_EASY #define ESP_EASY
#define VERSION 9 #define VERSION 9
#define BUILD 118 #define BUILD 119
#define FEATURE_SPIFFS false #define FEATURE_SPIFFS false
#define CPLUGIN_PROTOCOL_ADD 1 #define CPLUGIN_PROTOCOL_ADD 1
+6
View File
@@ -236,6 +236,12 @@ void handle_root() {
reply += ESP.getFlashChipRealSize() / 1024; //ESP.getFlashChipSize(); reply += ESP.getFlashChipRealSize() / 1024; //ESP.getFlashChipSize();
reply += F(" kB"); reply += F(" kB");
reply += F("<TR><TD>Sketch Size/Free:<TD>");
reply += ESP.getSketchSize() / 1024;
reply += F(" kB / ");
reply += ESP.getFreeSketchSpace() / 1024;
reply += F(" kB");
reply += F("<TR><TD>Free Mem:<TD>"); reply += F("<TR><TD>Free Mem:<TD>");
reply += freeMem; reply += freeMem;
+3 -3
View File
@@ -128,9 +128,9 @@ boolean Plugin_019(byte function, struct EventStruct *event, String& string)
if (command == F("pcfpulse")) if (command == F("pcfpulse"))
{ {
success = true; success = true;
Plugin_009_Write(event->Par1, event->Par2); Plugin_019_Write(event->Par1, event->Par2);
delay(event->Par3); 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); 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")); log = String(F("PCF : GPIO ")) + String(event->Par1) + String(F(" Pulsed for ")) + String(event->Par3) + String(F(" mS"));
addLog(LOG_LEVEL_INFO, log); addLog(LOG_LEVEL_INFO, log);
@@ -140,7 +140,7 @@ boolean Plugin_019(byte function, struct EventStruct *event, String& string)
if (command == F("pcflongpulse")) if (command == F("pcflongpulse"))
{ {
success = true; 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); setPinState(PLUGIN_ID_019, event->Par1, PIN_MODE_OUTPUT, event->Par2);
setSystemTimer(event->Par3 * 1000, PLUGIN_ID_019, event->Par1, !event->Par2, 0); 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")); log = String(F("PCF : GPIO ")) + String(event->Par1) + String(F(" Pulse set for ")) + String(event->Par3) + String(F(" S"));
+7 -1
View File
@@ -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 // 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) // 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 <task nr>,<variable nr>,<value>" in the rules section to set values // You can use "TaskValueSet <task nr>,<variable nr>,<value>" in the rules section to set values
@@ -5,7 +11,7 @@
// Prepared framework for SENSOR_TYPE_DUAL // Prepared framework for SENSOR_TYPE_DUAL
// R117 01-08-2016 // 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 // 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 // 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