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. Lua Startup Failure (*SOLVED*)

Lua Startup Failure (*SOLVED*)

Scheduled Pinned Locked Moved Vera
arduinoveralite
31 Posts 12 Posters 23.1k Views 3 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.
  • R rafael.brasilia

    Hi,

    I am trying to get my Veralite working with Arduino and nrf24l01+ Rf Transceiver but it doesnt work for some reason.

    I have uploaded all the plugin files on my Veralite and added a new device, but my device shows an error mesage saying "Lua Startup Failure". When I click on start it gives me another error message saying "Device Not Ready".

    I have my arduino connected to the RF receiver and have uploaded the SerialGateway sketch to it.

    On top of my screen it says : "MySensors plugin : Choose the Serial Port", but when I go to choose the serial port my device doesnt appear there. I have reloded several times and reconnected my arduino to my Veralite via usb but no luck.

    Any suggestions?

    Thanks!!
    error.JPG

    M Offline
    M Offline
    Micke
    wrote on last edited by
    #12

    I have the same (almost) issue as @rafael.brasilia.

    Installed the MySensors device with files downloaded today (18/9-14) according to the instructions. When pushing "Reload" after creating the device i had not connected the Gateway to the USB yet. Got the error in the picture below. I then connected the gateway with exactly the same result. Then rebooted and got the same result again.

    Please note! I am using a not supported gateway - the Arduino Pro Mini (the Uno is still on a boat somewhere between here and China :-)), but the issue doesn't seem to be related to the gateway, rather the creation of the device.

    What is my newbee mistake? Except for using the wrong hardware ;-)

    Untitled.tiff

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

      Pro Mini and Uno won't be recognized by Vera. You must use Arduino Nano as instructed on the documentation site.

      M 2 Replies Last reply
      0
      • hekH hek

        Pro Mini and Uno won't be recognized by Vera. You must use Arduino Nano as instructed on the documentation site.

        M Offline
        M Offline
        Micke
        wrote on last edited by
        #14

        @hek ... Sorry, typo - of course it is a Nano I am waiting for.

        1 Reply Last reply
        0
        • I Offline
          I Offline
          integlikewhoa
          wrote on last edited by
          #15

          I'm having same problem with my clone NANO.

          I can't get serial adaptor to show up in VERA. I have a powered hub with my VERAlite. I have a usb to serial already for my caddx alarm and usb flash drive for my logs. I have even removed the hub and tried only the nano to the vera. Powered down for a bit and restart. Never can get serial to show up. I can program the NANO and rear the data get a code and startup command.

          Think its my clone? I have an extra UNO but haven't tried it as people said it needed to be a NANO hooked to VERA.

          1 Reply Last reply
          0
          • hekH hek

            Pro Mini and Uno won't be recognized by Vera. You must use Arduino Nano as instructed on the documentation site.

            M Offline
            M Offline
            Micke
            wrote on last edited by
            #16

            @hek
            I bought a Nano today at Electro:Kit Malmö cuz I just couldn't wait for the boat from China :-)... but the the error remains the same! Reboot, re-download, rewiring, ... I cannot get the MySensors plugin to work.

            BTW, I use codebender and know the software loads OK.

            Any suggestions?

            M 1 Reply Last reply
            0
            • M Micke

              @hek
              I bought a Nano today at Electro:Kit Malmö cuz I just couldn't wait for the boat from China :-)... but the the error remains the same! Reboot, re-download, rewiring, ... I cannot get the MySensors plugin to work.

              BTW, I use codebender and know the software loads OK.

              Any suggestions?

              M Offline
              M Offline
              Micke
              wrote on last edited by
              #17

              @Micke @hek
              Status update: Just stubbled across the

              • "Serial Port Configuration" in the Apps->Develop Apps->Serial Port Configuration tab,
              • selected the "MySensors" device in the drop down,
              • got an error when reloading ("select 115200 baud rate") so I changed the the baud rate
              • reloaded - and no errors!

              Don't know if it works (got not clients/sensors to talk to) but the HUD is all green :-)

              hekH R 2 Replies Last reply
              0
              • M Micke

                @Micke @hek
                Status update: Just stubbled across the

                • "Serial Port Configuration" in the Apps->Develop Apps->Serial Port Configuration tab,
                • selected the "MySensors" device in the drop down,
                • got an error when reloading ("select 115200 baud rate") so I changed the the baud rate
                • reloaded - and no errors!

                Don't know if it works (got not clients/sensors to talk to) but the HUD is all green :-)

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

                @Micke

                It's all documented here:
                http://mysensors.org/build/vera

                1 Reply Last reply
                0
                • M Micke

                  @Micke @hek
                  Status update: Just stubbled across the

                  • "Serial Port Configuration" in the Apps->Develop Apps->Serial Port Configuration tab,
                  • selected the "MySensors" device in the drop down,
                  • got an error when reloading ("select 115200 baud rate") so I changed the the baud rate
                  • reloaded - and no errors!

                  Don't know if it works (got not clients/sensors to talk to) but the HUD is all green :-)

                  R Offline
                  R Offline
                  rafael.brasilia
                  wrote on last edited by
                  #19

                  @Micke What did you do to make you Serial gateway show up in Vera? I have tried everything you can imagine but my Vera wont recognize it.

                  M 1 Reply Last reply
                  0
                  • R rafael.brasilia

                    @Micke What did you do to make you Serial gateway show up in Vera? I have tried everything you can imagine but my Vera wont recognize it.

                    M Offline
                    M Offline
                    Micke
                    wrote on last edited by
                    #20

                    @rafael.brasilia I followed the instructions in this link.

                    Can you give some more information on how far you got, eg:

                    • Did you test to upload the blink example to the Nano? Did it work?
                    • Was the upload of the Gateway to the Nano successful?
                    • Any problems downloading files from Git.hub, uploading these files to Vera?
                    • Is the creation successful in the Vera?
                      /Micke
                    R 1 Reply Last reply
                    0
                    • M Micke

                      @rafael.brasilia I followed the instructions in this link.

                      Can you give some more information on how far you got, eg:

                      • Did you test to upload the blink example to the Nano? Did it work?
                      • Was the upload of the Gateway to the Nano successful?
                      • Any problems downloading files from Git.hub, uploading these files to Vera?
                      • Is the creation successful in the Vera?
                        /Micke
                      R Offline
                      R Offline
                      rafael.brasilia
                      wrote on last edited by
                      #21

                      @Micke

                      Yes I did test my Nano with the blink upload and worked fine. I uploaded all the files to Vera with no problem and also uploaded the sketch into my Nano successfully.

                      I can even see my Gateway communicating with one of my sensors in the debugger, So I think everything is fine.
                      The only problem is when I connect my Gateway to my Vera and go to Serial Port Configuration, there is nothing there. I tried reloding the Luup Engine several times and restarting my Vera, but still no luck.

                      Thanks

                      M 1 Reply Last reply
                      0
                      • R rafael.brasilia

                        @Micke

                        Yes I did test my Nano with the blink upload and worked fine. I uploaded all the files to Vera with no problem and also uploaded the sketch into my Nano successfully.

                        I can even see my Gateway communicating with one of my sensors in the debugger, So I think everything is fine.
                        The only problem is when I connect my Gateway to my Vera and go to Serial Port Configuration, there is nothing there. I tried reloding the Luup Engine several times and restarting my Vera, but still no luck.

                        Thanks

                        M Offline
                        M Offline
                        Micke
                        wrote on last edited by
                        #22

                        @rafael.brasilia Sorry, I don't know what is wrong. I got problems myself: I can see my Gateway in the Vera... but cannot get it to communicate with the sensors - I am also new to this. Hopefully one of the experienced guys on this site can help you!

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          rafael.brasilia
                          wrote on last edited by
                          #23

                          PROBLEM SOLVED

                          So after trying a thousand different things I decided to bite the bulled and bought a Genuine Gravitec Arduino Nano, loaded the Serial Gateway Sketch into it and BOOM! Worked on the first try. My Vera recognized it as soon as I plugged it in.

                          For all you guys having problems with Serial Gateway I recommend buying a Gravitec Nano to use as a Gateway. The clones work just fine for the sensors, but not for the Gateway.

                          This is the one I bought:
                          http://www.ebay.com/itm/400306780486?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2648

                          RJ_MakeR hekH 2 Replies Last reply
                          0
                          • R rafael.brasilia

                            PROBLEM SOLVED

                            So after trying a thousand different things I decided to bite the bulled and bought a Genuine Gravitec Arduino Nano, loaded the Serial Gateway Sketch into it and BOOM! Worked on the first try. My Vera recognized it as soon as I plugged it in.

                            For all you guys having problems with Serial Gateway I recommend buying a Gravitec Nano to use as a Gateway. The clones work just fine for the sensors, but not for the Gateway.

                            This is the one I bought:
                            http://www.ebay.com/itm/400306780486?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2648

                            RJ_MakeR Offline
                            RJ_MakeR Offline
                            RJ_Make
                            Hero Member
                            wrote on last edited by
                            #24

                            @rafael.brasilia
                            Holly cow 35 bucks... Well at least you are up and running. It's strange really, because I had no problems with the Nano from the store vendor.

                            RJ_Make

                            R 2 Replies Last reply
                            0
                            • R rafael.brasilia

                              PROBLEM SOLVED

                              So after trying a thousand different things I decided to bite the bulled and bought a Genuine Gravitec Arduino Nano, loaded the Serial Gateway Sketch into it and BOOM! Worked on the first try. My Vera recognized it as soon as I plugged it in.

                              For all you guys having problems with Serial Gateway I recommend buying a Gravitec Nano to use as a Gateway. The clones work just fine for the sensors, but not for the Gateway.

                              This is the one I bought:
                              http://www.ebay.com/itm/400306780486?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2648

                              hekH Offline
                              hekH Offline
                              hek
                              Admin
                              wrote on last edited by hek
                              #25
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • RJ_MakeR RJ_Make

                                @rafael.brasilia
                                Holly cow 35 bucks... Well at least you are up and running. It's strange really, because I had no problems with the Nano from the store vendor.

                                R Offline
                                R Offline
                                rafael.brasilia
                                wrote on last edited by
                                #26

                                @ServiceXp

                                Yeah it was really expensive. But I had tried with 3 different types of clones and none of them worked. You were lucky!

                                1 Reply Last reply
                                0
                                • RJ_MakeR RJ_Make

                                  @rafael.brasilia
                                  Holly cow 35 bucks... Well at least you are up and running. It's strange really, because I had no problems with the Nano from the store vendor.

                                  R Offline
                                  R Offline
                                  rafael.brasilia
                                  wrote on last edited by
                                  #27

                                  @ServiceXp

                                  Yeah it was really expensive. But I had tried with 3 different types of clones and none of them worked. You were lucky!

                                  1 Reply Last reply
                                  0
                                  • DwaltD Offline
                                    DwaltD Offline
                                    Dwalt
                                    wrote on last edited by
                                    #28

                                    I had this problem today ( "Lua Startup Failure" / MySensors plugin:Choose Serial Port) after running the serial gateway for a few weeks with no problems.

                                    I checked the "Serial Port Configuration" under Apps>Develop Apps and the baud was mysteriously set at 9600. I reset it to 115200 and reloaded Vera and everything reset fine. Is there any known reason why the baud setting would change on its own? Conflict with another plugin, perhaps datamine)?

                                    Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                                    1 Reply Last reply
                                    0
                                    • daulagariD Offline
                                      daulagariD Offline
                                      daulagari
                                      Hero Member
                                      wrote on last edited by daulagari
                                      #29

                                      @rafael.brasilia: Did you try powering the clones using an external power supply connected to Vin.

                                      That solved some problems I had getting an Ethernet gateway up-and-running.

                                      1 Reply Last reply
                                      0
                                      • T Offline
                                        T Offline
                                        tkt1033
                                        wrote on last edited by
                                        #30

                                        Check your Nano, if you have the one with CH340 usb chipset will not work for serial gateway. It will work if you use it for a node. Need to get another nano with FTDI chipset for serial gateway and it will work. I have the same problem and even try many different ways still won't work until I figure it out from the other post. You don't need to buy the one for $35 bucks, search on Ali.... you still find some sellers sell Nano with FTDI chipset for @ $7 bucks. Hope it help and save your time.

                                        Donny152D 1 Reply Last reply
                                        1
                                        • T tkt1033

                                          Check your Nano, if you have the one with CH340 usb chipset will not work for serial gateway. It will work if you use it for a node. Need to get another nano with FTDI chipset for serial gateway and it will work. I have the same problem and even try many different ways still won't work until I figure it out from the other post. You don't need to buy the one for $35 bucks, search on Ali.... you still find some sellers sell Nano with FTDI chipset for @ $7 bucks. Hope it help and save your time.

                                          Donny152D Offline
                                          Donny152D Offline
                                          Donny152
                                          wrote on last edited by
                                          #31

                                          I'll admit a newbie at this. but I"m about beyond frustrated. I've been trying to get my "Vera Edge" Serial gateway up and running. I had it working, using a nano ATmega328 w/FTDI chipset. So that was great! All your posts were very helpful! So I decided to move forward and start building my sensors. The first sensor I built was a motion sensor also using a nano ATmega328. So I got it up and running, communicating with the gateway, and than the Vera controller dropped it and I kept get the same error message, Device not ready, "LUA Startup Failure.
                                          If you all have any another ideas on what could be causing this I could sure use your help!
                                          Thanks

                                          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