21.02.2020, 20:57
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)
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)