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. VERA 2 Device Install

VERA 2 Device Install

Scheduled Pinned Locked Moved Vera
64 Posts 11 Posters 35.0k 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.
  • hekH hek

    It usually pops up on the serial configuration page. You're using a Arduino Nano right?

    Screen Shot 2014-05-25 at 09.19.57.png

    J Offline
    J Offline
    jmmorgan
    wrote on last edited by
    #44

    @hek I am using Arduino Nano, but it does not pop up in the serial configuration page. I have read a lot of the post on USB to serial connection on the Vera forum, but no luck.
    JOhn

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jmmorgan
      wrote on last edited by
      #45

      After much effort, I got it to recognize the serial gateway: Here what I did
      Log into WinSCP
      Run lsusb
      You should see a line similar to this. Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device. The 10c4 is the vendor and the ea60 is the product.

      Find
      /etc/cmh/serproxy.port
      Open it up and make sure it has the line
      vendor:10c4 product:ea60
      If serproxy.port does not exist, manual create it.
      Reboot, Reboot and hope.

      Now on to the next step. I hope it is easier.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jmmorgan
        wrote on last edited by
        #46

        Well, I knew it was to good to be true. The plug-in loads properly without error and I have set the serial port. However, when I hit the start button (is it suppose to change color and stay that color until is stop) and reset the sensor, nothing happens. What is my next step. The sensor is sending a request for node id, which the gateway acknowledges, but it never send the node ID back. I tried looking at the Vera log, but there are just too many entries.

        hekH 1 Reply Last reply
        0
        • J jmmorgan

          Well, I knew it was to good to be true. The plug-in loads properly without error and I have set the serial port. However, when I hit the start button (is it suppose to change color and stay that color until is stop) and reset the sensor, nothing happens. What is my next step. The sensor is sending a request for node id, which the gateway acknowledges, but it never send the node ID back. I tried looking at the Vera log, but there are just too many entries.

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

          @jmmorgan

          > grep Arduino /var/log/cmh/LuaUPnP.log
          

          Only shows Arduino related stuff from the log.

          1 Reply Last reply
          0
          • blaceyB Offline
            blaceyB Offline
            blacey
            Admin
            wrote on last edited by
            #48

            When my Vera3 fails to show the USB port for the Gateway (typically after a power cycle), I do the following to get it to recognize it.

            1. Unplug the gateway USB cable from the Vera3's USB port
            2. Click Reload on the upper right of the Vera dashboard and wait for reload to finish
            3. Plug the gateway USB cable into the Vera3's USB port
            4. Click Reload on the upper right of the Vera dashboard and wait for the reload to finish
            5. Navigate to Develop Apps->Serial Port to configure the port.

            I don't know why the Vera removes the USB port if the device is power cycled while the gateway is connected but the steps above seem to reliably resolve it for me.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jmmorgan
              wrote on last edited by
              #49

              Here is my log. It seems the gateway startup ok and send the inclusion command. The node requests the ID, which the gateway acknowledge, but nothing happens after that.
              jmmlog1.pdf

              1 Reply Last reply
              0
              • hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by
                #50

                I can't see that the inclusion mode was started in the log.

                And what does the log say on the sensor when it requests an id? Does it receive anything?

                J 1 Reply Last reply
                0
                • hekH hek

                  I can't see that the inclusion mode was started in the log.

                  And what does the log say on the sensor when it requests an id? Does it receive anything?

                  J Offline
                  J Offline
                  jmmorgan
                  wrote on last edited by
                  #51

                  @hek the sensor send a request for the ID and the gateway acknowledge the request, but never send the id.

                  1 Reply Last reply
                  0
                  • hekH Offline
                    hekH Offline
                    hek
                    Admin
                    wrote on last edited by
                    #52

                    Hmm.. yes.. it looks like serial communication only works one-way (from Nano to Vera) but not the other direction.
                    Gateway doesn't even reply on the request for version message.

                    How is this even possible? Some strange setting in Serial port configuration?

                    J 1 Reply Last reply
                    0
                    • hekH hek

                      Hmm.. yes.. it looks like serial communication only works one-way (from Nano to Vera) but not the other direction.
                      Gateway doesn't even reply on the request for version message.

                      How is this even possible? Some strange setting in Serial port configuration?

                      J Offline
                      J Offline
                      jmmorgan
                      wrote on last edited by
                      #53

                      @hek
                      There is my serial configuration screen.
                      upload-3d78c5ff-1b91-40c0-b8cd-3c3b66217419

                      1 Reply Last reply
                      0
                      • wmylionelW Offline
                        wmylionelW Offline
                        wmylionel
                        wrote on last edited by
                        #54

                        Could try reducing the baud rate between gateway and vera. I had trouble communicating with the serial gateway at the highest speed (only 1 way communication), reducing to 9600 solved it.

                        J 1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #55

                          @wmylionel said:

                          Could try reducing the baud rate between gateway and vera. I had trouble communicating with the serial gateway at the highest speed (only 1 way communication), reducing to 9600 solved it.

                          yep, that might worth a try.

                          To update baud rate on gateway side, edit the following line in Sensor.h

                          #define BAUD_RATE 115200
                          
                          J 1 Reply Last reply
                          0
                          • hekH hek

                            @wmylionel said:

                            Could try reducing the baud rate between gateway and vera. I had trouble communicating with the serial gateway at the highest speed (only 1 way communication), reducing to 9600 solved it.

                            yep, that might worth a try.

                            To update baud rate on gateway side, edit the following line in Sensor.h

                            #define BAUD_RATE 115200
                            
                            J Offline
                            J Offline
                            jmmorgan
                            wrote on last edited by
                            #56

                            @hek
                            How do you set it to 9600 in the Vera mysensor plug in? If I set the Vera serial port to 9600, the mysensor plug in states that it needs to be set to 115200 and the plug in fails.
                            Thanks
                            John

                            1 Reply Last reply
                            0
                            • hekH Offline
                              hekH Offline
                              hek
                              Admin
                              wrote on last edited by
                              #57

                              Edit the
                              L_Arduino.lua
                              You'll find it somewhere at the top.

                              J 1 Reply Last reply
                              0
                              • hekH hek

                                Edit the
                                L_Arduino.lua
                                You'll find it somewhere at the top.

                                J Offline
                                J Offline
                                jmmorgan
                                wrote on last edited by
                                #58

                                @hek
                                I set the L_Arduino.lua to 9600. The mysensor plugin now states to set the it 9600. I set it to 9600 and reload. It again states to set the serial port 9600 (but it is set to 9600), and the plugin fails. Is there something else I need to change?

                                BulldogLowellB 1 Reply Last reply
                                0
                                • J jmmorgan

                                  @hek
                                  I set the L_Arduino.lua to 9600. The mysensor plugin now states to set the it 9600. I set it to 9600 and reload. It again states to set the serial port 9600 (but it is set to 9600), and the plugin fails. Is there something else I need to change?

                                  BulldogLowellB Offline
                                  BulldogLowellB Offline
                                  BulldogLowell
                                  Contest Winner
                                  wrote on last edited by BulldogLowell
                                  #59

                                  @jmmorgan

                                  what value is your serial port configuration page showing now?

                                  J 1 Reply Last reply
                                  0
                                  • BulldogLowellB BulldogLowell

                                    @jmmorgan

                                    what value is your serial port configuration page showing now?

                                    J Offline
                                    J Offline
                                    jmmorgan
                                    wrote on last edited by
                                    #60

                                    @BulldogLowell It shows 9600

                                    1 Reply Last reply
                                    0
                                    • wmylionelW wmylionel

                                      Could try reducing the baud rate between gateway and vera. I had trouble communicating with the serial gateway at the highest speed (only 1 way communication), reducing to 9600 solved it.

                                      J Offline
                                      J Offline
                                      jmmorgan
                                      wrote on last edited by
                                      #61

                                      @wmylionel: Are you using Vera 2? If so what lines do you have in the /etc/cmh/serproxy.port file?
                                      Thanks
                                      John

                                      1 Reply Last reply
                                      0
                                      • J Offline
                                        J Offline
                                        jmmorgan
                                        wrote on last edited by
                                        #62

                                        Can anyone tell me what setting they have in the /etc/cmh/serproxy.port file?

                                        1 Reply Last reply
                                        0
                                        • hekH Offline
                                          hekH Offline
                                          hek
                                          Admin
                                          wrote on last edited by
                                          #63

                                          @jmmorgan said:

                                          serproxy.port

                                          I don't have that file.

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


                                          22

                                          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