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. Feature Requests
  3. Increase VAR limit

Increase VAR limit

Scheduled Pinned Locked Moved Feature Requests
3 Posts 3 Posters 815 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.
  • N Offline
    N Offline
    NielBierman
    wrote on last edited by
    #1

    I've got a soil moisture probe that has 8 sensors for soil moisture and 8 for temperature. The current VAR only allows for VAR1-5. Is there a reason that this limit can not be increased to say VAR1-15? (Some soil moisture probes has up to 15 sensors)

    alexeliteA skywatchS 2 Replies Last reply
    1
    • N NielBierman

      I've got a soil moisture probe that has 8 sensors for soil moisture and 8 for temperature. The current VAR only allows for VAR1-5. Is there a reason that this limit can not be increased to say VAR1-15? (Some soil moisture probes has up to 15 sensors)

      alexeliteA Offline
      alexeliteA Offline
      alexelite
      wrote on last edited by
      #2

      @NielBierman, the library provides 254 sensors definitions, and for each you can use types VAR1-5, that means 1270 distinct values.
      If you have 8 soil moisture and 8 temp you should define a sensor for every pair.
      Sensor 0 : VAR1 and TEMP
      ...
      Sensor 8 : VAR1 and TEMP

      1 Reply Last reply
      1
      • N NielBierman

        I've got a soil moisture probe that has 8 sensors for soil moisture and 8 for temperature. The current VAR only allows for VAR1-5. Is there a reason that this limit can not be increased to say VAR1-15? (Some soil moisture probes has up to 15 sensors)

        skywatchS Offline
        skywatchS Offline
        skywatch
        wrote on last edited by
        #3

        @NielBierman Why are you using VARs when there are already moisture and temperature categories available to you?
        Just give each temp and moisture sensor a unique CHILD_ID (simply by adding 1-8 in the name) and you are done!

        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


        14

        Online

        12.0k

        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