Page 1 of 1

Custom Variable based on I/O value

Posted: Wed Apr 22, 2020 3:12 pm
by ucez
Using a float switch on the I/O, would like to get an email when the switch is activated. Thought it would be easiest to set a custom variable, then report via portal using;

ReefAngel.CustomVar[0]= ReefAngel.IO.GetChannel(0);

However, not getting any response from portal. Tried setting the portal value to 0 and 1. Thoughts?

Re: Custom Variable based on I/O value

Posted: Wed Apr 22, 2020 3:16 pm
by ucez
NVM working fine, guess I didn't give it long enough...