esp32: board: esp32-c3-devkitm-1 framework: type: esp-idf version: recommended esphome: name: pressure-sensor platformio_options: board_build.flash_mode: dio # If you don't specify this using esp-idf framework, the device will boot-loop. wifi: ssid: !secret wifi_ssid password: !secret wifi_password captive_portal: # Enable logging logger: # Use the ESP32-C3-MINI's native USB port for serial logging. Comment this out if you want to use the pin header. # Seems buggy. hardware_uart: USB_SERIAL_JTAG # Enable Home Assistant API api: ota: i2c: sda: 6 scl: 7 scan: true id: bus_a sensor: - platform: xgzp68xx k_value: 8192 # 8192 for +/- 0.5kPa sensor temperature: name: "press Temperature" pressure: name: "press diff pressure" update_interval: 5s ## Below is needed if you are using a DS18B20 temperature sensor. Otherwise, you can remove # How to find your sensor ID # https://esphome.io/components/one_wire#one-wire - platform: dallas_temp address: 0x9f00000e4a42eb28 # You ned to put your sensor ID in here name: "mysensor" one_wire: - platform: gpio pin: GPIO10