<?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[MySensors Raspberry port suggestions]]></title><description><![CDATA[<p dir="auto">In an attempt to keep mysensors/Raspberry repository in sync with mysensors/Arduino, I started a while ago working on a solution but only recently had time to finish.<br />
I ended up with two approaches:</p>
<p dir="auto">Place the raspberry gateway files in a directory called examples_RPi within the libraries\MySensors folder (more or less like TMRh20/RF24 does)<br />
<a href="https://github.com/marceloaqno/Arduino/tree/raspberry-gateway" rel="nofollow ugc">https://github.com/marceloaqno/Arduino/tree/raspberry-gateway</a></p>
<p dir="auto">or keep the two repos and use git subtree to bind them:<br />
<a href="https://github.com/marceloaqno/Raspberry/tree/experimental" rel="nofollow ugc">https://github.com/marceloaqno/Raspberry/tree/experimental</a></p>
<p dir="auto">What you guys thinks?</p>
<p dir="auto">I'm trying to catch up with new changes into the development branch and thinking of a way to port this into it.</p>
]]></description><link>https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 16:34:01 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/2759.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 09 Jan 2016 16:53:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Mon, 03 Oct 2016 19:28:54 GMT]]></title><description><![CDATA[<p dir="auto">The RPi port was merged into mysensors official repository :tada: (thank you to everyone who helped with this process :clap: ). For future discussion, please use this this <a href="https://forum.mysensors.org/topic/4803/building-a-raspberry-pi-gateway/">topic</a>.</p>
]]></description><link>https://forum.mysensors.org/post/49360</link><guid isPermaLink="true">https://forum.mysensors.org/post/49360</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Mon, 03 Oct 2016 19:28:54 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Mon, 03 Oct 2016 15:37:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ericvdb" aria-label="Profile: ericvdb">@<bdi>ericvdb</bdi></a> In any type of pin configuration for the RPi, always use the physical pin number.</p>
]]></description><link>https://forum.mysensors.org/post/49330</link><guid isPermaLink="true">https://forum.mysensors.org/post/49330</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Mon, 03 Oct 2016 15:37:52 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Mon, 03 Oct 2016 09:57:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a> said:</p>
<blockquote>
<p dir="auto"><strong>Update</strong>: Added support for status leds (RX/TX/ERR), you can enable it in examples_linux/mysGateway.cpp file.</p>
</blockquote>
<p dir="auto">// Flash leds on rx/tx/err<br />
//#define MY_DEFAULT_ERR_LED_PIN 12  // Error LED pin<br />
//#define MY_DEFAULT_RX_LED_PIN  16  // Receive LED pin<br />
//#define MY_DEFAULT_TX_LED_PIN  18  // Transmit LED pin</p>
<p dir="auto">What do I put there? RPi pin numbers or GPIO numbers?</p>
]]></description><link>https://forum.mysensors.org/post/49309</link><guid isPermaLink="true">https://forum.mysensors.org/post/49309</guid><dc:creator><![CDATA[ericvdb]]></dc:creator><pubDate>Mon, 03 Oct 2016 09:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 02 Oct 2016 19:12:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ericvdb" aria-label="Profile: ericvdb">@<bdi>ericvdb</bdi></a> update your files from mysensors repository, this was fixed in <a href="https://github.com/mysensors/MySensors/pull/594/commits/5b552d9e3eab369e98c9cfcd0bd3a29ae649c800" rel="nofollow ugc">#594</a></p>
]]></description><link>https://forum.mysensors.org/post/49260</link><guid isPermaLink="true">https://forum.mysensors.org/post/49260</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Sun, 02 Oct 2016 19:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 02 Oct 2016 15:32:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a></p>
<p dir="auto">what am I doing wrong here?</p>
<pre><code>root@raspberrypi:/downloads/MySensors# ./configure --my-gateway=mqtt --my-mqtt-client-id=msgw --my-mqtt-publish-topic-prefix=mspub --my-mqtt-subscribe-topic-prefix=mssub --my-controller-ip-address=10.0.10.4 --my-port=1883
[SECTION] Detecting target machine.
[OK] machine detected: SoC=BCM2835, Type=RPi, CPU=armv6l, REV=000d.
[OK] init system detected: systemd
[SECTION] Saving configuration.
[SECTION] Cleaning previous builds.
[OK] Finished.
root@raspberrypi:/downloads/MySensors# make
cc  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/log.o drivers/Linux/log.c
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/noniso.o drivers/Linux/noniso.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/Print.o drivers/Linux/Print.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/EthernetClient.o drivers/Linux/EthernetClient.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/SerialPort.o drivers/Linux/SerialPort.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/Stream.o drivers/Linux/Stream.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/IPAddress.o drivers/Linux/IPAddress.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/compatibility.o drivers/Linux/compatibility.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o drivers/Linux/EthernetServer.o drivers/Linux/EthernetServer.cpp
g++ -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -DMY_PORT=1883 -DMY_CONTROLLER_IP_ADDRESS=10,0,10,4 -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX=\"mssub\" -DMY_MQTT_PUBLISH_TOPIC_PREFIX=\"mspub\" -DMY_MQTT_CLIENT_ID=\"msgw\"  -I. -I./core -I./drivers/Linux -I./drivers/RPi -MMD -c -o examples_linux/mysGateway.o examples_linux/mysGateway.cpp
In file included from ./MySensors.h:287:0,
                 from examples_linux/mysGateway.cpp:60:
