diff --git a/README.md b/README.md index eddbb9413..a9b320af0 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ The following devices are supported: - [iTead 1 Channel Switch 5V / 12V](https://www.itead.cc/smart-home/inching-self-locking-wifi-wireless-switch.html) - [iTead Motor Clockwise/Anticlockwise](https://www.itead.cc/smart-home/motor-reversing-wifi-wireless-switch.html) - [Electrodragon IoT Relay Board](http://www.electrodragon.com/product/wifi-iot-relay-board-based-esp8266/) +- [AI Light](http://www.ebay.com/itm/172644855726) diff --git a/sonoff/_releasenotes.ino b/sonoff/_releasenotes.ino index 27dad4200..d369611c3 100644 --- a/sonoff/_releasenotes.ino +++ b/sonoff/_releasenotes.ino @@ -1,44 +1,16 @@ -/* 5.6.1l +/* 5.7.0 20170907 + * Shrink module configuration webpage + * Fix settings order during startup to allow for displaying debug messages * Fix some string length issues * Add more string length tests by using strncpy - * Tried to fix Exception 3 as I can't reproduce (#830) - * - * 5.6.1k - * Fix preprocessor language selection - * - * 5.6.1j - * Fix compile error on Linux due to language folder name - * - * 5.6.1i - * Add basic internationalization and localization (#763) - * Fix invalid JSON (#822) - * - * 5.6.1h - * Add PulseTime to power check at startup (#526) - * - * 5.6.1g - * Add power check at startup (#526) - * Add duplicate check to received RF signal within 2 seconds for Sonoff Bridge (#810) - * - * 5.6.1f - * Fix JSON error (#786) - * Revert changes from 5.6.1e but extent HLW power timer to 10 seconds (#796) - * - * 5.6.1e - * Remove Sonoff Pow HLW power timer to enable low power readings. Unstable below 3W due to used hardware. (#759) - * - * 5.6.1d - * Fix settings order during startup to allow for displaying debug messages - * Add more Sonoff Pow range checking (#772) - * - * 5.6.1c - * Add more precision to Sonoff Pow period and power results using command WattRes 0|1 (#759) - * - * 5.6.1b + * Add Ai-Thinker RGBW led (AiLight) + * Add Power check and add PulseTime to power check at startup (#526) * Add Supla Espablo support (#755) - * - * 5.6.1a - * Shrink module configuration webpage + * Add more precision to Sonoff Pow period and power results using command WattRes 0|1 (#759) + * Add basic internationalization and localization (#763) + * Add more Sonoff Pow range checking (#772) + * Fix invalid JSON (#786, #822) + * Add duplicate check to received RF signal within 2 seconds for Sonoff Bridge (#810) * * 5.6.1 20170818 * Change module list order in webpage diff --git a/sonoff/i18n.h b/sonoff/i18n.h index a7cb34e14..d716ccf55 100644 --- a/sonoff/i18n.h +++ b/sonoff/i18n.h @@ -27,20 +27,16 @@ #endif // Common - const char S_LOG_HTTP[] PROGMEM = D_LOG_HTTP; const char S_LOG_WIFI[] PROGMEM = D_LOG_WIFI; const char S_LOG_MQTT[] PROGMEM = D_LOG_MQTT; - const char S_RSLT_POWER[] PROGMEM = D_RSLT_POWER; const char S_RSLT_RESULT[] PROGMEM = D_RSLT_RESULT; const char S_RSLT_WARNING[] PROGMEM = D_RSLT_WARNING; - const char S_LWT[] PROGMEM = D_LWT; const char S_OFFLINE[] PROGMEM = D_OFFLINE; // sonoff.ino - #define MAX_BUTTON_COMMANDS 5 // Max number of button commands supported const char commands[MAX_BUTTON_COMMANDS][14] PROGMEM = { D_CMND_WIFICONFIG " 1", // Press button three times @@ -63,7 +59,6 @@ const char JSON_SNS_TEMPHUM[] PROGMEM = "%s, \"%s\":{\"" D_TEMPERATURE "\":%s, \"" D_HUMIDITY "\":%s}"; // support.ino - static const char monthNames[] = D_MONTH3LIST; // webserver.ino diff --git a/sonoff/sonoff.ino b/sonoff/sonoff.ino index a3245227f..f18aedfe3 100644 --- a/sonoff/sonoff.ino +++ b/sonoff/sonoff.ino @@ -25,7 +25,7 @@ - Select IDE Tools - Flash Size: "1M (no SPIFFS)" ====================================================*/ -#define VERSION 0x0506010C // 5.6.1l +#define VERSION 0x05070000 // 5.7.0 enum log_t {LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE, LOG_LEVEL_ALL}; enum week_t {Last, First, Second, Third, Fourth};