Skip to content
  • 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. Help with setup
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Help with setup

Scheduled Pinned Locked Moved Vera
unoveralite
12 Posts 4 Posters 5.9k 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 Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #2

    Communication seems to be ok from what I can see.

    Problem seems to be between vera/gateway.

    What happens if you download the latest 1.4 from github and upload using Arduino IDE? Any difference? You can start with updating gateway and see if inclusion mode works when pressing button on Vera.
    Any strange wiring on gateway that might trigger inclusion by button?

    1 Reply Last reply
    0
    • CaptainZapC Offline
      CaptainZapC Offline
      CaptainZap
      wrote on last edited by
      #3

      Hi Hek,

      Thank you for the suggestion... I was thinking of using IDE tomorrow. Can you tell me if the plugin should be displayed like this on Vera ?
      plugin.jpg

      This doesn't seem right to me... When I press Start it should be highlighted right ?
      I appreciate the huge work you've done and will do my best to help the community as much as I can.

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

        @CaptainZap said:

        Can you tell me if the plugin should be displayed like this on Vera ?

        The library version should show up after the arduino gateway has started correctly.

        This doesn't seem right to me... When I press Start it should be highlighted right ?

        Yes.

        1 Reply Last reply
        0
        • CaptainZapC Offline
          CaptainZapC Offline
          CaptainZap
          wrote on last edited by CaptainZap
          #5

          I've tried flashing the gateway with IDE and I get a compilation error on line:
          MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN, 6, 5, 4);
          saying that 'MyGateway' does not name a type. Any ideeas ?

          Thanks.

          LE: Figured it out... my bad, compiling now.
          LLE: Still doesn't work :|
          LLLE: Tried using these chinese nano ripoffs but they are not detected at all by Vera. These CH340G chips suck so bad... My only way of getting this to work is with my Uno. Will appreciate any help anyone can provide.

          R D 2 Replies Last reply
          0
          • CaptainZapC CaptainZap

            I've tried flashing the gateway with IDE and I get a compilation error on line:
            MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN, 6, 5, 4);
            saying that 'MyGateway' does not name a type. Any ideeas ?

            Thanks.

            LE: Figured it out... my bad, compiling now.
            LLE: Still doesn't work :|
            LLLE: Tried using these chinese nano ripoffs but they are not detected at all by Vera. These CH340G chips suck so bad... My only way of getting this to work is with my Uno. Will appreciate any help anyone can provide.

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

            @CaptainZap

            I also had problems to get my Vera to recognize these Chinese clones. I ended up buying a genuine Gravitec Arduino Nano to use as a gateway and everything works fine now. The clones work just fine for the sensors though, just not for the Gateway.

            1 Reply Last reply
            0
            • CaptainZapC Offline
              CaptainZapC Offline
              CaptainZap
              wrote on last edited by CaptainZap
              #7

              Will any FTDI based arduino nano work ?
              I saw an iduino on aliexpress and I'm not sure if it will work...
              I also got a reply from the seller that this also has FTDI chip onboard. Wondering if they'll be compatible or not.

              1 Reply Last reply
              0
              • CaptainZapC Offline
                CaptainZapC Offline
                CaptainZap
                wrote on last edited by CaptainZap
                #8

                Hi Guys,

                It's been a while since I posted here, but I just got my new chinese iduino based on an FTDI chip and was able to get it to work as a gateway, then used one of the other arduino nano hooked up to a motion sensor and was detected by the gateway and I have to say this is AWSOME !!! You guys have done a phenomenal job !!!!
                Now I have some other questions... the motion sensor seem to remain tripped only for a few seconds, can you tell me where can I adjust this to say.... 20 seconds ? I've seen in the sketch this : unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds)
                But it doesn't seem that way, should I adjust it from the sensor itself as explained below ?
                hcsr501.png

                One more question, can anyone explain why would it set itself as arduino Node 80 (not that I care too much :) ), being the first and single device ?
                Next thing I wanna build is a multisensor, motion + temperature (dallas temperature sensor) sensor. Anyone got a good sketch I might use ?
                I would also want to use a temperature sensor + 1 relay for some automation I have in mind.

                Thank you very much, for any opinions you might have.

                LE: I wanted to do some range tests, and disconnected the motion sensor (powered by usb from computer or phone charger) but it seems that once I've disconnected it and moved it around I was never able to get to work again. Not even placing it back in the same location it used to work it still failed to report to Vera - nothing on the logs from the sensor - looks like it vanished. Did I do something wrong ?
                LLE: I reset the gateway and it started to work. Anyone know why it would freeze and stop receiving incoming messages ?

                I know I've asked a lot of questions but hopefully someone can help me :D

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

                  @CaptainZap said:

                  the motion sensor seem to remain tripped only for a few seconds, can you tell me where can I adjust this to say.... 20 seconds

                  Did you adjust the "trigger time" trim pot?

                  1 Reply Last reply
                  0
                  • CaptainZapC Offline
                    CaptainZapC Offline
                    CaptainZap
                    wrote on last edited by
                    #10

                    No I haven't that's why I asked :)

                    1 Reply Last reply
                    0
                    • CaptainZapC CaptainZap

                      I've tried flashing the gateway with IDE and I get a compilation error on line:
                      MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN, 6, 5, 4);
                      saying that 'MyGateway' does not name a type. Any ideeas ?

                      Thanks.

                      LE: Figured it out... my bad, compiling now.
                      LLE: Still doesn't work :|
                      LLLE: Tried using these chinese nano ripoffs but they are not detected at all by Vera. These CH340G chips suck so bad... My only way of getting this to work is with my Uno. Will appreciate any help anyone can provide.

                      D Offline
                      D Offline
                      Dean
                      wrote on last edited by
                      #11

                      @CaptainZap said:

                      I've tried flashing the gateway with IDE and I get a compilation error on line:
                      MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN, 6, 5, 4);
                      saying that 'MyGateway' does not name a type. Any ideeas ?

                      Thanks.

                      LE: Figured it out... my bad, compiling now.
                      LLE: Still doesn't work :|
                      LLLE: Tried using these chinese nano ripoffs but they are not detected at all by Vera. These CH340G chips suck so bad... My only way of getting this to work is with my Uno. Will appreciate any help anyone can provide.

                      I have the same problem, can you share what you did to resolve the issue?

                      CaptainZapC 1 Reply Last reply
                      0
                      • D Dean

                        @CaptainZap said:

                        I've tried flashing the gateway with IDE and I get a compilation error on line:
                        MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN, 6, 5, 4);
                        saying that 'MyGateway' does not name a type. Any ideeas ?

                        Thanks.

                        LE: Figured it out... my bad, compiling now.
                        LLE: Still doesn't work :|
                        LLLE: Tried using these chinese nano ripoffs but they are not detected at all by Vera. These CH340G chips suck so bad... My only way of getting this to work is with my Uno. Will appreciate any help anyone can provide.

                        I have the same problem, can you share what you did to resolve the issue?

                        CaptainZapC Offline
                        CaptainZapC Offline
                        CaptainZap
                        wrote on last edited by
                        #12

                        @Dean said:

                        @CaptainZap said:

                        I've tried flashing the gateway with IDE and I get a compilation error on line:
                        MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN, 6, 5, 4);
                        saying that 'MyGateway' does not name a type. Any ideeas ?

                        Thanks.

                        LE: Figured it out... my bad, compiling now.
                        LLE: Still doesn't work :|
                        LLLE: Tried using these chinese nano ripoffs but they are not detected at all by Vera. These CH340G chips suck so bad... My only way of getting this to work is with my Uno. Will appreciate any help anyone can provide.

                        I have the same problem, can you share what you did to resolve the issue?

                        Bought an FTDI arduino nano...

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


                        5

                        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
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular