I can't find on google or on the forum how to make an esp8266 based gateway with a local relay connected report the state of the relay back to my controller(which is a vera, but that should't matter). Thanks for the help.
@Shivanand-Chanderbally I recently finished a node using the acs712 and found it to be very sensitive to nearby magnetic fields. It is best to have it as far away from these as you can.
I figured it out: there is a bug in UI7 where when I press the start button for inclusion mode it never stops and the manual stop button doesn't do anything. It took a lot of luup restarts at the right moment to get it to work. I don't know if this is a bug but I tried this on 2 Veras and it did the same so it's not just for me I think....