I am trying to use a TCA9549A multiplexer to interface 3 HX711 and 5 BME688 to a Adafruit itsyBitsy ESP32 wFL.
I get the following error on compile…
INFO ESPHome 2025.6.0-dev
INFO Reading configuration /config/esphome/wifihivescale.yaml…
ERROR Error while reading config: Invalid YAML syntax:
mapping values are not allowed here
in “/config/esphome/wifihivescale.yaml”, line 64, column 11
line 64 reads: i2c_id: multiplex0channel0
if I comment out the hx711 section: then I get:
[id] is an invalid option for [sensor.bme68x_bsec2]. Please check indentation.
id: bme688_hive33
[i2c_id] is an invalid option for [sensor.bme68x_bsec2]. Please check the indentation.
i2c_id: multiplex0channel1
Are the hx711 and the bme688 not supported by the TCA9548A multiplexer?
Here’s my .yaml:
esphome:
name: wifihivescale
friendly_name: WifiHiveScale
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "xxxx"
ota:
- platform: esphome
password: "xxxx"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
i2c:
id: i2c0
sda: 15
scl: 27
scan: true
tca9548a:
- address: 0x70
id: multiplex0
i2c_id: i2c0
channels:
- bus_id: multiplex0channel0
channel: 0
- bus_id: multiplex0channel1
channel: 1
- bus_id: multiplex0channel2
channel: 2
- bus_id: multiplex0channel3
channel: 3
- bus_id: multiplex0channel4
channel: 4
- bus_id: multiplex0channel5
channel: 5
- bus_id: multiplex0channel6
channel: 6
- bus_id: multiplex0channel7
channel: 7
bme68x_bsec2_i2c:
model: bme688
sample_rate: ULP
state_save_interval: 6h
# Individual I2C Devices
sensor:
- platform: hx711
i2c_id: multiplex0channel0
name: "WifiHiveScale 33"
accuracy_decimals: 1
update_interval: 60s
filters:
- calibrate_linear:
- 120.0 -> 0
- 810.0 -> 1
unit_of_measurement: lb
- platform: bme68x_bsec2
id: "bme688_hive33"
i2c_id: multiplex0channel1
#bme688_bsec_id: bme688_bsec
temperature:
name: "Hive 33 Temp"
id: hive33_temperature
sample_rate: ULP
filters:
- median
humidity:
name: "Hive 33 Humidity"
id: hive33_humidity
sample_rate: ULP
filters:
- median
pressure:
name: "Hive 33 Pressure"
id: hive33_pressure
icon: "mdi:gauge"
sample_rate: ULP
filters:
- median
gas_resistance: # in ohms
name: "Hive 33 Gas Resistance"
id: hive33_gas_resistance
icon: "mdi:omega"
filters:
- median
iaq:
name: “BME688 IAQ”
icon: "mdi:approximately-equal"
filters:
- median