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 .
Using the latest files, I am getting the following error:
In file included from src/main.cpp:76:0: src/vistaAlarm.h: In member function 'virtual void esphome::vistaECPHome::update()': src/vistaAlarm.h:799:28: error: 'ARMED' was not declared in this scope if (strstr(p1, ARMED) && vista.statusFlags.systemFlag) { ^
Using the latest files, I am getting the following error:
In file included from src/main.cpp:76:0: src/vistaAlarm.h: In member function 'virtual void esphome::vistaECPHome::update()': src/vistaAlarm.h:799:28: error: 'ARMED' was not declared in this scope if (strstr(p1, ARMED) && vista.statusFlags.systemFlag) { ^
Going back to older files, the error disapears.