Hello! I’m using a Sparkfun QWIIC [HAT, [relay and [temperature sensor on my Raspberry Pi 4.
When first connected, ```
i2cdetect -y 1
![02.PNG|683x279](upload://5GGFmGeCj6K5lu7AtRrZzTly60r.png)
However, at random intervals, the I2C devices stop working, and ```
i2cdetect -y 1
``` shows all addresses as follows:
![01.PNG|671x282](upload://v7qkZCkNCVXqPMIrBLjzQg7AJqq.png)
We use the [[CircuitPython STTS22H](https://circuitpython-stts22h.readthedocs.io/en/latest/) library and [[QWIIC relay library](https://github.com/sparkfun/Qwiic_Relay_Py) to access the sensor and relay.
What I've tried:
<LIST>
<LI>- Replaced the HAT, relay, temp sensor and the Pi 4 with a new device.</LI>
<LI>- Ensured that the HAT is oriented correctly on the Pi.</LI>
<LI>- Made sure nothing is trying to accidentally write to the I2C pins.</LI>
<LI>- Made a new SD card with only the latest Raspbian and nothing else installed</LI>
<LI>- Deactivated and reactivated I2C on the Pi via sudo raspi-config</LI>
<LI>- I've read the existing threads [[here](https://forums.raspberrypi.com/viewtopic.php?t=93222), [[here](https://raspberrypi.stackexchange.com/questions/32719/i2cdetect-shows-every-possible-address), and [[here](https://raspberrypi.stackexchange.com/questions/43224/i2cdetect-shows-all-possible-adresses), but those didn't help me with the issue</LI>
<LI>- Unplugging and replugging one of the I2C devices resolves the problem, but only for a short while. The problem reappears after a few hours.</LI>
<LI>- I asked ChatGPT but it only gave vague answers.</LI>
</LIST>
Having only the temperature sensor connected directly to the I2C pins on the GPIO seems to work fine. So there's either an issue with the QWIIC HAT or the QWIIC relay.
I'm really at a loss here. Any suggestions/ideas what might cause this behavior?
Best,
West](https://raspberrypi.stackexchange.com/questions/43224/i2cdetect-shows-all-possible-adresses)](https://raspberrypi.stackexchange.com/questions/32719/i2cdetect-shows-every-possible-address)](https://forums.raspberrypi.com/viewtopic.php?t=93222)](https://github.com/sparkfun/Qwiic_Relay_Py)](https://circuitpython-stts22h.readthedocs.io/en/latest/)](https://www.sparkfun.com/products/21262)](https://www.sparkfun.com/products/15093)](https://www.sparkfun.com/products/14459)