ESPHome BMP180-al HASSIO-ban

Sziasztok,

Tegnapi bénázásomat folytatandó, szeretnék segítséget kérni egy egyszerű szenzor rendszerbeállításához.
Az alany egy Home Assistant amiben van egy lehetőség ugye image-generálására nodemcu és egyéb lapkákhoz, de nekem sehogy sem megy.

Létrehozok egy yaml fájlt, amiben ez van:

esphome:
name: valami
platform: ESP8266
board: nodemcuv2

wifi:
ssid: "wifi"
password: "jelszo"
platform: bmp085
temperature:
name: "Outside Temperature"
pressure:
name: "Outside Pressure"
update_interval: 20s

i2c:
sda: D1
scl: D2
scan: True
# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

de már az első sornál megáll a validation. Valamit rosszul értelmezek? Nincs egy használható működő példája valakinek?

Hozzászólások

Ez a config jó bár BMP280-al, validálás lefut, de a fordítás leáll hibával. Ezt okozhatja, hogy a HA 64 bites verziója fut a RPI 4-en?

# ESPHomeYAML Configuration
# for Home Assistant and Adafruit IO

substitutions:
device_name: padlas
io_username: mosquitto
io_key: jelszo
update_interval: 30s

esphome:
name: ${device_name}
platform: ESP8266
board: nodemcu

# WiFi Configuration
wifi:
ssid: 'wifi'
password: 'jelszo'
# Uncomment this for Static IP Configuration
#manual_ip:
# Set this to the IP of the ESP
#static_ip: 10.0.0.0
# Set this to the IP address of the router. Often ends with .1
#gateway: 10.0.0.1
# The subnet of the network. 255.255.255.0 works for most home networks.
#subnet: 255.255.255.0

# Adafruit IO MQTT Setup
mqtt:
broker: '192.168.167.201'
username: ${io_username}
password: ${io_key}
topic_prefix: '${io_username}/feeds'
birth_message:
topic: ${io_username}/feeds/status
payload: Online
will_message:
topic: ${io_username}/feeds/status
payload: Offline
log_topic:

# Enable Home Assistant API
api:

# Enable OTA Access
ota:

# Enable verbose logging over serial
logger:

# Create BME Sensor on I2C
i2c:
sda: SDA
scl: SCL
scan: False
#binary_sensor:
# - platform: status
# name: "BME280 Status"
# id: status
# internal: True

sensor:
- platform: bme280
address: 0x77
temperature:
name: "BME280 Temperature"
id: temperature
state_topic: ${io_username}/feeds/temperature
discovery: False
filters: []
pressure:
name: "BME280 Pressure"
id: pressure
state_topic: ${io_username}/feeds/pressure
discovery: False
filters: []
humidity:
name: "BME280 Humidity"
id: humidity
state_topic: ${io_username}/feeds/humidity
discovery: False
filters: []
update_interval: ${update_interval}