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
124 stars 21 forks source link

Failure to compile ESPHome code from dev branch. #99

Closed XD36JD2015 closed 1 year ago

XD36JD2015 commented 1 year ago

Unable to compile program from dev branch. Looks like there is a problem in vistaAlarm.h. If I remove the offending part of the code to look like this I can compile and install the program on my ESP:

    //device check status 
    if (promptContains(p1,CHECK,tz)) {

     // if (zones[vista.statusFlags.zone].state != ztrouble)
       //zoneStatusUpdate(vista.statusFlags.zone, "T");
      //zones[vista.statusFlags.zone].time = millis();
      //zones[vista.statusFlags.zone].state = ztrouble;

    } 

Here is the last few lines from the compile log:

logs_VistaAlarm_binary_zone_sensors_run.txt

I am running this on Home Assistant OS using Home Assistant 2023.3.6 with ESP Home 2023.3.2. Let me know if you need more information.

Thanks

Dilbert66 commented 1 year ago

You're right. I missed one file when pushing changes. Should be good now.

XD36JD2015 commented 1 year ago

Thanks for fixing this. Compiles fine now.