Software

Here you will find information about the installation of the arduino DIE, as well as the homecontrol4me sketches.
homecontrol4me (for Arduino) is a free, GPL v3 licensed software.

Download

First off, you want to download the Arduino IDE 0023 Arduino.cc
It is available for Windows, Mac and Linux.

Why version 0023 and not the current version 1.0?
The project homecontrol4me and the used libraries were developed with and for the version 0023. From version 1.0 on the IDE uses a different syntax with a couple of changed libraries.

With your help homecontrol4me will soon be available for version 1.0 as well!

Libraries

homecontrol4me uses several libraries that are not contained within the Arduino IDE.
These libraries must be placed in the folder "libraries" within the Arduino IDE folder. The following libraries are necessary:
  • Ethernet DHCP - made by Georg Kaindl
  • Streaming - mady by Mikal Hart
  • Webduino - mady by Ben Combee and Ran Talbott using Auth Extension made by Claudio Baldazzi
  • RCSwitch – made by Suat Özgür

Get these libraries here. If you use a Mac rightclick in Finder at the Arduino IDE - "Show Package Contents" from the contextual menu. The folder "libraries" is under Contents - Resources - Java.

Driver installation

At first you need to connect the Arduino board via USB to your PC. The board comes with a chip that simulates a serial interface. If you use windows you need to install a driver to use it. As soon as you connect the Arduino the windows configuration will start working. You can find the driver inside of the folder "Drivers" of the Arduino IDE directory. If you use a Mac, the newer Arduinos will be recognized automatically. Only older ones will need additional drivers which are contained within the MAC installation.

If you have installed the drivers you must open the Arduino IDE and select your Arduino model within the "Tools-Board" menu (Arduino Uno or Arduino Mega2560, etc.). Afterwards you choose the virtual connection of the Arduino within the "Tools-Serial Port" menu (if you don’t know the correct one just try).

Installation of the sketches

Now you need to download the appropriate sketches here:
GitHub
Attention: Sometimes the control does not react to the original remote. To fix this you need search the file RCSwitch.cpp within the folder libraries\RCSwitch for the line unsigned long delayTolerance = delay*0.3; and change the value to delay*0.8

Is all done, extract both Zip-Dateien and open the "homecontrol4me_eeprom_prepare.pde" in Arduino IDE. Press on the button - "Upload" (as you see in the picture). If the transfer is successfully completed, you'll see: "Done uploading." in the status bar. If an error message appears, either the driver was not installed correctly, or in IDE under "Tools - Serial Port" the wrong serial port is chosen. If everything is ok, repeat the process with the homecontrol4me_v_x_x.pde.

If you've got problems, like freezing webserver or too big sketches, please use the precompiled file from our Board.

Finished!

The webinterface of homecontrol4me is available at http://192.168.2.10 by default (username and password is “admin”). If you want to change the default settings you need to open the “homecontrol4me_eeprom_prepare.pde” file.

Configuration of radio outlets

To be able to address radio outlets they need to be configured. Choose a number between 1 and 155 for each radio outlet within the settings of the web interface. Every number represents a coding for the corresponding outlet. You can see the different configurations here.

If you want to use the original remote you need to disable all DIP-switches of the remote.

From Outlet  
to Outlet  





Impressum | Contact | Privacy Statement | Sources