<?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[serial, Ethernet to MQTT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have developed a new MQTT bridge to convert from serial, ethernet to MQTT.<br />
Supports for MySensors.<br />
You can have more than one serial ports and/or ethernet connections.<br />
If you are interested in, <a href="https://github.com/mycontroller-org/2mqtt" rel="nofollow ugc">https://github.com/mycontroller-org/2mqtt</a><br />
Thanks!</p>
]]></description><link>http://forum.mycontroller.org/topic/493/serial-ethernet-to-mqtt</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 13:48:07 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/493.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Jun 2021 09:58:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Sat, 17 Jul 2021 09:11:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j54n1n" aria-label="Profile: j54n1n">@<bdi>j54n1n</bdi></a> thanks again! please report back if you find any</p>
]]></description><link>http://forum.mycontroller.org/post/3003</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3003</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Sat, 17 Jul 2021 09:11:10 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Sat, 17 Jul 2021 06:04:57 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> Ok, I quickly looked through it with MQTT.fx and it seems to be fine.</p>
<p dir="auto">Thanks again. Now I will start looking for strange behaviors with MySensors in your MyController v2.</p>
]]></description><link>http://forum.mycontroller.org/post/3002</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3002</guid><dc:creator><![CDATA[j54n1n]]></dc:creator><pubDate>Sat, 17 Jul 2021 06:04:57 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Sat, 17 Jul 2021 05:43:34 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/j54n1n" aria-label="Profile: j54n1n">@<bdi>j54n1n</bdi></a><br />
I believe I my change will not impact the functionality<br />
Please let me know if you see a different behavior in the recent build <img src="http://forum.mycontroller.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2ce0f5c73bf" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>http://forum.mycontroller.org/post/3001</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3001</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Sat, 17 Jul 2021 05:43:34 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Sat, 17 Jul 2021 05:39:19 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> thanks, yes now I get low CPU usage.</p>
<p dir="auto">Nice work ^^</p>
]]></description><link>http://forum.mycontroller.org/post/3000</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3000</guid><dc:creator><![CDATA[j54n1n]]></dc:creator><pubDate>Sat, 17 Jul 2021 05:39:19 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Fri, 16 Jul 2021 18:45:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j54n1n" aria-label="Profile: j54n1n">@<bdi>j54n1n</bdi></a> I have fixed the issue, can you please verify it in the master build?</p>
]]></description><link>http://forum.mycontroller.org/post/2998</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2998</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 16 Jul 2021 18:45:06 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Fri, 16 Jul 2021 00:26:41 GMT]]></title><description><![CDATA[<p dir="auto">Thnaks, <a class="plugin-mentions-user plugin-mentions-a" href="/user/j54n1n" aria-label="Profile: j54n1n">@<bdi>j54n1n</bdi></a>!</p>
]]></description><link>http://forum.mycontroller.org/post/2996</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2996</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 16 Jul 2021 00:26:41 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Thu, 15 Jul 2021 19:12:00 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> thanks, ok here is the link to the issue: <a href="https://github.com/mycontroller-org/2mqtt/issues/1" rel="nofollow ugc">https://github.com/mycontroller-org/2mqtt/issues/1</a></p>
<p dir="auto">Cheers j54n1n</p>
]]></description><link>http://forum.mycontroller.org/post/2995</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2995</guid><dc:creator><![CDATA[j54n1n]]></dc:creator><pubDate>Thu, 15 Jul 2021 19:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Thu, 15 Jul 2021 17:57:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j54n1n" aria-label="Profile: j54n1n">@<bdi>j54n1n</bdi></a> I can reproduce this issue. kindly file a bug. I will work on it. Thanks!</p>
]]></description><link>http://forum.mycontroller.org/post/2994</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2994</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 15 Jul 2021 17:57:44 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Thu, 15 Jul 2021 06:20:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j54n1n" aria-label="Profile: j54n1n">@<bdi>j54n1n</bdi></a> Thanks for the detailed configuration. I try to create this setup in my environment.</p>
]]></description><link>http://forum.mycontroller.org/post/2993</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2993</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 15 Jul 2021 06:20:17 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Thu, 15 Jul 2021 04:51:53 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> yes sure, I was not using any special configuration. I adapted the config file only to suit the configuration that we used before.</p>
<p dir="auto">Here we go for the config.yaml file:</p>
<pre><code>logger:
  mode: development
  encoding: console
  level: info

