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 1.7k 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 Offline
    N Offline
    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 Offline
      BulldogLowellB Offline
      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 Offline
        N Offline
        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 Offline
          BulldogLowellB Offline
          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
          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.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