I want to control relay from ubidots dashboard. I created variable and assigned a switch widget to it. I uploaded following code in NodeMCU.
I do get my device online and the variable also is showing online but when i toggle the switch in ubidots seems doing nothing, i can not see any change of the relay contacts, could anyone help on this context.
subscribe-ubidots.ino (1.9 KB)