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. Distance+Humidity, Vera Registration Issue

Distance+Humidity, Vera Registration Issue

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 2.1k 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.
  • N
    N
    NotYetRated
    wrote on last edited by NotYetRated
    #1

    I have mashed code together to run a temp/humidity sensor as well as distance sensor off of the same Arduino. I have the unit functioning properly, where I am getting temp, distance and humidity readings off of the serial monitor.

    I have included the device in my vera, and 3 devices are recognized.

    • Temp
    • Humidity
    • "Arduino Node 1"

    The first 2 are correct, and are reporting correctly. The last one should be distance, but it is not, and is not reporting correctly. Below is the code, as well as a snap of the vera interface. Any assistance would be appreciated!

    I think the issue is in how I modified the void setup, adding two gw.sendSketchInfo? If I just add the native distance sensor code, vera reports the correct distance device. However, it still reports that "Arduino Node 1" device.

    http://imgur.com/DThOePT

    Distance_Temp_Humid.ino

    BulldogLowellB 1 Reply Last reply
    0
    • N NotYetRated

      I have mashed code together to run a temp/humidity sensor as well as distance sensor off of the same Arduino. I have the unit functioning properly, where I am getting temp, distance and humidity readings off of the serial monitor.

      I have included the device in my vera, and 3 devices are recognized.

      • Temp
      • Humidity
      • "Arduino Node 1"

      The first 2 are correct, and are reporting correctly. The last one should be distance, but it is not, and is not reporting correctly. Below is the code, as well as a snap of the vera interface. Any assistance would be appreciated!

      I think the issue is in how I modified the void setup, adding two gw.sendSketchInfo? If I just add the native distance sensor code, vera reports the correct distance device. However, it still reports that "Arduino Node 1" device.

      http://imgur.com/DThOePT

      Distance_Temp_Humid.ino

      BulldogLowellB
      BulldogLowellB
      BulldogLowell
      Contest Winner
      wrote on last edited by
      #2

      @NotYetRated

      You are presenting two sensors as child number 0

      gw.sendSensorPresentation(CHILD_ID_HUM, S_HUM);

      N 1 Reply Last reply
      1
      • BulldogLowellB BulldogLowell

        @NotYetRated

        You are presenting two sensors as child number 0

        gw.sendSensorPresentation(CHILD_ID_HUM, S_HUM);

        N
        N
        NotYetRated
        wrote on last edited by
        #3

        @BulldogLowell

        Quick fix. Thanks so much for the quick response! Stupid mistake.

        BulldogLowellB 1 Reply Last reply
        0
        • N NotYetRated

          @BulldogLowell

          Quick fix. Thanks so much for the quick response! Stupid mistake.

          BulldogLowellB
          BulldogLowellB
          BulldogLowell
          Contest Winner
          wrote on last edited by
          #4

          @NotYetRated

          I've been doing the same stuff, creating multi-sensors, making mistakes like that are part of it.

          I'll post some when I'm back.

          Fun stuff.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          18

          Online

          12.4k

          Users

          11.2k

          Topics

          113.4k

          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