I am new in Home Assistant. Not so new ( I use it almost 2 years after my Hoobs setup failed). My smart home controls works perfect. But now i am building my setup for RV.
I got resistor type water level meter. For that i bougth 16bit ADC (Amazon.ae).
I am running Home Assistant OS 17.3 on raspberry pi 4. ADC board is connected directly to gpio pins. Installed ESP Home. Trying to add this device:
esphome:
name: rpi-ads1115
host:
mac_address: "06:35:69:ab:f6:79"
# Enable I2C
i2c:
id: i2c-1
sda: GPIO2
scl: GPIO3
scan: True
frequency: 400kHz
timeout: 1000
# Setup the ADS1115 Hub
ads1115:
- address: 0x48
id: ads1115_hub
# Configure sensors
sensor:
- platform: ads1115
ads1115_id: ads1115_hub
multiplexer: 'A0_GND'
gain: 6.144
name: "ADS1115 A0"
Getting error:
INFO ESPHome 2026.4.5
INFO Reading configuration /config/esphome/warlev.yaml...
ERROR Unexpected exception while reading configuration:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/esphome/esphome/main.py", line 2002, in
sys.exit(main())
^^^^^^
File "/esphome/esphome/main.py", line 1993, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 1972, in run_esphome
config = read_config(
^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1347, in read_config
res = load_config(command_line_substitutions, skip_external_update)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1204, in load_config
return _load_config(command_line_substitutions, skip_external_update)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1192, in _load_config
return validate_config(config, command_line_substitutions, skip_external_update)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1110, in validate_config
result.run_validation_steps()
File "/esphome/esphome/config.py", line 202, in run_validation_steps
task.step.run(self)
File "/esphome/esphome/config.py", line 781, in run
validated = schema(self.conf)
^^^^^^^^^^^^^^^^^
File "/esphome/esphome/voluptuous_schema.py", line 37, in call
res = super().call(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 205, in call
return self._compiled(, data)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 276, in _run
return self._exec(self._compiled, value, path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 404, in _exec
v = func(path, v)
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 804, in validate_callable
return schema(data)
^^^^^^^^^^^^
File "/esphome/esphome/voluptuous_schema.py", line 37, in call
res = super().call(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 205, in call
return self._compiled(, data)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 574, in validate_dict
return base_validate(path, data.items(), out)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/voluptuous_schema.py", line 151, in validate_mapping
cval = cvalue(key_path, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 804, in validate_callable
return schema(data)
^^^^^^^^^^^^
File "/esphome/esphome/components/i2c/init.py", line 93, in _bus_declare_type
raise NotImplementedError
NotImplementedError
As i understand, there is issue with my i2c config in the code. I spend 2 days reading and watching so many blogers, but no luck. I hope to find someone, who had this issue here.
Thanks.