availability of table domoticz (dz)
Posted: Monday 12 February 2018 10:39
Ciao,
a question....
I have a script in dzVents that cares about heating.
Its configuration is a table with all data in it... included the wanted temperature.
Actually it is a simple float value, but I was willing to have a selector switch (or a virtual setpoint) to setup in a smarter way
My questionis... I define the table at the top of the script before the return { } option...
the 3rd position is the wanted temp
Is there a way to get a evice value before the dzvents instructions?
like
a question....
I have a script in dzVents that cares about heating.
Its configuration is a table with all data in it... included the wanted temperature.
Actually it is a simple float value, but I was willing to have a selector switch (or a virtual setpoint) to setup in a smarter way
My questionis... I define the table at the top of the script before the return { } option...
Code: Select all
local roomAdjust = {}
roomAdjust['Camera'] = {'TEM_Camera', 'SPC_Camera', 23.0, 0.3, 4, 5, 26, 0.5, 0, 'MAG_Camera_Finestra', 15 }
...
return {
on = {
...Is there a way to get a evice value before the dzvents instructions?
like
Code: Select all
local roomAdjust = {}
roomAdjust['Camera'] = {'TEM_Camera', 'SPC_Camera', dz.devices('mySetPoint').setPoint, 0.3, 4, 5, 26, 0.5, 0, 'MAG_Camera_Finestra', 15 }
...
return {
on = {
...