Freshwater Ato switches on during reboot.

Do you have a question on how to do something.
Ask in here.
Post Reply
lmolenmaker
Posts: 59
Joined: Tue Nov 12, 2013 5:58 am

Re: Freshwater Ato switches on during reboot.

Post by lmolenmaker »

Thank you Roberto.

I try to understand this little piece of code, so I can set more triggers.

What does the second line stand for (7 and 255) ?

Sorry for all those questions. I just want to get it right.

Leslie
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freshwater Ato switches on during reboot.

Post by rimai »

Ahh..
You really don't need that.
If you remove, it will also work.
We have 8 custom variables, from CustomVar[0] to CustomVar[7].
I included it in there just to make sure the portal will show up the custom var section all the time.
It checks for a value that is not zero in any of the of variables. If it finds it, it displays the section. If all are zero, it hides.
So, just to ensure the section will show up all the time, even when your port5 is off, I assigned the last variable to a value that is non zero to force the Portal to display the section
Roberto.
Post Reply