Second I2C Bus #19799
-
Hi, i have several I2C Sensors which work all fine with tasmota - but due to wiring i need to use a second I2C bus, which seems to be configurable in the pinning configuration (I2C_SDA-1 and -2) But all sensors are only detected in the first bus, never on the second bus. Do i need to configure something else? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Alas, most sensors are currently only supported on one bus. |
Beta Was this translation helpful? Give feedback.
-
Which sensors do you want to use on the second bus? |
Beta Was this translation helpful? Give feedback.
-
it's the iaQ Sensor from AMS, should be number 66 or 68 in the source code.
19.10.2023 14:13:46 Theo Arends ***@***.***>:
…
Which sensors do you want to use on the second bus?
—
Reply to this email directly, view it on GitHub[#19799 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AC6SR35MXNMEXQ7IO24SND3YAEKPTAVCNFSM6AAAAAA6HCSO4GVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGMRWGMZTI].
You are receiving this because you authored the thread.
[Verfolgungsbild][https://github.com/notifications/beacon/AC6SR3Y5KOQUGVMSIKKK2JLYAEKPTA5CNFSM6AAAAAA6HCSO4GWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAN7FH4.gif]
|
Beta Was this translation helpful? Give feedback.
-
Do you use an ESP8266 or an ESP32? |
Beta Was this translation helpful? Give feedback.
-
Try if this driver works |
Beta Was this translation helpful? Give feedback.
-
It's an esp32dev board, the "everything presence one" to be more specific. Thanks, but the new code didn't fixed it, it's still the same issue: iAQ detected in I2C-1 but not on i2c-2. |
Beta Was this translation helpful? Give feedback.
In that case it's good to know it only supports one sensor in total. So on either i2c-1 OR i2c-2
Also the previous driver contained an error. This one should work on bus 2 too (when no sensor is detected on bus 1)
xsns_66_iAQ.zip