Hi there.
I set the output to 0 in setup.
As soon as it connects to the cloud , it changes to 1.
I'm new to the cloud thing , so I''m not sure what is going on. I assume the "RelayOnChange" is being called when the connection is made. It does not take any parameters , so how can you tell if the switch is being turned off or on? There is only a "OnChange()" call,
Cheers
Rob