#nodemcu api_server.cpp.o Error 1

1 messages · Page 1 of 1 (latest)

vapid matrix
#

Hi, I need some help, I am working on this for months now. I am trying to connect to an MCP4725 with an NodeMCU Lua v3 on Homeassistant via ESPhome. This is the nodemcu.yaml, which I get the above error with. Do you have an idea what could be the problem? I appreciate any help. It is a supported integration, to my understanding, but I am not getting the problem.

`esphome:
name: nodemcuv3
includes:

on_boot:
priority: 600
then:
- output.set_level:
id: dac_output
level: 50%

esp8266:
board: nodemcuv2

Enable logging

logger:

Enable Home Assistant API

api:

ota:
password: "...."

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

Enable fallback hotspot (captive portal) in case wifi connection fails

ap:
ssid: "..."
password: "...."

captive_portal:

Set a global i2c connection

i2c:
sda: D2
scl: D1
scan: true

#D1 = SCL (20) -> SCL MCP4725
#D2 = SDA (19) -> SDA MCP4725

Set the output with default (address: 0x60 / global i2c)

output:

  • platform: mcp4725
    id: dac_output
    address: 0x60`