[singlepic id=205 w=500 float=center]
How to use
Opening in the browser the thermostat IP address (defined by the Arduino firmware) you can access the page and set the temperature of the system, the functions or active manually the boiler.
In the web page in memory dell’Arduino is also inserted a reference to the graphs of the gadget sites, in the graph bottom of the page where you can choose which display period (from 1 minute to 1 year).
The web page contains the top, some buttons and boxes for the settings. There is a refresh button and below there are an indication of the status of the boiler (OFF or ON): the system can be used for both heating systems both cooling and air conditioning: it depends on how connected the relay. In fact, with the exchange between C and NO it controls the boiler, while that between C and NC controls the air conditioner, this is because until the temperature is less than the threshold, the relay is energized and closes NO to NC, so it can turn on a boiler or other heating system, while when the temperature exceeds the set threshold, the relay returns to rest and NC close to C, going to control the cooling system.
We continue with the analysis of web page talking about the radio buttons under the present condition of the boiler, which are three and let you set how our system should work: clicking on the relay sensor is controlled based on temperature detected by the Dallas sensor, while opting for manual you can make the relay turn on and off using the On-screen buttons Boiler (relay activated), and Off Boiler (relay deactivated). Finally, opting for thermostat, the relay will be controlled according to the condition of our input IN interface card, this mode allows you to enslave the functioning of our system to an existing thermostat is substantially repeated in the environment and to relay the condition of the thermostat itself.
Below the radio buttons that define how, is the section of the temperature setting: Click in the box, you can set at will (within limits) the temperature at which the system should take, the setting made applies here by clicking the Set temperature.
[singlepic id=204 w=500 float=center]
We conclude the description of the web page with the chart, which summarizes the time courses of temperature measured by the sensor and the display may relate to a period of time to choose between 1 minute and 1 year.
As mentioned, the public system at that site www.pachube.com the value of the measured temperature, in a personal page reserved for each registered user, this site provides a service for storage and display of data from various sources, ranging from information gathered from sensors in environmental data, various measures, then everything is shared, or made accessible to registered users of the community.
In order to publish data on www.pachube.com you must first register and create an account, then take your chosen username and validated by the site and write in the special section of the firmware on the feed, without informing the user name of firmware, our system will not be able to access the site and publish the data.
Delivery of data for the upgrade can be done with a frequency set by firmware, bearing in mind the limits allowed by the site (about 50 accesses per hour) for obvious reasons, because if any application tries to access in real time site for uploading the data, at some point the bandwidth of the connection used by it and would soon be saturated with its server would have some problem to run.
Well, having said that we can conclude by pointing out that clicking on the word pachube that is below the temperature graph, you enter the page on www.pachube.com mail account used by the system to publish data on the page shown address of the corresponding link, containing the account name.
Great job- very impressive!
What kind of tool did you use to create the HTML code?
That is one place where I lack experience, and I am working on a similar project.
Also, how can one make the site secure to avoid tampering by unauthorized users?
Many thanks!
Thank you,
I use simple Notepad++ and test the page on the various browser.
The page is very simple.
You can add a login page on Arduino
Take a look http://www.arduino.cc/playground/Code/WebServer
[…] (http://www.open-electronics.org/web-thermostat-with-arduino/)Alarm systems (http://www.abbotsfordsecurityalarms.ca/blog/?p=12)Appliance controllers […]
Hi Boris. Very good job. Thanks for the information.
I have one question: in order to get/set current data in the board from Pachube, do you connect directly arduino RJ45 cable to your home router?
Thanks in advance!
Hi Alex, in the sketch there are all network config.
To send data to pachube and set temperature you have to connect the board to ethernet
[…] Visto en Open Electronics + Pachube + Descargar esquema, PCB, firmware y […]
[…] Web thermostat with Arduino […]
[…] Web thermostat with Arduino […]