Hi,
I have an Arduino with a network shield on my local network that is going to control (button push to open/close) and report status of my garage door (open, partially open, closed and direction of travel. It will use the magnetic reed switches that came with the garage door opener for up/down limits, a Sharp GP2Y0A710K0F to sense location and up/down motion and a ECS1030-L72 to confirm if the motor is running (the GP2Y0A710K0F is rather noisy).
My questions are:
1. How would I send TCP/IP communications from HG to the Arduino poll or button push)? Right now I have the Arduino receiving and parsing a HTTP GET request and that seems to work adequately but maybe there is a better way.
2. How would I get HG to listen for a response from the Arduino and display it in both the web interface and the Andriod app (again, poll or button push)?
3. Would it be better to have HG poll the Arduino for status or have the Arduino send status updates periodically?
When I get this all working smoothly, I'll post the recipe with schematics and code.
Thanks!