Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Vera
  4. Uno as a Serial Gateway for Vera?

Uno as a Serial Gateway for Vera?

Scheduled Pinned Locked Moved Vera
5 Posts 3 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tbully
    wrote on last edited by
    #1

    Hello All -

    Just getting started with Arduino (been around Vera for a while). I'm able to get my Nanos working as a gateway. (Excellent documentation!)

    However, I do have a few Unos kicking around that I'd like to use as a gateway (serial). Is this possible with Vera? I see that dmesg shows the following when the Uno is connected:

    usb 1-2.2: new full speed USB device using rt3883-ehci and address 10
    cdc_acm 1-2.2:1.0: ttyACM0: USB ACM device

    Is there a way to expose this as a serial port? I understand that if I use an ethernet gateway, it'd likely work. However, lacking an ethernet shield at the moment, I'd like to stick to serial if possible.

    By the way, I did test the Uno<->Radio integration with an example sketch and it seems solid in my case. (I did read about the 3.3v power issue with some Unos)

    Any ideas for the Arduino newb would be helpful.

    Thanks.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tbully
      wrote on last edited by
      #2

      I may have solved this myself.

      Can someone check me on this?

      In "Edit Startup Lua", I entered the following:
      os.execute("ser2net -C 5000:raw:0:/dev/ttyACM0:115200")

      I then went to the MySensors Plugin in the Advanced tab and entered the following in the "IP" line:
      127.0.0.1:5000

      I don't currently have any sensors to attach to. However, when I click on the "start" button for inclusion, I can see the inclusion LED illuminate.

      Does this seem like a viable solution?

      1 Reply Last reply
      0
      • epierreE Offline
        epierreE Offline
        epierre
        Hero Member
        wrote on last edited by
        #3

        Hello,

        The arduino gateway receives radio signal and send it to the controller. For this a Mini is clearly enough.

        Now if you want to make some other logic on the arduino, remember that it may use clock time dedidated to message reception from the MySensors.

        z-wave - Vera -&gt; Domoticz
        rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
        mysensors -&gt; mysensors-gw -&gt; Domoticz

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tbully
          wrote on last edited by
          #4

          I think you are implying that the Uno is overkill. I completely agree with this.

          I just happen to have a few on hand and figured "why not?"

          I should have some sensors to test with soon. I guess I'll know if my solution is viable or not........

          hekH 1 Reply Last reply
          0
          • T tbully

            I think you are implying that the Uno is overkill. I completely agree with this.

            I just happen to have a few on hand and figured "why not?"

            I should have some sensors to test with soon. I guess I'll know if my solution is viable or not........

            hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #5

            @tbully

            Uno has exactly the same MCU as pro mini. Just a large package :smile:

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            12

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular