Hi,
I can’t figure out how to solve this problem.
“Recovery: failed, SDA is held low on the bus”
I removed every component and breadboard and now I have only the INA219 (current sensor) connected to the board, with direct jumper wires.
I replaced the nodemcu with a new board, no luck.
I replaced the sensor with a new one, no luck.
thanks in advance for any suggestion!
esp8266:
board: nodemcuv2
(...)
i2c:
sda: D2 #GPIO4
scl: D1 #GPIO5
sensor:
- platform: ina219
address: 0x40
shunt_resistance: 0.1 ohm
power:
name: "$device_name watt"
id: desklamp_power_watt
log:
[02:10:09][C][i2c.arduino:052]: I2C Bus:
[02:10:09][C][i2c.arduino:053]: SDA Pin: GPIO4
[02:10:09][C][i2c.arduino:054]: SCL Pin: GPIO5
[02:10:09][C][i2c.arduino:055]: Frequency: 50000 Hz
[02:10:09][C][i2c.arduino:064]: Recovery: failed, SDA is held low on the bus
[02:10:09][I][i2c.arduino:068]: Results from i2c bus scan:
[02:10:09][E][i2c.arduino:076]: Unknown error at address 0x08
[02:10:09][E][i2c.arduino:076]: Unknown error at address 0x09
[02:10:09][E][i2c.arduino:076]: Unknown error at address 0x0A
(…)
|02:10:09|[C]|[ina219:133]|INA219:|
|02:10:09|[C]|[ina219:134]|Address: 0x40|
|02:10:09|[E]|[ina219:137]|Communication with INA219 failed!|