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.
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 ]
}
@Alphalove
I highly recommend itead products, especially for those just getting into MySensors. They remove alot of the pitfalls that electronic noobs (such as myself) encounter when building their first sensor nodes. I used the RMini to build my first relay and it could not have been easier. Many of the troubleshooting problems posted on the forum have to do with setting up relays and these boards eliminate many of those issues.
I also recommend the nano shield from itead to any entry level electronics noobs for setting up early sensor nodes who are not ready for intricate soldering. It provides a nRf socket and a power jack and breaks out all of the nano pins with individual power and ground headers. Just plug in a nano and nRf and program from USB and power the entire setup through a single jack - perfect for beginners.
Good to know, indeed my setup is working now with stable libraries thanks to this helpful community.
I'll go back later to development libraries to see if I'm able to work with it as well.
@hek said:
Does the repeater send any sensor data itself? The dashboard "last update" only reflect data coming from the repeater.
No, all it is is a repeater. The only node that could send its signal through it is my doorbell which won't send anything until the doorbell is pressed, so I guess that all makes sense.
I only have one sensor that is communicating all the time, which is my garage door switch which also sends temp values. The funny thing is that it is this switch that is the most reliable and ALWAYS works the instant I ask it to. the relay switches that I have turning operating some lights, that is the only thing I have them doing and there are times that I am having to repeatedly press there button on the dashboard to finally get the relay to work.