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. How to connect gateway sensor to Vera

How to connect gateway sensor to Vera

Scheduled Pinned Locked Moved Vera
4 Posts 3 Posters 1.7k 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.
  • JohnRobJ Offline
    JohnRobJ Offline
    JohnRob
    wrote on last edited by
    #1

    Hi,
    I'm just starting with MySensors. I've build a gateway based on:
    Sensebender_GW
    W5100
    RFM69

    My plan was to start out with a simple "read analog pin" sensor located on the GW.

    The GW is running, and I have the MySensors Plugin recognized by Vera and reporting connected.

    I based my node addition to the gateway on this code from the Mihai post sensor on gateway reference

    My issue is, I don't know how to create a MySensors sensor device on Vera. I can't use the normal include procedure as the sensor is on the gateway. But I tried anyway. by starting inclusion and resetting the gateway but to no avail.

    Any input would be appreciated.

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

      What I have done for Vera to discover "Sensors" defined in the GW is this:

      Add this to your GW sketch just after the port definition.

      // How many clients should be able to connect to this gateway (default 1)
      #define MY_GATEWAY_MAX_CLIENTS 2
      

      Then when you have everything back up and running with Vera again you can connect another controller simultaneously called MYSController from a Windows computer.
      When you are also connected from MYSController start the inclusion mode from Vera and then press the "Discover" button in MYSController.

      • Tomas
      1 Reply Last reply
      0
      • JohnRobJ Offline
        JohnRobJ Offline
        JohnRob
        wrote on last edited by
        #3

        @Tomas,

        Thank you :)
        I took me awhile to comprehend what you were saying but I think I understand now.

        1 Reply Last reply
        0
        • mntlvrM Offline
          mntlvrM Offline
          mntlvr
          wrote on last edited by
          #4

          Hello
          Use the include procedure on the MYSensors Plugin Icon under settings you will see start and stop if all is working properly just press the start button you will see a dialog that tells you to activate the sensor you wish to add. If all goes correctly you will see a node added as well as the sensor. Now that is how it use to work with earlier Libraries if you are using 2.2 library I will presume it will work the same way.

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


          13

          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