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.

can't get floor heating lua script to work on wiser
#3
(10.11.2022, 12:13)admin Wrote: 32/1/4 is most likely boolean so this if does not work:
Code:
if (statoonoff == 1) then

It should be compared with true/false not 1/0. It can also be simply written like this:
Code:
if statoonoff then


32/1/4 was 01.001 data type, idk why it wasnt working. I changed it to 01.002 and used

if statoonoff

and its working, so thank you!!
Reply


Messages In This Thread
RE: can't get floor heating lua script to work on wiser - by h5345 - 10.11.2022, 14:44

Forum Jump: