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.

Simple scripts result in 'nil' logs
#1
I have made some new scripts. For a lot of them, I have used information from this forum. Thanks for that!

One of my scripts works good, but continuously gives '* nil* logs in the log file.
It is a planned script that runs every 10 minutes. What am I doing wrong?
The script adds the airflow of ventilator 1 and ventilator 2, so I can see what the total airflow (vent3) in my house is.
All objects are '4 byte unsigned integer'.


Script:
vent1=grp.getvalue('11/1/22')
vent2=grp.getvalue('11/3/22')
vent3=vent1+vent2
grp.update('43/0/22',vent3)
Reply


Messages In This Thread
Simple scripts result in 'nil' logs - by Dirk79 - 21.02.2020, 20:57

Forum Jump: