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. Vera - Can't create GW device with UI7 files

Vera - Can't create GW device with UI7 files

Scheduled Pinned Locked Moved Troubleshooting
21 Posts 9 Posters 9.3k Views 7 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.
  • stevebusS Offline
    stevebusS Offline
    stevebus
    wrote on last edited by
    #1

    Hi all,

    Vera Edge/UI7, Arduino Nano, serial gateway sketch pretty much unchanged...

    I'm toying with the idea of switching from a Ethernet gateway to a serial gateway. After spending time with Vera support to get the USB port enabled on my Edge/UI7 device (long story, well documented in the Vera forums), I can finally try. With the original Arduino Vera files (the XML and JSON config files), I can create the device, re-load luup, pick the device in the drop down list box in order to associate it with the serial port, and then re-load luup. When luup is reloading, I get stuck with a line at the top that says "select serial port" (or something like that, can't remember exact error.. it seems that me selecting the serial port in the UI doesn't 'stick')...

    I noticed that there was a branch of the Vera files in GitHub that says it's specifically for UI7. I downloaded them, and uploaded them to Vera, and restarted luup. My Ethernet gateway still works, and now has prettier icons :-). However, when I try to create a new device for my serial gateway, it doesn't work. I click on Apps->Develop Apps->Create Device and type D_Arduino1.xml in the "Upnp Device Filename" field. I click Create Device and I get a pop-up from Vera saying the device was created. But nothing happens. No device gets created. I re-load Luup.. nothing happens. still no device. pretty much acts as if I did nothing.

    any advice? ideas?

    (I'm obviously not keeping both gateways long term.. as soon as I get the serial GW created, I'm dumping the other one.. but right now, I haven't yet deleted the Ethernet one... think that's the issue?)

    Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

    Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

    1 Reply Last reply
    0
    • stevebusS Offline
      stevebusS Offline
      stevebus
      wrote on last edited by
      #2

      I did notice (no clue if it means anything), but trying to open either D_Arduino1.json or D_ArduinoNode1.json in the Device simulator gives this error -> Cannot read contents of D_Arduino1.json.lzo

      but I don't know if that's supposed to work or not.

      D_ArduinoRelay1.json opens fine....

      Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

      Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

      1 Reply Last reply
      0
      • stevebusS Offline
        stevebusS Offline
        stevebus
        wrote on last edited by
        #3

        update - after a dozen tries, I got the device to create with the old XML files... however, even after setting the serial/USB port correctly, the Vera says "Can't Detect Device" for the MySensors Plug-in device... still plugging. This should be easier :-)

        Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

        Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

        1 Reply Last reply
        0
        • stevebusS Offline
          stevebusS Offline
          stevebus
          wrote on last edited by
          #4

          88 views and no one has this working?

          Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

          Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

          1 Reply Last reply
          0
          • BulldogLowellB Offline
            BulldogLowellB Offline
            BulldogLowell
            Contest Winner
            wrote on last edited by
            #5

            I'd contact MiCasaVerde... they seem to have solved the problem for other users.

            1 Reply Last reply
            0
            • stevebusS Offline
              stevebusS Offline
              stevebus
              wrote on last edited by
              #6

              Thanks for the response. - I've been working with them on the connectivity issues... about three weeks now of back and forth (but very little work, they just go dark for days at a time :-( ). They've enabled the USB port so that I can at least configure the connection.. but it still doesn't work. I'll keep working with them on the connectivity.

              My follow up ping was more around not being able to create a device at all with the UI7 branch of the files (i.e nothing happens which I click "Create Device"). Sorry that wasn't clear. Are you saying others have used Vera support for that as well? or just the connectivity problem?

              Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

              Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

              1 Reply Last reply
              0
              • C4VetteC Offline
                C4VetteC Offline
                C4Vette
                wrote on last edited by C4Vette
                #7

                Hi, just teaming up because I have the exact same problem.

                http://forum.micasaverde.com/index.php/topic,30528.msg247112.html#msg247112

                It is absolutely a software problem because this same hardware run fine with UI5.

                1 Reply Last reply
                0
                • stevebusS Offline
                  stevebusS Offline
                  stevebus
                  wrote on last edited by
                  #8

                  Ha! that's funny... I was just looking at that very same thread last night I had found in a search on the vera forums :-). Let me know if you get it solved, and I'll do the same!

                  Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

                  Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

                  1 Reply Last reply
                  0
                  • NbaarsN Offline
                    NbaarsN Offline
                    Nbaars
                    wrote on last edited by
                    #9

                    Hi, i have almost a similar problem with my veraedge and serialgateway. So uploaded the xml file goes all fine, but i cant creat a device was created. Also cant find a serial port, because he cant find a device. Im using a nano copy so i dont know if thats the problem or not.

                    1 Reply Last reply
                    0
                    • stevebusS Offline
                      stevebusS Offline
                      stevebus
                      wrote on last edited by
                      #10

                      Yeah, I never did get it working, nor find anyone who would tell me they had the same scenario working (vera edge, UI7, serial gateway). I had to work with Vera support to get my USB port enabled at all. Once it was enabled, I tried to get the serial GW working and never did. After over a month corresponding with Vera support (they would go days without responding), they punted and said as far as they were concerned, the serial port was working and I'd need to "talk to the mysensors folks" to get it all working. So I was stuck in a loop.

                      However, around that same time I found an old thread that gave me a tip to get my Ethernet gateway stabilized with an alternate implementation off UIPEthernet library. I can still crash the Ethernet gateway, at will, by telneting into port 5003 and manually sending commands to it for debugging, but since I know that crashes it, I don't do it anymore :-). But if I don't fool with it, it's been working for weeks with zero issues.

                      Also, after a combination of deleting and re-uploading files and most importantly CLEAR YOUR BROWSER CACHE AFTER YOU DO (my one and only tip for you), I've got the UI7 Vera files working too.

                      So, unfortunately I don't have the answer for you (other than make sure you clear your browser cache after uploading the UI7 files) because I got my Ethernet GW stable and abandoned the serial GW.

                      Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

                      Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

                      1 Reply Last reply
                      0
                      • NbaarsN Offline
                        NbaarsN Offline
                        Nbaars
                        wrote on last edited by
                        #11

                        Thanks for your reply, so i will try what you say and look if it works. Are you using a Arduino copy or original? I see people using a original Nano, and that seems to work with the VeraEdge.

                        1 Reply Last reply
                        0
                        • AnticimexA Offline
                          AnticimexA Offline
                          Anticimex
                          Contest Winner
                          wrote on last edited by
                          #12

                          I don't have a Vera edge, but a Vera lite and I found that I could not really trust a serial gw. I don't think the Vera can provide enough current on its USB port so my nano acted strange. I have decoupled everything with node-red now so all my controllers communicate using ethernet/tcp ports and I once more use a serial gw connected to a raspberrypi (but with the option in node-red to switch to an ethernet gw if I wanted to without changing anything in the controllers). It also makes debugging things a lot easier since all io between gw and controllers can be monitored.

                          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                          1 Reply Last reply
                          0
                          • stevebusS Offline
                            stevebusS Offline
                            stevebus
                            wrote on last edited by
                            #13

                            @Nbaars - I'm not sure how you tell? it was advertised as an Arduino Nano, not a copy or clone or "compatible", but I don't know if you can rely on that. Is there an easy way to tell?

                            @Anticimex - interesting idea. I might explore it, but I'm pretty satisfied with my straight Ethernet GW now (except for it being a pain to debug)

                            Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

                            Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

                            1 Reply Last reply
                            0
                            • NbaarsN Offline
                              NbaarsN Offline
                              Nbaars
                              wrote on last edited by
                              #14

                              @stevebus Pete B is using for his Serial gateway a Arduino nano clone from the shop on my sensors. But for now im stuck that my SG is not working. Im just new to all this.

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jlieffort
                                wrote on last edited by
                                #15

                                Did you ever get your nano clone to work as a serial gateway?

                                I'm struggling with the same issue right now. I have 4 nanos none have the FTDI chip and I can't get the vera to set the serial port.

                                Is the only option to get a "genuine" nano?

                                1 Reply Last reply
                                0
                                • stevebusS Offline
                                  stevebusS Offline
                                  stevebus
                                  wrote on last edited by
                                  #16

                                  Never got it working, but quit trying because of Ethernet GW has been fairly reliable lately. I've tried two different Nano's (bought from the links on mysensors site. But I assume they are clones. I'm not sure how to verify one is genuine, do you?

                                  I'd love to get it working as an option.

                                  Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

                                  Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

                                  1 Reply Last reply
                                  0
                                  • kylehullK Offline
                                    kylehullK Offline
                                    kylehull
                                    wrote on last edited by
                                    #17

                                    Hello not sure if you are still active or what but the below link may help i recently tried to make a gateway with a nano a failed like you guys have however after reading the below forum it turn out that you need to have a nano with a FTDI chipset for the gateway i went and bought one, they are a bit more expensive then the cheaper ones but I've plugged it in and tested it and it now it works fine i hope that it help

                                    Link

                                    1 Reply Last reply
                                    0
                                    • stevebusS Offline
                                      stevebusS Offline
                                      stevebus
                                      wrote on last edited by
                                      #18

                                      Hey @kylehull .. thanks for the response. I've heard that before, about the need to have a genuine FTDI chipset. I had previously dug out the magnifying class and i'm pretty sure my Nano (that didn't work) says "FTDI" on the serial chipset. (not sure if there is another way to tell)... but based on the symptoms, I guess maybe it didn't..

                                      either way, since the 2.0 libraries game out, I rebuilt my Ethernet GW and it has been rock solid. So I'm not going to rock the boat there :-).

                                      thanks for following up on this old thread, though. I'm sure it'll help others.

                                      Vera Edge/UI7; mysensors; Arduino's and RPIs; data posted to Azure for an IoT 'dashboard' of my house

                                      Opinions expressed here are my own and do not necessarily reflect Microsoft's feelings on a given topic :-)

                                      1 Reply Last reply
                                      0
                                      • miroM Offline
                                        miroM Offline
                                        miro
                                        wrote on last edited by
                                        #19

                                        0_1480761242515_error.png

                                        So, to get rid of my error messages "Can´t Detect Device" I have to build a Ethernet gateway instead of having the serial gateway?

                                        korttomaK 1 Reply Last reply
                                        0
                                        • miroM miro

                                          0_1480761242515_error.png

                                          So, to get rid of my error messages "Can´t Detect Device" I have to build a Ethernet gateway instead of having the serial gateway?

                                          korttomaK Offline
                                          korttomaK Offline
                                          korttoma
                                          Hero Member
                                          wrote on last edited by
                                          #20

                                          @miro are you getting the "Can´t Detect Device" for MySensor devices? That is a new one. If your device is working normally try going in to the advanced variables tab for your device and see if there is a variable called "CommFailure" and change the value to 0. Restart the luup engine.

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


                                          10

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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