Custom Variable based on I/O value
Posted: Wed Apr 22, 2020 3:12 pm
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?
ReefAngel.CustomVar[0]= ReefAngel.IO.GetChannel(0);
However, not getting any response from portal. Tried setting the portal value to 0 and 1. Thoughts?