diff --git a/.github/workflows/build-esp8266-esp32.yml b/.github/workflows/build-esp8266-esp32.yml index ec57be94..81681308 100644 --- a/.github/workflows/build-esp8266-esp32.yml +++ b/.github/workflows/build-esp8266-esp32.yml @@ -62,6 +62,7 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade platformio + pip install intelhex - name: Step 6 - Install library dependencies run: | pio pkg install -l "bblanchon/ArduinoJson" -l "links2004/WebSockets" -g diff --git a/changelog.md b/changelog.md index be11d20d..bd00074e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## Version 3.5.2 + Fixed: + - Fix: Force OTA update does not work [#430](https://github.com/sinricpro/esp8266-esp32-sdk/issues/430) + ## Version 3.5.1 Fixed: - Fix: sendPowerSensorEvent sets factor even when specified. diff --git a/library.json b/library.json index 5785d4ba..7b37bf01 100644 --- a/library.json +++ b/library.json @@ -18,7 +18,7 @@ } ], "homepage": "https://sinric.pro", - "version": "3.5.1", + "version": "3.5.2", "frameworks": "arduino", "platforms": ["espressif8266", "espressif32", "raspberrypi"], "dependencies": [ diff --git a/library.properties b/library.properties index d3cff445..6c84d321 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SinricPro -version=3.5.1 +version=3.5.2 author=Boris Jaeger maintainer=Boris Jaeger sentence=Library for https://sinric.pro - simple way to connect your device to alexa diff --git a/src/SinricProModuleCommandHandler.h b/src/SinricProModuleCommandHandler.h index fecfce33..cd32608b 100644 --- a/src/SinricProModuleCommandHandler.h +++ b/src/SinricProModuleCommandHandler.h @@ -72,7 +72,7 @@ bool SinricProModuleCommandHandler::handleRequest(SinricProRequest &request) { int major = request.request_value[FSTR_OTA_version][FSTR_OTA_major]; int minor = request.request_value[FSTR_OTA_version][FSTR_OTA_minor]; int patch = request.request_value[FSTR_OTA_version][FSTR_OTA_patch]; - bool forceUpdate = request.request_value[FSTR_OTA_version][FSTR_OTA_forceUpdate] | false; + bool forceUpdate = request.request_value[FSTR_OTA_forceUpdate] | false; return _otaUpdateCallbackHandler(url, major, minor, patch, forceUpdate); } else if (strcmp(FSTR_SETTINGS_setSetting, request.action.c_str()) == 0 && _setSettingCallbackHandler) { diff --git a/src/SinricProVersion.h b/src/SinricProVersion.h index 7f6b1d0a..a339ad25 100644 --- a/src/SinricProVersion.h +++ b/src/SinricProVersion.h @@ -6,7 +6,7 @@ // Version Configuration #define SINRICPRO_VERSION_MAJOR 3 #define SINRICPRO_VERSION_MINOR 5 -#define SINRICPRO_VERSION_REVISION 1 +#define SINRICPRO_VERSION_REVISION 2 #define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION) #define SINRICPRO_VERSION_STR "SinricPro (v" SINRICPRO_VERSION ")" #define SINRICPRO_VERISON_INT SINRICPRO_VERSION_MAJOR * 1000000 + SINRICPRO_VERSION_MINOR * 1000 + SINRICPRO_VERSION_REVISION \ No newline at end of file