From e3094d9689bc86db2b93c1da8071e2bfef5ad516 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Fri, 9 Nov 2018 14:27:12 +0100 Subject: [PATCH] OTA Send back acknowledgement --- esphomeyaml/espota2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphomeyaml/espota2.py b/esphomeyaml/espota2.py index 5eaaccd669..bb9963d8ff 100755 --- a/esphomeyaml/espota2.py +++ b/esphomeyaml/espota2.py @@ -200,6 +200,7 @@ def perform_ota(sock, password, file_handle, filename): receive_exactly(sock, 1, 'receive OK', RESPONSE_RECEIVE_OK) receive_exactly(sock, 1, 'Update end', RESPONSE_UPDATE_END_OK) + send_check(sock, RESPONSE_OK, 'end acknowledgement') _LOGGER.info("OTA successful")