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.
Hi again
I think so to, here is the new code.
Scene_Controller_6_buttons_and_5_Relays.ino
I reduced the relays to 3, and all the devices is in vera, but the relay status update is stile slow / not happing
The scene controller has now child id = 0 and the relays 1-3.
It's been a while since I posted here, but openLuup has continued development and is now a really very capable controller with extensive plug-in compatibility with Vera. Latest version always available from GitHub here https://github.com/akbooer/openLuup
Might be helpful for somebody... Things configuration for OpenHab2:
Bridge mysensors:bridge-eth:gateway_2 [ ipAddress="192.168.178.50", tcpPort=5003, sendDelay=200, enableNetworkSanCheck=true ] {
/** define things connected to that bridge here */
light sonoff01 [ nodeId="0", childId="0", requestAck=true ]
}
@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.