<?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[Gateway setup for MCv2 using MySensors]]></title><description><![CDATA[<p dir="auto">This question demonstrated just how much I don't know, but I am not able to get a gateway setup for MC Server on RPi. I don't think I even understand the basics, but I will explain what I have tried and see if it makes sense.</p>
<p dir="auto">I have installed Arduino IDE on my pi and have added the MySensor library. Then, I opened the GatewaySerial example and looked it over. I prefer to use 115200 baud so I changed that, but otherwise made no changes and compiled the sketch to my Arduino nano. The serial output is as follows:</p>
<p dir="auto">0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2<br />
0;255;3;0;9;5 TSM:INIT<br />
0;255;3;0;9;7 TSF:WUR:MS=0<br />
0;255;3;0;9;15 TSM:INIT:TSP OK<br />
0;255;3;0;9;18 TSM:INIT:GW MODE<br />
0;255;3;0;9;21 TSM:READY:ID=0,PAR=0,DIS=0<br />
0;255;3;0;9;24 MCO:REG:NOT NEEDED<br />
0;255;3;0;14;Gateway startup complete.<br />
0;255;0;0;18;2.3.2<br />
0;255;3;0;9;28 MCO:BGN:STP<br />
0;255;3;0;9;35 MCO:BGN:INIT OK,TSP=1<br />
0;255;3;0;9;38 TSM:READY:NWD REQ<br />
0;255;3;0;9;45 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:</p>
<p dir="auto">This leads me to believe that Arduino IDE believes the gateway is working.</p>
<p dir="auto">At that point, I go over to MyController on the same machine and attempt to add a serial gateway. I have named it "Serial02" simply because it is the second attempt.<br />
Description - empty<br />
it is enabled<br />
reconnect delay is 30s<br />
Queue Failed Messages is off<br />
Labels, if I understand them, are used to help organize my devices so I have named the room under key "analytical" and the Value refers to the server "pi1". I'd guess these might need to be changed, but I don't know what makes sense for them even after looking over the documentation on the power of labels.<br />
Type is set to MySensor V2<br />
Internal Message Ack is off<br />
Stream Message Ack is off<br />
Retry count is 3<br />
Timeout is 500 ms<br />
Protocal Type is Serial<br />
Transmit Pre Delay is 10 ms<br />
Port Name, which is confirmed in terminal and Arduino IDE is /dev/ttyUSB0<br />
baud rate is 115200, which matches the arduino sketch<br />
and message logger is set to none.</p>
<p dir="auto">Please help me figure this out, I'm not sure what questions to even ask at this point. I'll keep working on it, but any insights would be greatly appreciated.</p>
]]></description><link>http://forum.mycontroller.org/topic/534/gateway-setup-for-mcv2-using-mysensors</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 00:47:25 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/534.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Jul 2023 18:31:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Gateway setup for MCv2 using MySensors on Mon, 10 Jul 2023 04:24:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wint0178" aria-label="Profile: wint0178">@<bdi>wint0178</bdi></a> No, keep default labels. as <a class="plugin-mentions-user plugin-mentions-a" href="/user/jeelet" aria-label="Profile: JeeLet">@<bdi>JeeLet</bdi></a> mentioned can you check any other service is consuming the serial port? Do you see any error on the gateway?</p>
]]></description><link>http://forum.mycontroller.org/post/3381</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3381</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Mon, 10 Jul 2023 04:24:07 GMT</pubDate></item><item><title><![CDATA[Reply to Gateway setup for MCv2 using MySensors on Sat, 08 Jul 2023 11:48:59 GMT]]></title><description><![CDATA[<p dir="auto">Arduino IDE must be closed before launching MyController , the IDE keeps the USB port for itself?</p>
]]></description><link>http://forum.mycontroller.org/post/3377</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3377</guid><dc:creator><![CDATA[JeeLet]]></dc:creator><pubDate>Sat, 08 Jul 2023 11:48:59 GMT</pubDate></item><item><title><![CDATA[Reply to Gateway setup for MCv2 using MySensors on Sat, 08 Jul 2023 03:53:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> my labels are not changed from the default "location: server". Do you recommend making a change to those? I do not anticipate using more than one server. Also, I notice that the disabled line in gateway is followed by "false" should I change that to "true" to activate gateways or does that set this RPi up as a gateway?</p>
]]></description><link>http://forum.mycontroller.org/post/3372</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3372</guid><dc:creator><![CDATA[wint0178]]></dc:creator><pubDate>Sat, 08 Jul 2023 03:53:54 GMT</pubDate></item><item><title><![CDATA[Reply to Gateway setup for MCv2 using MySensors on Fri, 07 Jul 2023 23:55:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wint0178" aria-label="Profile: wint0178">@<bdi>wint0178</bdi></a> what is the labels do you use in <code>mycontroller.yaml</code> under <code>gateway</code>? you have to use that label in your gateway settings label section.</p>
]]></description><link>http://forum.mycontroller.org/post/3369</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3369</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 07 Jul 2023 23:55:56 GMT</pubDate></item></channel></rss>