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. Troubleshooting
  3. Lua Startup Failure on Vera Serial Gateway

Lua Startup Failure on Vera Serial Gateway

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 2.6k Views 2 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.
  • rkressaR Offline
    rkressaR Offline
    rkressa
    wrote on last edited by
    #1

    New to Mysensors, amazing stuff, having a blast.

    Just a little problem I can't seem to fix:

    Put together my serial gateway with NRF24L01 radio and a Nano, checked debug to make sure it was working correctly, all seems well. Started up Vera, uploaded LUA files, created device, plugged in Serial Gateway to USB on Vera, restarted LUA engine, restarted the Vera, and nothing. I get a 'lua startup failure' error on the devices section in Vera on the MySensors Plugin.

    What gives?

    1 Reply Last reply
    0
    • korttomaK Offline
      korttomaK Offline
      korttoma
      Hero Member
      wrote on last edited by
      #2

      Hi @rkressa did you do the following part of the setup instruktions:

      Next, you will need to configure the USB port communication settings so the Vera can communicate with the gateway over the USB serial connection.

      Finally, go to: APPS Develop Apps Serial port configuration. See the screenshot to the right.

      For the Used by device: setting, select the Arduino Gateway Plugin [] from the menu of available devices.
      Set baud rate to 115200.
      Set the parity to none with 8 data bits and 1 stop bit.

      • Tomas
      1 Reply Last reply
      0
      • rkressaR Offline
        rkressaR Offline
        rkressa
        wrote on last edited by
        #3

        I have tried accessing that menu but it only says:

        Serial Port configuration
        If you connected the USB/serial device and it's not displayed here, reload Luup.
        Save
        Not available

        So options are available there..

        1 Reply Last reply
        0
        • korttomaK Offline
          korttomaK Offline
          korttoma
          Hero Member
          wrote on last edited by
          #4

          So it seems like the Vera cannot detect your USB serial device.
          Is there a FTDI chip on your Nano or some thing else? It needs to be an FTDI chip for Vera to be able to recognize it.

          If it is a FTDI chip then you just need to retry until your Vera can find it. Restart Vera and reload luup until it show up.

          If it does not show up you might have a bad USB cable, try another one.

          • Tomas
          rkressaR 1 Reply Last reply
          0
          • korttomaK korttoma

            So it seems like the Vera cannot detect your USB serial device.
            Is there a FTDI chip on your Nano or some thing else? It needs to be an FTDI chip for Vera to be able to recognize it.

            If it is a FTDI chip then you just need to retry until your Vera can find it. Restart Vera and reload luup until it show up.

            If it does not show up you might have a bad USB cable, try another one.

            rkressaR Offline
            rkressaR Offline
            rkressa
            wrote on last edited by
            #5

            @korttoma

            Just figured it out, it has no FTDI chip. Where can I get a nano with a real FTDI chip?

            Or can I just go with an ethernet gateway with my existing nano? I have the ethernet part.

            1 Reply Last reply
            0
            • korttomaK Offline
              korttomaK Offline
              korttoma
              Hero Member
              wrote on last edited by
              #6

              With these cheep clones you never know what serial chip is on board unless it says which one in the description.
              If you have an Ethernet board available I would say go for it. It should work. I have a pair of W5100 Ethernet boards myself working fine.

              • Tomas
              rkressaR 1 Reply Last reply
              0
              • korttomaK korttoma

                With these cheep clones you never know what serial chip is on board unless it says which one in the description.
                If you have an Ethernet board available I would say go for it. It should work. I have a pair of W5100 Ethernet boards myself working fine.

                rkressaR Offline
                rkressaR Offline
                rkressa
                wrote on last edited by
                #7

                @korttoma

                Yup, going over the ethernet gateway then. Thanks for the replies!

                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