I2C ids are wrong in status 10 output

15 views
Skip to first unread message

Khurram

unread,
Apr 17, 2026, 3:51:32 PM (7 days ago) Apr 17
to TasmotaUsers
I have 2 INA219 connected to an ESP32 running 15.3.0 (custom compiled). After setting GPIO22 to I2C SCL and GPIO21 to I2C SDA and restarting the ESP32, I run i2cscan and I get the following output:

I2CScan

"Device(s) found on bus1 at 0x40 0x44"

But running the Status 10 command gives the following output:

{"StatusSNS":{"Time":"2026-04-18T00:48:04","INA219-1":{"Id":40,"Voltage":14.3,"Current":-0.034,"Power":-0.5},"INA219-2":{"Id":41,"Voltage":14.3,"Current":1.296,"Power":18.5}}}

The status 10 output is showing 1 device with id 41. This is very strange.

Philip Knowles

unread,
Apr 20, 2026, 5:04:51 AM (4 days ago) Apr 20
to Khurram, TasmotaUsers
Just to be on the safe side, I would try with a stock bin. If it's the same. It may be that the initial scan put them into different i2c channels and then allowed the same channel to be used.

From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of Khurram <kfha...@gmail.com>
Sent: 17 April 2026 20:51
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: I2C ids are wrong in status 10 output
 
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/sonoffusers/63f51ff2-edda-4669-a85a-c7032ecbc862n%40googlegroups.com.

Khurram

unread,
Apr 22, 2026, 2:19:13 PM (2 days ago) Apr 22
to TasmotaUsers
I tried with the stock firmware but the behavior is the same. The 2nd INA219 has id 44 which is correctly identified by i2cscan. But "Status 10" output shows the id as 41 for the 2nd INA219. I think the INA219 driver is just assuming the ids in sequence which is not always the case.
Reply all
Reply to author
Forward
0 new messages