I am trying to set up a system to automate certain tasks in my home.
I am thinking of a solution in which a server-side application could send / receive Arduino commands / data (supplied with Arduino Ethernet Shield ) over the Internet.
Here, the Arduino can act as a touch interface to a server application or an interface of a command executor for a server application.
eg. (user history):
In the upper water tank in my house, there is a water level sensor attached to the Arduino (attached to the Arduino Ethernet Shield screen).
Another Arduino (supplied with the Arduino Ethernet Shield) is connected using a relay / latch. This relay / latch is then connected to the water pump.
Now the server-side application on the Internet can receive / receive water level information from Arduino in the water tank.
Depending on the received water level information, the web application should send the appropriate signals / commands to the Arduino to the water pump in order to switch 'ON' or turn on the βOFFβ water pump.
Now that such a system works over the Internet, I am thinking of using one of the types of solutions in order of my priority:
To solve the number 1, I need to implement the XMPP client, which will be located on the Arduino.
Can I write an XMPP client small enough to live on an Arduino?
If so, what is the smallest possible XMPP client functionality that I need to write for Arduino so that it can access XMPP server solutions, such as GTalk , etc.
For solution number 2 and 3, I need guidance in the implementation.
And which solution would be cost-effective and easily extensible?
source share