<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Node-Red, Sensor Init Failed (i2c-1 error)]]></title><description><![CDATA[<p dir="auto">Hello, good day.</p>
<p dir="auto">I'm trying to get sensor(bme280) in node-red. I installed bme280 node and ı got i2c-1 error.</p>
<p dir="auto">"Sensor Init failed -&gt;Error: ENOENT: no such file or directory, open '/dev/i2c-1'"</p>
<p dir="auto">I search onion docs and found that i2c-0 comes default in device. How do ı set this i2c-1 ? or how do ı show my flow i2c-0<img src="https://i.resmim.net/ViPBq.png" alt="alt text" class="img-responsive img-markdown" /></p>
]]></description><link>http://community.onion.io/topic/4429/node-red-sensor-init-failed-i2c-1-error</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 00:48:15 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4429.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Feb 2021 09:09:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Node-Red, Sensor Init Failed (i2c-1 error) on Thu, 25 Feb 2021 09:09:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello, good day.</p>
<p dir="auto">I'm trying to get sensor(bme280) in node-red. I installed bme280 node and ı got i2c-1 error.</p>
<p dir="auto">"Sensor Init failed -&gt;Error: ENOENT: no such file or directory, open '/dev/i2c-1'"</p>
<p dir="auto">I search onion docs and found that i2c-0 comes default in device. How do ı set this i2c-1 ? or how do ı show my flow i2c-0<img src="https://i.resmim.net/ViPBq.png" alt="alt text" class="img-responsive img-markdown" /></p>
]]></description><link>http://community.onion.io/post/23316</link><guid isPermaLink="true">http://community.onion.io/post/23316</guid><dc:creator><![CDATA[boraertn]]></dc:creator><pubDate>Thu, 25 Feb 2021 09:09:11 GMT</pubDate></item><item><title><![CDATA[Reply to Node-Red, Sensor Init Failed (i2c-1 error) on Thu, 25 Feb 2021 14:21:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/7666">@boraertn</a> I don't have experience with Node Red, but I would expect it has a mechanism for device discovery and/or mapping. This is where I would first look.</p>
<p dir="auto">For a work around to possibly get you up and running before you find the proper solution.</p>
<p dir="auto">ln -s /dev/i2c-0 /dev/i2c-1</p>
<p dir="auto">This create a symlink to the device.</p>
<p dir="auto">You may need to run this each time you restart, so it would be better to put this into a hotplug script. Take a look at this link for more info: <a href="https://openwrt.org/docs/guide-user/base-system/hotplug" rel="nofollow">https://openwrt.org/docs/guide-user/base-system/hotplug</a></p>
<p dir="auto">It's a a hack, not a good solution, but in the absence of better advice you could try this for short term solution to get you going.</p>
]]></description><link>http://community.onion.io/post/23319</link><guid isPermaLink="true">http://community.onion.io/post/23319</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Thu, 25 Feb 2021 14:21:39 GMT</pubDate></item><item><title><![CDATA[Reply to Node-Red, Sensor Init Failed (i2c-1 error) on Fri, 26 Feb 2021 08:40:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6184">@crispyoz</a> thank you for answer. thats solve my problem but temporary.</p>
<p dir="auto">But ı found solution permanent. If bme280 connect correct in omega device and if you install packages i2c packages.</p>
<p dir="auto">in the node-red flow just click your bme280 and change bus 1 to 0. That will change to i2c-0 permanent.</p>
<p dir="auto">how to know bme280 connect correct in omega device ?</p>
<p dir="auto">in terminal write i2cdetect -y 0 if you see 76/77 that's means you connect correct.</p>
]]></description><link>http://community.onion.io/post/23331</link><guid isPermaLink="true">http://community.onion.io/post/23331</guid><dc:creator><![CDATA[boraertn]]></dc:creator><pubDate>Fri, 26 Feb 2021 08:40:36 GMT</pubDate></item><item><title><![CDATA[Reply to Node-Red, Sensor Init Failed (i2c-1 error) on Wed, 11 Aug 2021 21:20:01 GMT]]></title><description><![CDATA[<p dir="auto">If you installed node-red-contrib-bme280 in the config window just change bus# to 0 and it should work. I noticed that i have to reboot each time a new node is installed to see it or make it work.</p>
<p dir="auto"><img src="/assets/uploads/files/1628716797781-capnr.png" alt="Capnr.PNG" class="img-responsive img-markdown" /></p>
]]></description><link>http://community.onion.io/post/23921</link><guid isPermaLink="true">http://community.onion.io/post/23921</guid><dc:creator><![CDATA[jupiter8]]></dc:creator><pubDate>Wed, 11 Aug 2021 21:20:01 GMT</pubDate></item></channel></rss>