V-VarX support
-
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.
-
Could you please share where did you see that?
-
@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
-
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.
-
Could it be that it is working only as a variable accessible from scripts and not from dashboard?
-
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.
-
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.cppThere 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.
-
@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.
Suggested Topics
-
Vera Gateway Versions
Troubleshooting • 29 Mar 2014, 19:59 • karenbobiv 30 Mar 2014, 07:20 -
Questions about an old setup
Domoticz • 4 May 2022, 02:55 • dbemowsk 9 May 2022, 17:30 -
Calculate Delta T of two temperature sensors with lua
Domoticz • 5 Oct 2022, 10:06 • Mela 5 Oct 2022, 10:06 -
Trying to automate in Domoticz
Domoticz • 25 Feb 2022, 23:13 • Feliw05 28 Feb 2022, 03:39 -
Roller shutter(s_cover) on Domoticz
Domoticz • 5 Aug 2019, 08:43 • Tmaster 21 Jun 2022, 20:48 -
eventsystem: problem writing file
Domoticz • 27 Feb 2022, 00:11 • Feliw05 27 Feb 2022, 17:50