./core/MyTransport.cpp: In function âvoid transportProcessMessage()â:
./core/MyTransport.cpp:535:61: error: no matching function for call to âmin(uint8_t, unsigned int)â
  const uint8_t msgLength = min(mGetLength(_msg), MAX_PAYLOAD);
                                                             ^
./core/MyTransport.cpp:535:61: note: candidates are:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from examples_linux/mysGateway.cpp:20:
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note: template&lt;class _Tp, class _Compare&gt; const _Tp&amp; std::min(const _Tp&amp;, const _Tp&amp;, _Compare)
     min(const _Tp&amp; __a, const _Tp&amp; __b, _Compare __comp)
     ^
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note:   template argument deduction/substitution failed:
In file included from ./MySensors.h:287:0,
                 from examples_linux/mysGateway.cpp:60:
./core/MyTransport.cpp:535:61: note:   deduced conflicting types for parameter âconst _Tpâ (âunsigned charâ and âunsigned intâ)
  const uint8_t msgLength = min(mGetLength(_msg), MAX_PAYLOAD);
                                                             ^
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from examples_linux/mysGateway.cpp:20:
/usr/include/c++/4.9/bits/stl_algobase.h:194:5: note: template&lt;class _Tp&gt; const _Tp&amp; std::min(const _Tp&amp;, const _Tp&amp;)
     min(const _Tp&amp; __a, const _Tp&amp; __b)
     ^
/usr/include/c++/4.9/bits/stl_algobase.h:194:5: note:   template argument deduction/substitution failed:
In file included from ./MySensors.h:287:0,
                 from examples_linux/mysGateway.cpp:60:
./core/MyTransport.cpp:535:61: note:   deduced conflicting types for parameter âconst _Tpâ (âunsigned charâ and âunsigned intâ)
  const uint8_t msgLength = min(mGetLength(_msg), MAX_PAYLOAD);
                                                             ^
./core/MyTransport.cpp: In function âbool transportSendWrite(uint8_t, MyMessage&amp;)â:
./core/MyTransport.cpp:826:82: error: no matching function for call to âmin(unsigned int, const uint8_t&amp;)â
  bool result = transportSend(to, &amp;message, min(MAX_MESSAGE_LENGTH, totalMsgLength));
                                                                                  ^
./core/MyTransport.cpp:826:82: note: candidates are:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from examples_linux/mysGateway.cpp:20:
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note: template&lt;class _Tp, class _Compare&gt; const _Tp&amp; std::min(const _Tp&amp;, const _Tp&amp;, _Compare)
     min(const _Tp&amp; __a, const _Tp&amp; __b, _Compare __comp)
     ^
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note:   template argument deduction/substitution failed:
In file included from ./MySensors.h:287:0,
                 from examples_linux/mysGateway.cpp:60:
