# Is node-red causing this i2c problem

**URL:** https://discourse.nodered.org/t/is-node-red-causing-this-i2c-problem/31709
**Category:** General
**Created:** [18 August 2020 23:14 UTC](https://discourse.nodered.org/t/is-node-red-causing-this-i2c-problem/31709 "2020-08-18T23:14:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Peter\_Truman](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Peter\_Truman](https://discourse.nodered.org/u/Peter_Truman)
#### Post date: [18 August 2020 23:14 UTC](https://discourse.nodered.org/t/is-node-red-causing-this-i2c-problem/31709/1 "2020-08-18T23:14:14Z")

</div>

Hi - I wonder if anyone can offer any insight into this problem?

Pi 4B, Raspbian 10 (buster)  
From a fresh reboot  
i2cdetect -y 1 (see pic)  
Start Node-Red (and do nothing else - I don't have any i2c nodes installed)  
i2cdetect - y 1 (second half of the pic)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/f/4f1f09df7a4a7c0670c5de8d8a9a6b5599a4b339.png)

It seems Node-Red is ? corrupting the bus maybe

I have a python scrip that interacts with the i2c bus - works before I start Node-Red but won't work afterwards.

I'm also unable to stop Node-Red from the command line  
node-red-stop  
Just sits there having made no apparent change (browser page still works)

Likewise  
node-red-log doesn't do anything either.

I've been unable to get the i2c nodes to work at all in Node\_Red

I suspect I have stuffed up the node-red installation somewhere.

Any advice appreciated.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [18 August 2020 23:44 UTC](https://discourse.nodered.org/t/is-node-red-causing-this-i2c-problem/31709/2 "2020-08-18T23:44:33Z")

</div>

Some ideas here:

> <https://raspberrypi.stackexchange.com/questions/32719/i2cdetect-shows-every-possible-address>

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 August 2020 07:27 UTC](https://discourse.nodered.org/t/is-node-red-causing-this-i2c-problem/31709/3 "2020-08-19T07:27:44Z")

</div>

How did you install node-red? The recommended method is described at [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi). If you did not do that then I recommend running the script, it will ensure you have a consistent set of tools. It should not be necessary to uninstall anything first (assuming you have not done anything too unusual) and it should not overwrite your existing flows, though if they are important then no doubt you have a backup anyway.

If you did do that how are you starting node-red?  
Also what do you see in the terminal if you run

```auto
node-red-stop
node-red-start

```

Use the `</>` button to paste the text in.

---

<div class="post-metadata">

### Author: ![Peter\_Truman](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Peter\_Truman](https://discourse.nodered.org/u/Peter_Truman)
#### Post date: [19 August 2020 22:52 UTC](https://discourse.nodered.org/t/is-node-red-causing-this-i2c-problem/31709/4 "2020-08-19T22:52:21Z")

</div>

Ok - good progress. I started with a completely fresh SD card (buster)  
updated everything as standard  
ran i2cdetect and found all 4 parts  
started node-red  
ran i2cdetect again - same 4 parts found (this is where is went wrong origionally)  
ran the browser with a simple i2cscan node

and that produced the expected results  
All I need to do now is figure out how to actually communicate with these parts 🙂

Thanks for your help - I'll post my progress for future reference in case anyone else runs into the same problem.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 October 2020 22:52 UTC](https://discourse.nodered.org/t/is-node-red-causing-this-i2c-problem/31709/5 "2020-10-18T22:52:22Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
