This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Script to calculate how many
#5
Thank you admin, but it didn't work for me,
All of my objects is already following a fixed address,

14/4/x is for HVAC Mode, 14/3/X is for Shift set Point

That's what I did

- I added a tag named "shift" for 14/3/12 and created an event-based script with the tag shift

addr = event.dstConfusedplit('/')[3]
mode = grp.getvalue('14/4/' .. addr)

-- write input value to output only when the mode is comfort (1)
if mode == 1 then
value = event.getvalue()
grp.checkwrite('14/3/' .. addr, value)
end
then went to the visulasation and changed the mode to away, and tried to change the temp and it changed

Have I done something wrong?
Reply


Messages In This Thread
Script to calculate how many - by Fahd - 11.04.2022, 11:28
RE: Script to calculate how many - by admin - 11.04.2022, 12:27
RE: Script to calculate how many - by Fahd - 11.04.2022, 14:58
RE: Script to calculate how many - by admin - 12.04.2022, 09:04
RE: Script to calculate how many - by Fahd - 12.04.2022, 09:33
RE: Script to calculate how many - by admin - 12.04.2022, 11:37
RE: Script to calculate how many - by Fahd - 12.04.2022, 11:49

Forum Jump: