SolarWS icon indicating copy to clipboard operation
SolarWS copied to clipboard

Esphome new names

Open Daafip opened this issue 1 year ago • 0 comments

Thanks for the project! couple changes to the naming: Bme280 = bme280_i2c

and the dallas source has been depreciated:

Failed config

dallas: [source weather_station.yaml:90]

  The "dallas" component has been replaced by the "one_wire" component.
  https://esphome.io/components/one_wire.
  - pin: GPIO4

you should replace the

# Detect Dallas sensor address
dallas:
  - pin: GPIO4

with

one_wire:
  - platform: gpio
    pin: GPIO4

Lastly, the pin 33 is reused, in newer version you need

# ADC platform helps track status of battery
  - platform: adc
    pin: GPIO33

To be

pin:
      number: 33
      allow_other_uses: true

Daafip avatar Mar 02 '25 15:03 Daafip