./core/MyTransport.cpp:826:82: note:   deduced conflicting types for parameter âconst _Tpâ (âunsigned intâ and âuint8_t {aka unsigned char}â)
  bool result = transportSend(to, &amp;message, min(MAX_MESSAGE_LENGTH, totalMsgLength));
                                                                                  ^
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from examples_linux/mysGateway.cpp:20:
/usr/include/c++/4.9/bits/stl_algobase.h:194:5: note: template&lt;class _Tp&gt; const _Tp&amp; std::min(const _Tp&amp;, const _Tp&amp;)
     min(const _Tp&amp; __a, const _Tp&amp; __b)
     ^
/usr/include/c++/4.9/bits/stl_algobase.h:194:5: note:   template argument deduction/substitution failed:
In file included from ./MySensors.h:287:0,
                 from examples_linux/mysGateway.cpp:60:
./core/MyTransport.cpp:826:82: note:   deduced conflicting types for parameter âconst _Tpâ (âunsigned intâ and âuint8_t {aka unsigned char}â)
  bool result = transportSend(to, &amp;message, min(MAX_MESSAGE_LENGTH, totalMsgLength));
                                                                                  ^
Makefile:46: recipe for target 'examples_linux/mysGateway.o' failed
make: *** [examples_linux/mysGateway.o] Error 1
root@raspberrypi:/downloads/MySensors#
</code></pre>
]]></description><link>https://forum.mysensors.org/post/49205</link><guid isPermaLink="true">https://forum.mysensors.org/post/49205</guid><dc:creator><![CDATA[ericvdb]]></dc:creator><pubDate>Sun, 02 Oct 2016 15:32:40 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sat, 01 Oct 2016 15:09:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wergeld" aria-label="Profile: wergeld">@<bdi>wergeld</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wergeld" aria-label="Profile: wergeld">@<bdi>wergeld</bdi></a> I updated the building instructions:<br />
<a href="https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/26">https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/26</a></p>
</blockquote>
<p dir="auto">Success! Upgraded to Jessie and build worked fine. Now to reconnect my radio to the RPi pins directly to test.</p>
</blockquote>
<p dir="auto">Okay, using an RPi2B upgraded to Jessie from Wheezy I have successfully built and set the mysGateway as a daemon. My configuration was:</p>
<pre><code>./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSBMySensorsGateway --my-rf24-pa-level=RF24_PA_LOW
</code></pre>
<p dir="auto">This was immediately available in Domoticz under Hardware.  I re-added the 2 nodes and away I went!</p>
<p dir="auto">Full command list:</p>
<pre><code>git clone https://github.com/marceloaqno/MySensors.git
cd MySensors
./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSBMySensorsGateway --my-rf24-pa-level=RF24_PA_LOW
make
sudo make install
sudo mysGateway -b
</code></pre>
<p dir="auto">In Domoticz it lists this gateway as running:<br />
MySensors Gateway USB<br />
Version: 2.0.1-beta</p>
<p dir="auto">So far very happy with this setup. No wires and no extra arduino needed for serial gateway. Just the NRF+RPi interfacing via:<br />
<a href="https://www.openhardware.io/view/100/Raspberry-PI-NRF24l01-hat" rel="nofollow ugc">https://www.openhardware.io/view/100/Raspberry-PI-NRF24l01-hat</a></p>
]]></description><link>https://forum.mysensors.org/post/49102</link><guid isPermaLink="true">https://forum.mysensors.org/post/49102</guid><dc:creator><![CDATA[wergeld]]></dc:creator><pubDate>Sat, 01 Oct 2016 15:09:42 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Thu, 29 Sep 2016 01:13:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wergeld" aria-label="Profile: wergeld">@<bdi>wergeld</bdi></a> I updated the building instructions:<br />
<a href="https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/26">https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/26</a></p>
</blockquote>
<p dir="auto">Success! Upgraded to Jessie and build worked fine. Now to reconnect my radio to the RPi pins directly to test.</p>
]]></description><link>https://forum.mysensors.org/post/48928</link><guid isPermaLink="true">https://forum.mysensors.org/post/48928</guid><dc:creator><![CDATA[wergeld]]></dc:creator><pubDate>Thu, 29 Sep 2016 01:13:43 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Wed, 28 Sep 2016 20:21:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wergeld" aria-label="Profile: wergeld">@<bdi>wergeld</bdi></a> I updated the building instructions:<br />
<a href="https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/26">https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/26</a></p>
]]></description><link>https://forum.mysensors.org/post/48916</link><guid isPermaLink="true">https://forum.mysensors.org/post/48916</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Wed, 28 Sep 2016 20:21:52 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Wed, 28 Sep 2016 19:06:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hawk_2050" aria-label="Profile: hawk_2050">@<bdi>hawk_2050</bdi></a> thanks for the reminder! I recalled it was somehow configurable, but I forgot it was through . /configure options. I'll try after getting pir working also.</p>
]]></description><link>https://forum.mysensors.org/post/48902</link><guid isPermaLink="true">https://forum.mysensors.org/post/48902</guid><dc:creator><![CDATA[ikkeT]]></dc:creator><pubDate>Wed, 28 Sep 2016 19:06:22 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Wed, 28 Sep 2016 17:56:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wergeld" aria-label="Profile: wergeld">@<bdi>wergeld</bdi></a> I'm not sure why you are having this error, perhaps your version of gcc it's old? Did you try to update it?<br />
You can skip the installation of TMRh20/RF24, it is no longer necessary to build RPi port.</p>
</blockquote>
<p dir="auto">I have tried to update gcc but apt-get says it is already at latest version. I am upgrading to Jessie now as it has gcc 4.9 (I was running Wheezy with gcc 4.6).<br />
Is there an updated build instruction set? I am planning on using this as a serial gateway with Domoticz on same RPi.</p>
]]></description><link>https://forum.mysensors.org/post/48892</link><guid isPermaLink="true">https://forum.mysensors.org/post/48892</guid><dc:creator><![CDATA[wergeld]]></dc:creator><pubDate>Wed, 28 Sep 2016 17:56:05 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Wed, 28 Sep 2016 17:42:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wergeld" aria-label="Profile: wergeld">@<bdi>wergeld</bdi></a> I'm not sure why you are having this error, perhaps your version of gcc it's old? Did you try to update it?<br />
You can skip the installation of TMRh20/RF24, it is no longer necessary to build RPi port.</p>
]]></description><link>https://forum.mysensors.org/post/48890</link><guid isPermaLink="true">https://forum.mysensors.org/post/48890</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Wed, 28 Sep 2016 17:42:45 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Wed, 28 Sep 2016 15:33:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a> I have been trying to build this out by first building the RF24 library using the following:</p>
<pre><code>git clone https://github.com/TMRh20/RF24.git
cd RF24
make
sudo make install
</code></pre>
<p dir="auto">However, this fails on the <code>make</code> command:</p>
<pre><code>Makefile:17: Makefile.inc: No such file or directory
[Running configure]
[SECTION] Detecting arm compilation environment.
  [OK] arm-linux-gnueabihf-gcc detected.
  [OK] arm-linux-gnueabihf-g++ detected.
