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. Domoticz
  4. V-VarX support

V-VarX support

Scheduled Pinned Locked Moved Domoticz
8 Posts 5 Posters 2.6k 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.
  • D Offline
    D Offline
    dbemowsk
    wrote on last edited by
    #1

    Does Domoticz now support V-VarX variables? I know it didn't before, but I thought I saw some stuff recently that made me think it does now.

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      Could you please share where did you see that?

      D 1 Reply Last reply
      0
      • gohanG gohan

        Could you please share where did you see that?

        D Offline
        D Offline
        dbemowsk
        wrote on last edited by
        #3

        @gohan I don't know if I am reading it wrong, but here is what I found on a google search that I did.
        https://www.domoticz.com/forum/viewtopic.php?f=42&t=9708&p=115515&hilit=mysensors+v_var1&sid=75248c566d3ae815df85ccd0fd07e549#p115515

        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

        1 Reply Last reply
        0
        • nagelcN Offline
          nagelcN Offline
          nagelc
          wrote on last edited by
          #4

          I used it on the water meter sketch and it did work. I can't claim to understand the usage -- just used Var1 exactly as the example sketch showed.

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #5

            Could it be that it is working only as a variable accessible from scripts and not from dashboard?

            S 1 Reply Last reply
            0
            • gohanG gohan

              Could it be that it is working only as a variable accessible from scripts and not from dashboard?

              S Offline
              S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #6

              as seen here: https://www.mysensors.org/controller it does support V_Var1 but with some limitations. Im having a hard time to see what kind if limitations it is, but like gohan mentioned it can be script only.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pjr
                wrote on last edited by
                #7

                Yes it does. Take a look at domoticz source code and you can see there is V_VAR and V_VAR_1-5 implemented:
                https://github.com/domoticz/domoticz/blob/development/hardware/MySensorsBase.cpp

                There is little description how these are used with domoticz:

                E.g. In Domoticz V_VAR is used to store and restore node variables. They are stored in the Domoticz database when send by the node. The node can retrieve a previous stored value from the database. There is no easy way to set the variables. So V_VAR kan be used as remote permanent memory.

                Source: https://github.com/mysensors/MySensors/issues/729

                D 1 Reply Last reply
                0
                • P pjr

                  Yes it does. Take a look at domoticz source code and you can see there is V_VAR and V_VAR_1-5 implemented:
                  https://github.com/domoticz/domoticz/blob/development/hardware/MySensorsBase.cpp

                  There is little description how these are used with domoticz:

                  E.g. In Domoticz V_VAR is used to store and restore node variables. They are stored in the Domoticz database when send by the node. The node can retrieve a previous stored value from the database. There is no easy way to set the variables. So V_VAR kan be used as remote permanent memory.

                  Source: https://github.com/mysensors/MySensors/issues/729

                  D Offline
                  D Offline
                  dbemowsk
                  wrote on last edited by
                  #8

                  @pjr That was one thing that made it hard for me on some nodes when I was using Domoticz. One of the big ones was my sprinkler node. The node passes zone names and run times using the V-VARx if you use the code on the build page. Because of the fact that at the time Domoticz didn't support those, I had to re-write code for the node to hackishly (if that's even a word) make the three values work.

                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                  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


                  0

                  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