<?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[Read log from serial Gateway on raspberry Pi.]]></title><description><![CDATA[<p dir="auto">I belive I have read the answer to this question somwhere but I cant find the answer now.</p>
<p dir="auto">I have a node with 3st  1-wire sensors. It reported all the way in to Domoticz controller for a couple of hours.<br />
When I hook the node to a coumputer I can see in the serial monitor that it is indeed reading the temp and trying to send it but it reports "Failed".</p>
<p dir="auto">So now I want to read if the SerialGateway is reciving anything at all to see if I can get the problem sorted.</p>
<p dir="auto">//PEter</p>
]]></description><link>https://forum.mysensors.org/topic/2165/read-log-from-serial-gateway-on-raspberry-pi</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 15:23:24 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/2165.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Oct 2015 12:50:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Mon, 12 Oct 2015 17:09:21 GMT]]></title><description><![CDATA[<p dir="auto">TheoL: the screenshot you posted. Is that screen updating every time you receive something?</p>
]]></description><link>https://forum.mysensors.org/post/22717</link><guid isPermaLink="true">https://forum.mysensors.org/post/22717</guid><dc:creator><![CDATA[popunonkok]]></dc:creator><pubDate>Mon, 12 Oct 2015 17:09:21 GMT</pubDate></item><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Mon, 12 Oct 2015 16:19:55 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/uploads/files/1444666739731-mysensorsgateway.jpg" alt="mysensorsgateway.jpg" class="img-markdown  img-fluid" /></p>
<p dir="auto">TheoL: This is the haardware settings.</p>
<p dir="auto">I havent have time to look into the other answers yet.</p>
]]></description><link>https://forum.mysensors.org/post/22709</link><guid isPermaLink="true">https://forum.mysensors.org/post/22709</guid><dc:creator><![CDATA[popunonkok]]></dc:creator><pubDate>Mon, 12 Oct 2015 16:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Sun, 11 Oct 2015 19:03:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popunonkok" aria-label="Profile: popunonkok">@<bdi>popunonkok</bdi></a> said:</p>
<blockquote>
<p dir="auto">Hmm...</p>
<p dir="auto">TheoL: That didnt seem to work. I changed to my USBport, using:</p>
<p dir="auto">sudo cat /dev/ttyUSB0</p>
<p dir="auto">But that just left me "Hanging" so I hade to Quit that command using Ctrl-C.<br />
Im using SSH by the way.</p>
<p dir="auto">Barduino: Are you meaning that you have your gateway on a Mac? Im running Rasbian Wheezy on my Pi.</p>
</blockquote>
<p dir="auto">Screen is a common utility found in most linux distros, I guess Pi isnt one of them</p>
<p dir="auto">I connect my gateway to a computer (mac, windows) and then use node.js to send the messages to a controller.</p>
<p dir="auto">Anyway this <a href="http://playground.arduino.cc/Interfacing/LinuxTTY" rel="nofollow ugc">http://playground.arduino.cc/Interfacing/LinuxTTY</a> is a really good post on how to monitor your usb/serial on a linux</p>
<p dir="auto">The sudo cat /dev/xxxyyyy does not work on my mac but i suspect is because of the baud rate</p>
<p dir="auto">RVB:~ rvb$ sudo cat /dev/cu.usbmodem1411<br />
Password:<br />
s1??~???ےIq~???s1q?^???</p>
<p dir="auto">but with the<br />
RVB:~ rvb$ screen /dev/cu.usbmodem1411 115200<br />
i get</p>
<p dir="auto">0;0;3;0;9;gateway started, id=0, parent=0, distance=0<br />
0;0;3;0;14;Gateway startup complete.</p>
<p dir="auto">Either way make sure you are selecting the correct /dev/xxxyyy device and nothing else is connected to it (serial monitor of the arduino ide etc)</p>
<hr />
<h2>Edit</h2>
<p dir="auto">This is also a good post on how to monitor serial port an PI</p>
<p dir="auto"><a href="http://raspberrypi.stackexchange.com/questions/22181/arduino-serial-port-via-raspberry-pi-ssh" rel="nofollow ugc">http://raspberrypi.stackexchange.com/questions/22181/arduino-serial-port-via-raspberry-pi-ssh</a></p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.mysensors.org/post/22664</link><guid isPermaLink="true">https://forum.mysensors.org/post/22664</guid><dc:creator><![CDATA[barduino]]></dc:creator><pubDate>Sun, 11 Oct 2015 19:03:24 GMT</pubDate></item><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Sun, 11 Oct 2015 18:26:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popunonkok" aria-label="Profile: popunonkok">@<bdi>popunonkok</bdi></a> Could you post the port you've setup in Domoticz. Settings hardware. Then click on the MS gateway and you should be able to see the serial port on which the gateway is working.</p>
<p dir="auto">When I execute the cat command on my USB device,  I see something like this:</p>
<pre><code>theo@domoticz-main ~ $ sudo cat /dev/ttyACM0
0;0;3;0;9;read: 2-2-0 s=1,c=1,t=0,pt=7,l=5,sg=0:19.2
2;1;1;0;0;19.2
0;0;3;0;9;read: 2-2-0 s=2,c=1,t=4,pt=7,l=5,sg=0:1018
2;2;1;0;4;1018
0;0;3;0;9;send: 0-0-9-9 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
0;0;3;0;9;send: 0-0-9-9 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
</code></pre>
]]></description><link>https://forum.mysensors.org/post/22657</link><guid isPermaLink="true">https://forum.mysensors.org/post/22657</guid><dc:creator><![CDATA[TheoL]]></dc:creator><pubDate>Sun, 11 Oct 2015 18:26:33 GMT</pubDate></item><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Sun, 11 Oct 2015 17:03:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popunonkok" aria-label="Profile: popunonkok">@<bdi>popunonkok</bdi></a> said:</p>
<blockquote>
<p dir="auto">sudo cat /dev/ttyUSB0</p>
</blockquote>
<p dir="auto">That works for me, but return some strange data - I assume that his is because the baudrate is wrong.<br />
barbuino posted the "screen" command that is working on a MAC, but I cant find a similar command for the pi - does anyone know that command?</p>
<p dir="auto">/Kurt</p>
]]></description><link>https://forum.mysensors.org/post/22653</link><guid isPermaLink="true">https://forum.mysensors.org/post/22653</guid><dc:creator><![CDATA[Kurtsejr]]></dc:creator><pubDate>Sun, 11 Oct 2015 17:03:02 GMT</pubDate></item><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Sun, 11 Oct 2015 16:41:55 GMT]]></title><description><![CDATA[<p dir="auto">Hmm...</p>
<p dir="auto">TheoL: That didnt seem to work. I changed to my USBport, using:</p>
<p dir="auto">sudo cat /dev/ttyUSB0</p>
<p dir="auto">But that just left me "Hanging" so I hade to Quit that command using Ctrl-C.<br />
Im using SSH by the way.</p>
<p dir="auto">Barduino: Are you meaning that you have your gateway on a Mac? Im running Rasbian Wheezy on my Pi.</p>
<p dir="auto">Hmmm... I really would like to see the RAW serial output from the Gateway.</p>
]]></description><link>https://forum.mysensors.org/post/22651</link><guid isPermaLink="true">https://forum.mysensors.org/post/22651</guid><dc:creator><![CDATA[popunonkok]]></dc:creator><pubDate>Sun, 11 Oct 2015 16:41:55 GMT</pubDate></item><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Sun, 11 Oct 2015 14:10:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popunonkok" aria-label="Profile: popunonkok">@<bdi>popunonkok</bdi></a></p>
<p dir="auto">I'm not sure what flavor of linux the raspberry Pi has, so it may not have all the utilities of a standard one.</p>
<p dir="auto">This works on my mac: screen /dev/cu.usbmodem1421 115200</p>
<p dir="auto"><a href="http://playground.arduino.cc/Interfacing/LinuxTTY" rel="nofollow ugc">Here</a> is an article with several ways to accomplish this</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.mysensors.org/post/22639</link><guid isPermaLink="true">https://forum.mysensors.org/post/22639</guid><dc:creator><![CDATA[barduino]]></dc:creator><pubDate>Sun, 11 Oct 2015 14:10:08 GMT</pubDate></item><item><title><![CDATA[Reply to Read log from serial Gateway on raspberry Pi. on Sun, 11 Oct 2015 14:07:33 GMT]]></title><description><![CDATA[<p dir="auto">Not sure if I understand your question correctly. But the following command shows the serial communication on the Raspberry. I assume you know how to connect to the pi by ssh, or have a keyboard and monitor connected to the pi.</p>
<p dir="auto">sudo cat /dev/ttyACM0</p>
<p dir="auto">(at least that's the port that my USB gateway is using. You can see it in the hardware section of Domoticz)</p>
]]></description><link>https://forum.mysensors.org/post/22638</link><guid isPermaLink="true">https://forum.mysensors.org/post/22638</guid><dc:creator><![CDATA[TheoL]]></dc:creator><pubDate>Sun, 11 Oct 2015 14:07:33 GMT</pubDate></item></channel></rss>