Dilbert66 / esphome-vistaECP

This is an implementation of an ESPHOME custom component and ESP Library to interface directly to a Safewatch/Honeywell/Ademco Vista 15/20 alarm system using the ECP interface and very inexpensive ESP8266/ESP32 modules .
GNU Lesser General Public License v2.1
130 stars 21 forks source link

feat: add automatic disconnect from ECP bus on OTA #85

Closed rcmurphy closed 1 year ago

rcmurphy commented 1 year ago

This avoids the issues with interrupts during OTAs by using ota.on_begin to disable ECP. The ESP is rebooted at the conclusion of the OTA regardless, so no need to reset it ourselves.