<?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[Built an Ethernet gateway to connect with openluup running on RPI3 couple of issues]]></title><description><![CDATA[<p dir="auto">Using a uno R3 + W5100 Ethernet Shield + nRF24L01 Wireless Module w / PA and LNA + Mysensors Library 2.0.  Once I'd found and removed the short circuit against the card slot on the w5100 connected the radio and sorted out a reserved i/p address the gateway gets up and running ok.  I've created a Mysensors device on the openluup (using altui) - plug in version 1.5 (cant find anything later) with the correct i/p address and reloaded luup.</p>
<p dir="auto">When it reloads it goes into a loop of multiple reloads - today it was 9 cycles of reload   Luup always exiting with 42 because of a request by <em>system</em> here the last part of the lualog</p>
<p dir="auto">2016-11-06 15:04:52.855   luup_log:16: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 2.0.0, 16<br />
2016-11-06 15:04:52.855   openLuup.server:: /data_request?id=reload tcp{client}: 0xed8448<br />
2016-11-06 15:04:52.856   openLuup.server:: /data_request?id=lu_status2&amp;output_format=json&amp;DataVersion=390112047&amp;Timeout=60&amp;MinimumDelay=1500&amp;_=1478428014656 tcp{client}: 0xd1a630<br />
2016-11-06 15:04:52.856   openLuup.luup:0: device 0 '<em>system</em>' requesting reload<br />
2016-11-06 15:04:52.857   luup.reload:0: saving user_data<br />
2016-11-06 15:04:53.035   openLuup.luup:0: exiting with code 42 - after 0.0 hours</p>
<p dir="auto">All the logs 1-5 are identical.  This stimulates an immediate complaint from "wunderground"  " API usage alert" requests 18 within the last minute</p>
<p dir="auto">In the serial monitor of the Arduino I see 9 times in this case</p>
<p dir="auto">0;255;3;0;9;Eth Connect<br />
0;255;3;0;9;Eth 0;0;3;0;2;GetVersion<br />
0;255;3;0;9;Eth<br />
0;255;3;0;9;Eth Disconnect</p>
<p dir="auto">After that it settles down - if I click start inclusion on the Arduino plugin in altUi I get</p>
<p dir="auto">0;255;3;0;9;Eth 0;0;3;0;0;5;1<br />
0;255;3;0;9;Eth</p>
<p dir="auto">I'm assuming that this is ok but I am waiting for a couple of nano's to arrive and I have nothing to include atm</p>
<p dir="auto">If I break the connection - Either by disconnecting the Ethernet cable or restarting the Arduino I have to reload openluup to re-establish connection and it goes into the reload cycle</p>
<p dir="auto">Does anybody Have any idea what is happening and how I can get rid of the multiple reloads of Luup</p>
<p dir="auto">Thanks</p>
<p dir="auto">Nik</p>
]]></description><link>https://forum.mysensors.org/topic/5249/built-an-ethernet-gateway-to-connect-with-openluup-running-on-rpi3-couple-of-issues</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 06:58:56 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/5249.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Nov 2016 15:50:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Built an Ethernet gateway to connect with openluup running on RPI3 couple of issues on Tue, 08 Nov 2016 09:07:57 GMT]]></title><description><![CDATA[<p dir="auto">Just an Update</p>
<p dir="auto">Well after lots of trials it does look like this is in the AltUi plugin in OpenLuup, stopping Openluup with</p>
<p dir="auto">http://RPI_IP:3480/data_request?id=exit</p>
<p dir="auto">and then SSHing into the pi and reloading it with</p>
<p dir="auto">./openluup_reload</p>
<p dir="auto">connects to the Arduino gateway without a problem and without the multiple reload of Luup.</p>
<p dir="auto">Clicking "Reload Luup Engine" from the misc menu in AltUi always results in multiple reloads 5-10  times.</p>
<p dir="auto">Changing an attribute of a device in AltUi prompts a single reload of Luup again connecting with the Arduino gateway fine without the multiple reload cycles</p>
<p dir="auto">regards</p>
<p dir="auto">Nik</p>
]]></description><link>https://forum.mysensors.org/post/51984</link><guid isPermaLink="true">https://forum.mysensors.org/post/51984</guid><dc:creator><![CDATA[Galaxynik]]></dc:creator><pubDate>Tue, 08 Nov 2016 09:07:57 GMT</pubDate></item></channel></rss>