Hello guys,im working on a wemos D1 with one bmp280 sensor and trying to add an illuminance sensor today,my sensor is working properly with the home assistant but when i try to upload the new file the esphome cant resolve the ip adress,so i just compile it to a bin then flashed it on the wemos and the sensors were working great,then i wanted to see if the OTA programming was resolved but still goes with the same error,when litterally the sensor is online on the system and tranferring data,why i cant upload?
esphome:
name: my_first_sensors
platform: ESP8266
board: d1_mini
wifi:
ssid: "SALONI"
password: "*************"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "SALONI"
password: "************"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
i2c:
sda: D2
scl: D1
scan: False
id: bus_a
sensor:
- platform: bmp280
i2c_id: bus_a
temperature:
name: "BMP280 Temperature"
id: bmp280_temperature
oversampling: 16x
filters:
- offset: -1.6
pressure:
name: "BMP280 Pressure"
id: bmp280_pressure
oversampling: 16x
filters:
- offset: 14.3
address: 0x76
- platform: adc
pin: A0
name: "TEMT6000 Illuminance"
unit_of_measurement: lx
filters:
- lambda: |-
return (x / 10000.0) * 2000000.0;
update_interval: 5s
- platform: wifi_signal
name: "WiFi Signal Sensor"
update_interval: 60s