adapters:
  - name: adapter1
    enabled: true
    reconnect_delay: 20s
    provider: mysensors_v2
    source:
      type: serial
      port: /dev/serial0
      baud_rate: 115200
      transmit_pre_delay: 10ms
    mqtt:
      broker: tcp://127.0.0.1:1883
      insecure_skip_verify: false
      username:
      password:
      subscribe: mysensors-in/#
      publish: mysensors-out
      qos: 0
      transmit_pre_delay: 0s
      reconnect_delay: 5s

  - name: adapter2
    enabled: false
    reconnect_delay: 20s
    provider: mysensors_v2
    source:
      type: ethernet
      server: tcp://192.168.10.21:5003
      transmit_pre_delay: 10ms
    mqtt:
      broker: tcp://192.168.10.21:1883
      insecure_skip_verify: false
      username:
      password:
      subscribe: in_nrf24/#
      publish: out_nrf24
      qos: 0
      transmit_pre_delay: 0s
      reconnect_delay: 5s

  - name: adapter3
    enabled: false
    reconnect_delay: 20s
    provider: raw
    source:
      type: serial
      port: /dev/ttyUSB0
      baud_rate: 115200
      transmit_pre_delay: 10ms
      message_splitter: 10
    mqtt:
      broker: tcp://192.168.10.21:1883
      insecure_skip_verify: false
      username:
      password:
      subscribe: in/my_topic
      publish: out/my_topic
      qos: 0
      transmit_pre_delay: 0s
      reconnect_delay: 5s
</code></pre>
<p dir="auto">and for my environment on the Raspberry Pi:</p>
<pre><code>$ cat /etc/*release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

$ uname -a
Linux metteo-dev2 5.10.17-v7+ #1421 SMP Thu May 27 13:59:01 BST 2021 armv7l GNU/Linux

$ ls -l /dev/serial0
lrwxrwxrwx 1 root root 7 Jul 14 20:00 /dev/serial0 -&gt; ttyAMA0

$ ls -l /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 Jul 14 20:00 /dev/ttyAMA0

$ groups pi
pi : pi adm dialout cdrom sudo audio video plugdev games users input netdev spi i2c gpio lpadmin

$ apt-cache policy mosquitto
mosquitto:
  Installed: 1.5.7-1+deb10u1
  Candidate: 1.5.7-1+deb10u1
  Version table:
 *** 1.5.7-1+deb10u1 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status
</code></pre>
<p dir="auto">Thanks in advance</p>
]]></description><link>http://forum.mycontroller.org/post/2992</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2992</guid><dc:creator><![CDATA[j54n1n]]></dc:creator><pubDate>Thu, 15 Jul 2021 04:51:53 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Wed, 14 Jul 2021 18:29:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/j54n1n" aria-label="Profile: j54n1n">@<bdi>j54n1n</bdi></a>  Thanks for the detailed report.<br />
It does not look normal. It can be a bug in 2mqtt<br />
Can you share your configuration details used in 2mqtt? (remove sensitive details)</p>
]]></description><link>http://forum.mycontroller.org/post/2991</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2991</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 14 Jul 2021 18:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to serial, Ethernet to MQTT on Wed, 14 Jul 2021 17:05:45 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a>,</p>
<p dir="auto">I was testing if I could use the old workflow that we used in our weather station school project, using an Arduino with RFM69 radio as a serial gateway broadcasting messages to local Mosquitto MQTT broker from where MyController then picks up the messages.</p>
<p dir="auto">I noticed that compared to your new v2 MyController's internal serial gateway, your 2mqtt bridge consumes more CPU cycles.</p>
<p dir="auto">Compare that when your builtin serial gateway is enabled from within MyController v2 UI with low CPU usage:<br />
<img src="/assets/uploads/files/1626281380083-mycontroller-serialgw.png" alt="MyController-SerialGW.png" class=" img-fluid img-markdown" /><br />
to your standalone 2mqtt bridge with higher CPU usage:<br />
<img src="/assets/uploads/files/1626281425735-mycontroller-2mqtt.png" alt="MyController-2mqtt.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And I double checked that the builtin serial gateway was disabled from within the MyController v2 UI. I even tried to terminate MyController and checked with MQTT.fx if data was incoming from the bridge and I can confirm that I was still receiving valid data besides the high CPU usage.</p>
<p dir="auto">I was using your suggested settings as mentioned in your documentation <a href="https://v2.mycontroller.org/docs/user-interface/resources/gateway-mysensors/" rel="nofollow ugc">MySensors | MyController.org</a> and from your readme file on <a href="https://github.com/mycontroller-org/2mqtt/blob/master/README.md" rel="nofollow ugc">2mqtt/README.md</a>.</p>
<p dir="auto">Is this normal, or should I file a issue on your GitHub repository?</p>
<p dir="auto">Kind regards</p>
]]></description><link>http://forum.mycontroller.org/post/2990</link><guid isPermaLink="true">http://forum.mycontroller.org/post/2990</guid><dc:creator><![CDATA[j54n1n]]></dc:creator><pubDate>Wed, 14 Jul 2021 17:05:45 GMT</pubDate></item></channel></rss>