Lua Startup Failure (*SOLVED*)
-
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.
-
Pro Mini and Uno won't be recognized by Vera. You must use Arduino Nano as instructed on the documentation site.
@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?
-
@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?
@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 :-)
-
@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 :-)
-
@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 :-)
@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.
-
@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.
@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
-
@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
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
-
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
@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!
-
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 -
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@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. -
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 -
@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.@ServiceXp
Yeah it was really expensive. But I had tried with 3 different types of clones and none of them worked. You were lucky!
-
@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.@ServiceXp
Yeah it was really expensive. But I had tried with 3 different types of clones and none of them worked. You were lucky!
-
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)?
-
@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.
-
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.
-
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.
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