[SECTION] Detecting target machine.
[OK] machine detected: SoC=BCM2836, Type=RPi2, CPU=armv7l.
[SECTION] Detecting DRIVER
  [OK] DRIVER detected:RPi.
[SECTION] Detecting OS.
  [INFO] OS detected:LINUX.
[SECTION] Preparing configuration.
[SECTION] Saving configuration.
[OK] Finished.
arm-linux-gnueabihf-g++ -fPIC -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -Ofast -Wall -pthread  -c RF24.cpp
cc1plus: error: bad value (cortex-a7) for -mtune switch
Makefile:40: recipe for target 'RF24.o' failed
make: *** [RF24.o] Error 1
</code></pre>
<p dir="auto">I am not sure what to do here. Looks like the gcc does not support the cortex-a7? I am trying to run this on my RPi 2 B.</p>
]]></description><link>https://forum.mysensors.org/post/48879</link><guid isPermaLink="true">https://forum.mysensors.org/post/48879</guid><dc:creator><![CDATA[wergeld]]></dc:creator><pubDate>Wed, 28 Sep 2016 15:33:53 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Tue, 27 Sep 2016 23:52:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ikket" aria-label="Profile: ikkeT">@<bdi>ikkeT</bdi></a> you can build the Raspberry Pi mysGateway as either Serial, Ethernet or MQTT by using appropriate commandline parameters with the configure script. Just do ./configure --help and you'll get a list of all the options available. Once you've chosen your options and run configure then you 'make'. An example of a set of options that will generate an MQTT Gateway is:<br />
./configure --my-debug=enable --my-gateway=mqtt --my-rf24-channel=100 --my-rf24-pa-level=RF24_PA_LOW --my-controller-ip-address=127,0,0,1 --my-port=1883<br />
--my-mqtt-client-id=MyGW2 --my-mqtt-publish-topic-prefix="MyGW2out" --my-mqtt-subscribe-topic-prefix="MyGW2in"</p>
<p dir="auto">In this case my MQTT Broker is Mosquitto and is on the same Raspberry Pi hence the use of 127,0,0,1 for the specified --my-controller-ip-address. Change that as appropriate to your intended setup.</p>
<p dir="auto">Hope that helps.</p>
]]></description><link>https://forum.mysensors.org/post/48814</link><guid isPermaLink="true">https://forum.mysensors.org/post/48814</guid><dc:creator><![CDATA[hawk_2050]]></dc:creator><pubDate>Tue, 27 Sep 2016 23:52:27 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Tue, 27 Sep 2016 21:21:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ikket" aria-label="Profile: ikkeT">@<bdi>ikkeT</bdi></a> I haven't tried but using nodered should be fairly simple and very flexible. This discussion might be useful: <a href="https://forum.mysensors.org/topic/2802/flow-to-turn-serialgateway-into-mqtt-serialgateway/">https://forum.mysensors.org/topic/2802/flow-to-turn-serialgateway-into-mqtt-serialgateway/</a></p>
]]></description><link>https://forum.mysensors.org/post/48809</link><guid isPermaLink="true">https://forum.mysensors.org/post/48809</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Tue, 27 Sep 2016 21:21:36 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Tue, 27 Sep 2016 21:07:19 GMT]]></title><description><![CDATA[<p dir="auto">Continuing the learning here, new questions... Thanks so far, I've now got the temp/hum/door messages sent and received from sensebender micro to raspi2. The next thing I would like to do is to send the messages as mqtt to the next box hosting some controller.</p>
<p dir="auto">How to get the mysGateway to send the stuff forward as mqtt? I tried to look into Makefile, MyConfig.h and such, but didn't quite figure out yet how to do that. Any pointers?</p>
<p dir="auto">So I'd like to have the following: sensebender -&gt; radio -&gt; raspi2 -&gt; some box hosting the controller. Perhaps even outside of home, so routable traffic e.g. to <a href="http://OpenShift.com" rel="nofollow ugc">OpenShift.com</a>.</p>
<p dir="auto">Should I now somehow configure and build mysGateway to send stuff as MQTT, or pipe the traffic somehow to mqtt like mosqitto? How is this normally done if the controller server is not running on the gateway Raspi?</p>
<p dir="auto">Thanks for the patience, I'm just getting into all this interesting stuff :)</p>
]]></description><link>https://forum.mysensors.org/post/48806</link><guid isPermaLink="true">https://forum.mysensors.org/post/48806</guid><dc:creator><![CDATA[ikkeT]]></dc:creator><pubDate>Tue, 27 Sep 2016 21:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Mon, 26 Sep 2016 20:53:26 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Update</strong>: Added support for status leds (RX/TX/ERR), you can enable it in examples_linux/mysGateway.cpp file.</p>
]]></description><link>https://forum.mysensors.org/post/48714</link><guid isPermaLink="true">https://forum.mysensors.org/post/48714</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Mon, 26 Sep 2016 20:53:26 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Mon, 26 Sep 2016 16:41:43 GMT]]></title><description><![CDATA[<p dir="auto">OK, then I just screwed up something. Thanks for the info, so I know I can do this also with my old raspi one day.</p>
]]></description><link>https://forum.mysensors.org/post/48693</link><guid isPermaLink="true">https://forum.mysensors.org/post/48693</guid><dc:creator><![CDATA[ikkeT]]></dc:creator><pubDate>Mon, 26 Sep 2016 16:41:43 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 25 Sep 2016 21:59:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ikket" aria-label="Profile: ikkeT">@<bdi>ikkeT</bdi></a> it should also work for Raspi1, I got one running fine here.</p>
]]></description><link>https://forum.mysensors.org/post/48600</link><guid isPermaLink="true">https://forum.mysensors.org/post/48600</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Sun, 25 Sep 2016 21:59:01 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 25 Sep 2016 20:05:04 GMT]]></title><description><![CDATA[<p dir="auto">Yahooo! It works, finally. I bet my problem was Raspi1 all along. I never realized the pinouts in github were for raspi with 40 pins, b+/2/3. Thanks!</p>
]]></description><link>https://forum.mysensors.org/post/48579</link><guid isPermaLink="true">https://forum.mysensors.org/post/48579</guid><dc:creator><![CDATA[ikkeT]]></dc:creator><pubDate>Sun, 25 Sep 2016 20:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 25 Sep 2016 19:02:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ikket" aria-label="Profile: ikkeT">@<bdi>ikkeT</bdi></a> yes, these are the default pins.<br />
(SCK = 23, MISO = 21, MOSI = 19, CS = 24, CE = 22)</p>
]]></description><link>https://forum.mysensors.org/post/48577</link><guid isPermaLink="true">https://forum.mysensors.org/post/48577</guid><dc:creator><![CDATA[marceloaqno]]></dc:creator><pubDate>Sun, 25 Sep 2016 19:02:00 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 25 Sep 2016 18:53:10 GMT]]></title><description><![CDATA[<p dir="auto">So this 1.6 pinout would still apply? <a href="https://forum.mysensors.org/topic/2437/step-by-step-procedure-to-connect-the-nrf24l01-to-the-gpio-pins-and-use-the-raspberry-as-a-serial-gateway-mysensors-1-x">https://forum.mysensors.org/topic/2437/step-by-step-procedure-to-connect-the-nrf24l01-to-the-gpio-pins-and-use-the-raspberry-as-a-serial-gateway-mysensors-1-x</a></p>
<p dir="auto"><img src="https://forum.mysensors.org/uploads/files/1448223387663-raspi_mysensors-1.png" alt="pinout" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mysensors.org/post/48575</link><guid isPermaLink="true">https://forum.mysensors.org/post/48575</guid><dc:creator><![CDATA[ikkeT]]></dc:creator><pubDate>Sun, 25 Sep 2016 18:53:10 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 25 Sep 2016 18:47:53 GMT]]></title><description><![CDATA[<p dir="auto">No, looking it again, it's vice versa, so yours is for Raspi2, right?</p>
]]></description><link>https://forum.mysensors.org/post/48574</link><guid isPermaLink="true">https://forum.mysensors.org/post/48574</guid><dc:creator><![CDATA[ikkeT]]></dc:creator><pubDate>Sun, 25 Sep 2016 18:47:53 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Sun, 25 Sep 2016 18:42:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a> , I assume your link for the wiring pinout behind the link is for Raspi 1 A+ with 26 pin header? Or for which version?</p>
<p dir="auto">I'd like to try this with raspi 2 B, would you have instructions how to wire it?</p>
<p dir="auto">Raspi2:<br />
<img src="https://az835927.vo.msecnd.net/sites/iot/Resources/images/PinMappings/RP2_Pinout.png" alt="raspi2 pinout" class=" img-fluid img-markdown" /><br />
Raspi1:<br />
<img src="https://3.bp.blogspot.com/-UwGeghBf5fs/VsHjrAenToI/AAAAAAAABw0/6236RMTTD58/s640/raspberry-pi-15.jpg" alt="raspi1 pinout" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.mysensors.org/post/48573</link><guid isPermaLink="true">https://forum.mysensors.org/post/48573</guid><dc:creator><![CDATA[ikkeT]]></dc:creator><pubDate>Sun, 25 Sep 2016 18:42:20 GMT</pubDate></item><item><title><![CDATA[Reply to MySensors Raspberry port suggestions on Fri, 16 Sep 2016 21:25:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marceloaqno" aria-label="Profile: marceloaqno">@<bdi>marceloaqno</bdi></a> Up to you. I don't mind giving it a shot, if I send you the pcb alone it will fit in a regular letter and should not even have to go through customs etc. Worst case scenario it won't reach you.</p>
]]></description><link>https://forum.mysensors.org/post/47844</link><guid isPermaLink="true">https://forum.mysensors.org/post/47844</guid><dc:creator><![CDATA[emc2]]></dc:creator><pubDate>Fri, 16 Sep 2016 21:25:17 GMT</pubDate></item></channel></rss>