Dilbert66 / esphome-dsckeybus

Esphome custom configuration for interfacing to a DSC POWERSERIES alarm system
195 stars 37 forks source link

ESPHome Compiling Error #89

Closed 1gnwld closed 1 year ago

1gnwld commented 1 year ago

Getting the following error when trying to compile in ESPHome. I have downloaded the files from your GitHub repo and uploaded directly into HA. This is the dev version of files.

INFO ESPHome 2023.5.5 INFO Reading configuration /config/esphome/DscAlarm.yaml... WARNING GPIO12 is a Strapping PIN and should be avoided. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins INFO Detected timezone 'America/Chicago' INFO Generating C++ source... INFO Compiling app... Processing dscalarm (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32@5.3.0)

HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash

Dilbert66 commented 1 year ago

Ensure you have this section in your yaml:

time:
 - platform: sntp
   id: sntp_time 
1gnwld commented 1 year ago

I double checked dscalarm.yaml and I do have that entry. I added my yaml file with the password removed. Am I missing something here? dscalarm.txt

Dilbert66 commented 1 year ago

You have commented the "api:" line. That is necessary. Either mqtt or api.

1gnwld commented 1 year ago

DANG IT!! You are right on the money! IT WORKS!!! Thank you!!!