<?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[Port of MySensors Library 1.4 to Raspberry]]></title><description><![CDATA[<p dir="auto">Hi all, I port 1.4 library to Raspberry, it's not complete but is functional, check raspberry repo in github</p>
]]></description><link>https://forum.mysensors.org/topic/490/port-of-mysensors-library-1-4-to-raspberry</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 18:09:48 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/490.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Oct 2014 14:26:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Tue, 17 Feb 2015 09:41:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello Guys ,</p>
<p dir="auto">I am looking to run the rasp pi as gateway+controller with the nrf24 . Please where should i start from does it have any explanation like we have for the arduino s running mysensor  ? .</p>
]]></description><link>https://forum.mysensors.org/post/10277</link><guid isPermaLink="true">https://forum.mysensors.org/post/10277</guid><dc:creator><![CDATA[sharath krishna]]></dc:creator><pubDate>Tue, 17 Feb 2015 09:41:16 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Sat, 03 Jan 2015 18:43:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">Im trying to get my raspberry PI to act like a gateway/controller, where the nodes request an id from the controller. But Im stuck sending back the response to the sensor set message.</p>
<p dir="auto">I have updated the PiGateway.cpp to detect the ID request message, and respond using the parseAndSend function. The sensor node appears to accept the response, and then sends a set message indicating the sensor value. However Im not sure how to respond to this.</p>
<p dir="auto">What do I need send back so that the sensor treats it as success rather than failure?</p>
<p dir="auto">Thanks</p>
<p dir="auto">Kihon</p>
]]></description><link>https://forum.mysensors.org/post/8296</link><guid isPermaLink="true">https://forum.mysensors.org/post/8296</guid><dc:creator><![CDATA[kihon]]></dc:creator><pubDate>Sat, 03 Jan 2015 18:43:02 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Tue, 23 Dec 2014 17:44:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Im working on a MQTT Port for the Pi, based on your work. During debuging, a discovered a strange behavior. If i connect my Sensor to a Arduino-Gateway, everything works well. As soon as i connect the same Sensor to a Pi-Gateway, the Gateway receives the Messages, but on the Sensor-Side, the Logs looks quiet Special:</p>
<p dir="auto"><em>send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=ok:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=ok:55.4<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=ok:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=ok:1<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.4<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.4<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 0-0-20 s=255,c=3,t=8,pt=1,l=1:0<br />
new parent=0, d=1<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=ok:0<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=ok:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=ok:55.4<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:1<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.4<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=ok:55.3<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=ok:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=ok:0<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.3<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:1<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.3<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 0-0-20 s=255,c=3,t=8,pt=1,l=1:0<br />
new parent=0, d=1<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=ok:0<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=ok:97<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=ok:1<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:1<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=ok:0<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=ok:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=ok:55.3<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=ok:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:1<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.3<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.3<br />
send: 20-20-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=ok:96<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=ok:0<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=ok:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.3<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:1<br />
send: 20-20-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:21.1<br />
send: 20-20-0-0 s=2,c=1,t=1,pt=7,l=5,st=fail:55.3<br />
send: 20-20-0-0 s=4,c=1,t=23,pt=7,l=5,st=fail:97<br />
send: 20-20-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0<br />
send: 20-20-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 20-1-255 s=255,c=3,t=7,pt=0,l=0:<br />
read: 0-0-20 s=255,c=3,t=8,pt=1,l=1:0<br />
new parent=0, d=1</em></p>
<p dir="auto">As you can see, there is kind of a Pattern ocouring every 14 Messages starting with 3-4 OK, followed by 7 FAIL and then the Discovery. Any Ideas what the cause ot this behavor could be?</p>
<p dir="auto">Greetings</p>
<p dir="auto">busa</p>
]]></description><link>https://forum.mysensors.org/post/8084</link><guid isPermaLink="true">https://forum.mysensors.org/post/8084</guid><dc:creator><![CDATA[busa]]></dc:creator><pubDate>Tue, 23 Dec 2014 17:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Thu, 27 Nov 2014 16:14:54 GMT]]></title><description><![CDATA[<p dir="auto">Ok, post an issue in github repo. Try to compile using this command "make clean all"</p>
]]></description><link>https://forum.mysensors.org/post/7130</link><guid isPermaLink="true">https://forum.mysensors.org/post/7130</guid><dc:creator><![CDATA[aliasdoc]]></dc:creator><pubDate>Thu, 27 Nov 2014 16:14:54 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Thu, 27 Nov 2014 08:23:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aliasdoc" aria-label="Profile: aliasdoc">@<bdi>aliasdoc</bdi></a> yes, i can :)</p>
<p dir="auto">~/Raspberry $ make<br />
g++ -c -o MyGateway.o MyGateway.cpp -Wall -Ofast -mfpu=vfp -lpthread -g -D__Raspberry_Pi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -Ilibrf24-bcm/<br />
g++ -c -o MySensor.o MySensor.cpp -Wall -Ofast -mfpu=vfp -lpthread -g -D__Raspberry_Pi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -Ilibrf24-bcm/<br />
g++ -c -o MyMessage.o MyMessage.cpp -Wall -Ofast -mfpu=vfp -lpthread -g -D__Raspberry_Pi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -Ilibrf24-bcm/<br />
g++ -c -o PiGateway.o PiGateway.cpp -Wall -Ofast -mfpu=vfp -lpthread -g -D__Raspberry_Pi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -Ilibrf24-bcm/<br />
PiGateway.cpp: In function ‘void setup()’:<br />
PiGateway.cpp:26:88: warning: large integer implicitly truncated to unsigned type [-Woverflow]<br />
g++ -o PiGateway MyGateway.o MySensor.o MyMessage.o PiGateway.o -Wall -Ofast -mfpu=vfp -lpthread -g -D__Raspberry_Pi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -Ilibrf24-bcm/ -lrf24-bcm<br />
MySensor.o: In function <code>MySensor::setupRadio(rf24_pa_dbm_e, unsigned char, rf24_datarate_e)': /home/pi/Raspberry/MySensor.cpp:121: undefined reference to </code>RF24::setPALevel(unsigned char)'<br />
MySensor.o: In function <code>MySensor::sendWrite(unsigned char, MyMessage&amp;, bool)': /home/pi/Raspberry/MySensor.cpp:231: undefined reference to </code>RF24::write(void const*, unsigned char, bool)'<br />
/home/pi/Raspberry/MySensor.cpp:231: undefined reference to <code>RF24::write(void const*, unsigned char, bool)' /home/pi/Raspberry/MySensor.cpp:231: undefined reference to </code>RF24::write(void const*, unsigned char, bool)'<br />
/home/pi/Raspberry/MySensor.cpp:231: undefined reference to <code>RF24::write(void const*, unsigned char, bool)' /home/pi/Raspberry/MySensor.cpp:231: undefined reference to </code>RF24::write(void const*, unsigned char, bool)'<br />
MySensor.o:/home/pi/Raspberry/MySensor.cpp:231: more undefined references to `RF24::write(void const*, unsigned char, bool)' follow<br />
collect2: ld returned 1 exit status<br />
Makefile:18: recipe for target 'PiGateway' failed<br />
make: *** [PiGateway] Error 1</p>
]]></description><link>https://forum.mysensors.org/post/7124</link><guid isPermaLink="true">https://forum.mysensors.org/post/7124</guid><dc:creator><![CDATA[b0rmann]]></dc:creator><pubDate>Thu, 27 Nov 2014 08:23:35 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Wed, 26 Nov 2014 19:16:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/b0rmann" aria-label="Profile: b0rmann">@<bdi>b0rmann</bdi></a> HI, there are no problem with this line, can you post build output.</p>
]]></description><link>https://forum.mysensors.org/post/7116</link><guid isPermaLink="true">https://forum.mysensors.org/post/7116</guid><dc:creator><![CDATA[aliasdoc]]></dc:creator><pubDate>Wed, 26 Nov 2014 19:16:51 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Wed, 26 Nov 2014 19:15:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/busa" aria-label="Profile: busa">@<bdi>busa</bdi></a> hi, <a href="https://github.com/aliasdoc/Raspberry" rel="nofollow ugc">https://github.com/aliasdoc/Raspberry</a></p>
]]></description><link>https://forum.mysensors.org/post/7115</link><guid isPermaLink="true">https://forum.mysensors.org/post/7115</guid><dc:creator><![CDATA[aliasdoc]]></dc:creator><pubDate>Wed, 26 Nov 2014 19:15:06 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Tue, 25 Nov 2014 09:38:24 GMT]]></title><description><![CDATA[<p dir="auto">not functional</p>
<p dir="auto">MySensor.cpp:232: undefined reference to `RF24::write(void const*, unsigned char, bool)'</p>
]]></description><link>https://forum.mysensors.org/post/7087</link><guid isPermaLink="true">https://forum.mysensors.org/post/7087</guid><dc:creator><![CDATA[b0rmann]]></dc:creator><pubDate>Tue, 25 Nov 2014 09:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to Port of MySensors Library 1.4 to Raspberry on Tue, 25 Nov 2014 06:01:01 GMT]]></title><description><![CDATA[<p dir="auto">Perfect!</p>
<p dir="auto">Could you post the Link to the Project?</p>
]]></description><link>https://forum.mysensors.org/post/7081</link><guid isPermaLink="true">https://forum.mysensors.org/post/7081</guid><dc:creator><![CDATA[busa]]></dc:creator><pubDate>Tue, 25 Nov 2014 06:01:01 GMT</pubDate></item></channel></rss>