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. Development
  3. Where do you set the device type for Vera

Where do you set the device type for Vera

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 3.2k 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
    naveen
    wrote on last edited by naveen
    #1

    This may be a silly question...but I'm wondering where in the Arduino code you specify whether you want Vera to show the device as blinds, motions sensor, light sensor etc...

    Is it just this line "gw.sendSketchInfo("Blinds", "2.0");"

    If so, what other things can be used? Is there a way to figure out what commands can be sent with different sensors in Vera?

    Thanks!

    BulldogLowellB 1 Reply Last reply
    0
    • N naveen

      This may be a silly question...but I'm wondering where in the Arduino code you specify whether you want Vera to show the device as blinds, motions sensor, light sensor etc...

      Is it just this line "gw.sendSketchInfo("Blinds", "2.0");"

      If so, what other things can be used? Is there a way to figure out what commands can be sent with different sensors in Vera?

      Thanks!

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

      @naveen

      in the older API

      gw.sendSensorPresentation(i, S_LIGHT);

      Screen Shot 2014-07-23 at 10.26.56 PM.png

      N 2 Replies Last reply
      0
      • BulldogLowellB BulldogLowell

        @naveen

        in the older API

        gw.sendSensorPresentation(i, S_LIGHT);

        Screen Shot 2014-07-23 at 10.26.56 PM.png

        N Offline
        N Offline
        naveen
        wrote on last edited by
        #3

        @BulldogLowell said:

        Awesome! Thanks

        1 Reply Last reply
        0
        • BulldogLowellB BulldogLowell

          @naveen

          in the older API

          gw.sendSensorPresentation(i, S_LIGHT);

          Screen Shot 2014-07-23 at 10.26.56 PM.png

          N Offline
          N Offline
          naveen
          wrote on last edited by
          #4

          @BulldogLowell

          One follow-up question, how do I know what commands vera will send to the sensor or what commands the sensor will send back for a given SENSOR_TYPE. e.g. will it send V_DIMMER or V_DOWN etc. It seems the S_COVER SENSOR_TYPE uses V_DIMMER but I'm not sure how that was figured out.

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


          21

          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