// Rxxx 02-12-2016 EasyMega build (experimental) // Native SPIFFS support, old custom flash routines removed // Support OTA up to 1.5MB sketch size (change to 1M SPIFFS model) on 4M modules // Fallback Wifi AP support // Supports multiple active controllers // Supports notification plugins (basic email _N001.ino provided) // Native SD card support and system logging to SD card // Taskvalues are preserved during reboot (not after power loss!) // Multiple rule sets, max 4 sets, each 2k in size // Several device plugins reworked and added to the main branch: // P036 Framed OLED // P037 MQTT import // P038 NeoPixel // P039 Thermocouple // P040 ID12/RDM6300 RFID // P041 NeoPixel WordClock // P042 NeoPixel Candle // P043 Timer Clock // P044 P1 gateway // Removed savesettings/savecustomsettings from candle plugin, check this later... // UDP broadcast option prep // Flash write protection mechanism (aded command 'resetFlashWriteCounter') // IDX/var no longer mandatory and only requested when the selected controller needs it // Clock#Time supports 'Wrk' for workdays and 'Wkd' for weekends as wildcards // R148 02-12-2016 // Fixed a bug in ADS1115 plugin (contributed by Shardan) // R147 27-11-2016 // Fixed a situation where a large message delay uses background processing without UPD handling, causing network issues. // R146 20-11-2016 // Fixed a bug in PLUGIN_SERIAL/UDP calls where eventstruct data was not prepared // Ser2Net plugin RXWait would only work as expected on task 1 // R145 13-11-2016 // Removed controller specific code from the framework (Domoticz test routines) // Fixed device table display // R144 12-11-2016 // Fixed PCA Plugin init (contributed by thexperiments) // R143 02-11-2016 // Added nodeType for future use // R142 26-10-2016 // Fixed some more missing I2C scanner devices. Changed 'known' into 'supported' // Changed help items to www.letscontrolit.com/wiki // Added a retry mechanisme on NTP response failures, to minimize booting with time set to zero... // R141 21-10-2016 // Fixed pulsecounter value display style elements // Fixed some missing I2C scanner 'known devices' // R140 16-10-2016 // Added PCF8574A at default address as known device // R139 14-10-2016 // Fixed a bug with Domoticz MQTT protocol. Broken as of R109, due to the new pubsub library // It also needs a patched pubsub library! // Also fixed a specific crash situation on invalid data // R138 10-10-2016 // Fixed publish command // Fixed boot event, triggered after getting the system time // R137 09-10-2016 // Added formula option for pow calculations like 2^3 in (contributed by pm-cz) // R136 07-10-2016 // Added NodeMCU/Wemos pin numbers (contributed by nonflammable) // Added Pressure altitude adjustment to pressure sensors (contributed by adrianmihalko/pm-cz) // R135 05-10-2016 // Added build and unit name to the node list // R134 04-10-2016 // Corrected Typo and password field type change // Added %eventvalue% that can substitute the event value in actions // Added total to the pulse counter as single value (not persistent counter!) (contributed by fvdpol) // Added authentication to http controller (contributed by marcfon) // Added SPI support in hardware tab (contributed by moelski) // Added NodeMCU/Wemos pin numbering to GPIO list (contributed by moelski) // R133 26-09-2016 // Added rule events to SerialServer and SerialSend command // Changed 'wrap on' to 'wrap off' in rules editor // R132 24-09-2016 // Moved ISR handlers for Pulse, RFID and HCSR04 plugins to iram cache // R131 11-09-2016 // Added flash write counter (count since boot), displayed in webgui // Update plugin BME280 for calibration data on multiple sensors (contributed by maxx333) // R130 10-09-2016 // Fixed some code when using SPIFFS (not recommended!) // Support DS1825 (contributed by maxx333) // R129 08-09-2016 // Update plugin BH1750, support multiple sensors (contributed by guslinux & pm-cz) // Update plugin BME/BMP280, (contributed by pm-cz) // R128 06-09-2016 // Update FHEM plugin (contributed by ddtlabs) // Change for decimals on SI7021 humidity (contributed by pm-cz) // R127 04-09-2016 // Fixed the situation where using the old style MQTT gpio/pwm commands left event-Par3 uninitialized. // causing an 'endless' delay using pwm command // R126 28-08-2016 // Added JSON support on FHEM controller plugin (contributed by ddtlabs) // R125 27-08-2016 // Update OLED plugin, support for smaller displays (contributed by ToniA) // R124 20-08-2016 // Corrected minor issue on plugin_027 // Adjustable serial RX Receive timeout in Ser2Net plugin. To collect entire message and send it as one TCP packet. // Added generic UDP controller, C010 // Added SENSOR_TYPE_QUAD, mainly for dummy device // Code optimization for controllers C004, C005, C006, C008 // Added default template to C008 // Added IR TX plugin from the playground as P035, (contributed by cherowley) // R123 19-08-2016 // Added support for the DHT12 sensor, successor of the famous DHT11. (contributed by pm-cz) // It can be used as single wire or I2C. // R122 16-08-2016 // Check on unit number < UNIT_MAX before adding self to the nodelist. This would corrupt the nodelist data structure for units > 31 // Fixed another potential buffer overflow when logging ser2net data. And changed the fix from R119. Extended Ser2Net logging. // Increased the syslog buffer size to 256 bytes. // R121 11-08-2016 // Added option for MQTT retain flag. Can be configured in /tools/advanced // Added internal TaskRun command // R120 10-08-2016 // Removed formula fields from the Dummy Device. This will not work anyway. Use a formula in TaskValueSet command instead. // 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 // Sending and retrieving values works just like any other sensor, using the template [#] // Prepared framework for SENSOR_TYPE_DUAL // R117 01-08-2016 // 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 // R115 31-07-2016 // Provided controller plugin calls CPLUGIN_WEBFORM_SAVE and CPLUGIN_WEBFORM_LOAD to support custom controller configurations stored in flash. // R114 22-07-2016 // Cleanup code, conditional core 2.0.0/2.1.0 support removed, changed to core 2.3.0 // The web gui now shows the core version used to build the release. // R113 21-07-2016 // Bugfix in rules processing with multiple value devices, only the first value would work as expected // R112 19-07-2016 // Bugfix for timezones other than whole hours offset. It is now set in +/- minutes // R111 18-07-2016 // Bugfix parsing rfid (SENSOR_TYPE_LONG) values in parseTemplate function // R110 16-07-2016 // Improved Serial Server plugin, reconnect handling // Improved thingspeak and emoncms plugins (contributed by pm-cz) // R109 12-07-2016 // Fix HTU21d timing // Support internal pullup for SHT1X plugin // Moved to pubsubclient 2.6 library (source no longer compatible with 1.9 library, so use the 2.6 version!) // R108 07-06-2016 // Support for MS5611 temp/baro sensor (contributed by Battika) // Support PWM fade (contributed by qubeck). // Use only for small fade times as it's a blocking function! // R107 21-05-2016 // Support to include VCC reading at compile time, defaults to disabled. (contributed by Battika) // R106 10-05-2016 // Added support for DS1820/DS18S20 sensor types // Option to change connection failure threshold, set to 0 to disable. // R105 26-04-2016 // Bugfix for event names ending with "on " // Added support for SHT1X sensors like the SHT10 Soil Moisture sensor (contributed by MarkBergsma) // R104 25-04-2016 // Added a few lowlevel networking commands, to be used in the rules section: // SendToUDP ,, sample: SendToUDP 192.168.0.123,65500,Hello // SendToHTTP ,, sample: SendToHTTP 192.168.0.8,8080,/json.htm // Reduced flash load size to 2048 in rules engine and use static pointer to save memory on recursive calls // Max nesting level on rules is 3 levels deep // R103 19-04-2016 // Upon request, added option for factory default static IP settings. // R102 19-04-2016 // Added support for BMP280 (contributed by PM-CZ) // R101 17-04-2016 // bugfix P020, the savetasksettings was obsolete, the loadtasksettings was not... // Use hostname in C008 protocol if the controller hostname is configured (instead of IP) // R100 13-04-2016 // Moved UDP handling from background tasks as it could lead to recursive function call issues on globalsync receive // Some more experimental features: // - Added option to send rule events using http control page: /control?cmd=event, (single event buffer limitation applies!) // - Added option to send rule events using openhab MQTT protocol: publish event, to