Atom Based Computer with Windows 7 Runs My Home Automation Server

November 3, 2009

I own a Dual CPU Pentium III computer. This machine is 10 years old. I used to take it to companies back in the beginning of the millennium to teach about multi CPU programming. I have also developed and tested device drivers on it. around 2004 I began to use it as a gateway to my home automation system. It runs Windows XP with all my home automation related applications and code that I have developed. The machine became very noisy, I have replaced all the fans and put some oil but still the decibel level is too high. Lately the computer starts to generate blue screens every 3-4 hours. Usually when one of my computer goes to the BSOD haven, I am analyzing (-v) it and solve the software or hardware problem. This time I have decided to move on and replace it. As any other project I have started with the requirements.

The computer serves as a server for other applications that are connected to the home automation system. It exposes a web service that when it is called, it convert the SOAP based request to the lower level homeautomation bus command. I am using an NT service based application called Falcon to communicate with the (KNX) Instabus, the bus of the electrical automation system. Falcon exposes COM interfaces and I am using .NET Interop to use them. The computer also has a Media Center application that is hosted in IIS and let controlling the system from the various Media Center computers that I have at home as well as from any browser. Controlling the home automation from mobile devices is based on specific mobile WinForm client that consumes the web service. Since the computer is connected to the Instabus bus, I am using it to manage the home automation devices as well as using the Windows scheduler to operate the home. For example every morning the shutters are raised. Every midnight all the shutters in the house are closed. The system turn on and off the garden lights, and the system uses the Windows scheduler to turn the boiler on and off.

These were my requirements from the new computer:

  1. It must have an RS232 connector. This is the way I am connecting the computer to the instabus. I didn’t want to invest and buy a USB or IP connector since the current connector is good enough and does the job.
  2. It has to be quiet. I had enough noise!
  3. It has to be a solid hardware that will last at least for 10 years.
  4. It should run Windows 7 32 bit. I wanted to start with the most up-to-date operating system. I didn’t know if I will be able to run the Instabus software and drivers on Windows 7, but I had a clue that it will installed and run on Vista 32 bit.
  5. It should be energy efficient. The computer works 24/7/365 and most of the day does nothing.


Looking at the requirements I have decided to search for an Atom based industrial machine. There are so many kinds of such machine as you can see in this web site:    

After looking at the catalog I have come to conclusion that the NISE-100 machine is my best choice:

The main feature of the machine

  • On-board Intel® Atom™ N270 Processor, 1.6GHz Hyper-Threaded
  • Intel® 945GSE chipsets
  • Single 10/100/1000 Mbps LAN ports
  • 2x USB2.0/DVI-I/Keyboard & Mouse Interface
  • 1x RS232/422/485 and 2x RS232
  • On-board DC to DC Power Designed to Support +12V DC Power Input
  • There are drivers for Windows Vista 

    Seen that there are driver for Windows Vista I realized that I will be able to install Windows 7. If you look at other embedded serves, most of them does not support officially Windows Vista.
    Apparently EIM is the representative of Nexcom in Israel and I bought the machine from them. I upgraded the memory to 2GB RAM.


    Installing Windows 7

    Since the computer has no DVD drive I have created an installation USB of the x86 version of Windows 7. Installing this machine was no different than any other computer. All the device drivers but sound (Which has no connector anyway) have been installed during the regular installation process.

    The NISE 100 is very impressive computer. It even support Windows Aero.


  • Installing the KNX software:

    Installing the  ETS software was just like installing it on Windows XP. So far everything was good. I have tried to get to the instabus devices and succeeded. The new computer turn the room light on! Installing Falcon and the development tool was a different story. The installer didn’t want me to install the tool on Windows 7, no matter what compatibility feature of Windows 7 I tried.


    I had to use a bigger gun, so I ask the MSIEXEC to force install the package using:   MSIEXEC /qb /i  FalconDeveloper.msi and it worked!


    Moving the Applications from Windows XP to Windows 7

    Now I was ready to move the applications from the old Dual Pentium III machine to the new Atom based machine. This step also included moving from IIS 5 to IIS 7.5 and from the Windows XP task scheduler to the Windows 7 Task scheduler.

    To move the IIS applications I had to first install IIS on the new machine. This is very easy steps using the “Programs nd Features” control panel applet and choosing the “Turn Windows feature on or of”


    I had to play a little bit with the configuration of IIS, to crate the virtual directories, open the firewall port, etc. After a while I was able to surf to the home automation application and manage the home automation system from other computers at my home. The next step was top change the setting of the URL on the media-center computer at my home.

    The last step was to move the tasks from the Windows XP scheduler to the Windows 7 scheduler. I had about 30 tasks, not all of them were active. Some of the tasks are for the winter (Turn on the under-floor heater in the bathroom for example). Some of the tasks are for vacations, I turn lights on and off and raise shutter so thefts  will think that there are people at home. Anyway I didn’t want to enter all those tasks manually. Looking for a solution I have found that the SCHTASKS command can be used to query the old task from the XP machine into XML file:

    schtasks /query /S homealonxp /XML

    The XML is not a well formed XML since it has many roots, one for each task. I wrote short C# code that split the XML to many valid XML and also create a batch file to import these task to the new Windows 7 task scheduler. Each command in the batch looks something like this:

    schtasks /create /RU alon /RP Password /tn HomeAutomation\Open_East_Shutter_Yarden_Room /xml Open_East_Shutter_Yarden_Room.xml

    The C# code:

    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.IO;

    namespace ConsoleApplication1
        class Program
            static void Main(string[] args)
                StreamWriter batch = new StreamWriter(@"c:\users\alon\desktop\ImportedTasks\Batch.bat");
                StringBuilder sb = new StringBuilder();
                using (StreamReader fs = File.OpenText(@"C:\Users\alon\Desktop\xptasks.xml"))
                    string line = fs.ReadLine();
                    string processorLine = "";
                    while (!fs.EndOfStream)
                        if (!String.IsNullOrEmpty(line))

                            if (line.StartsWith("<?"))
                                processorLine = line;

                            if (line.StartsWith("</Task>"))
                                string text = sb.ToString();
                                string fileName = text.Substring(6, text.IndexOf(" –>") – 6).Replace(‘ ‘, ‘_’);
                                text = "<?xml version=\"1.0\"?>"  + Environment.NewLine + text;
                                using (StreamWriter sw = new StreamWriter(@"c:\users\alon\desktop\ImportedTasks\" + fileName+".xml"))
                                batch.WriteLine(@"schtasks /create /RU alon /RP Password /tn HomeAutomation\" + fileName + @" /xml " + fileName + ".xml");
                                sb.Length = 0;

                        line = fs.ReadLine();

                    string data = fs.ReadToEnd();




    That it, The new computer works, the room is quiet. The old Dual Pentium III can now RIP and joined my old computers museum.

  • Add comment
    facebook linkedin twitter email

    Leave a Reply

    Your email address will not be published.

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



    1. Shmulik R.November 5, 2009 ב 10:05

      I like this server! (Thanks for sharing)
      Where can I get it ?

    2. BowieMarch 22, 2010 ב 07:54

      Hi all. Illusions are art, for the feeling person, and it is by art that you live, if you do. Help me! It has to find sites on the: The best online brokerage firm. I found only this – cf online brokerage firm. Long-established programs that provide internet to use exhibitions able than a form company or stock allow mini reserves, track marriages, on-line accounts and few factors, online brokerage. I offer participate to boast you that you are somewhere the perfect one who is assuring during these possible affiliated schools, online brokerage. Thank :rolleyes: Bowie from Gabon.

    3. PhoebeApril 2, 2010 ב 07:01

      Good afternoon. The older I grow, the less important the comma becomes. Let the reader catch his own breath. Help me! Looking for sites on: Currency futures trading. I found only this – discount online futures trading. Woody allen was overhauled to watch most of his european clarity for this transformation, online future trading. Online future trading, icv2 has landed it as the small economy time from north america many candidates. Thanks for the help :rolleyes:, Phoebe from Guatemala.

    4. KevinApril 15, 2010 ב 22:10

      Hi. I really like this idea of home automation. I have experiance building computers and am currently learning about biulding and configuring servers. I would like to learn more about home automation tho. Specifically, how do you interface the home automation server to the lights, shutters, etc., and what additional equiptment is needed. Also, what program are you using to set the scheduled events in the above figure?

    5. McknightDecember 18, 2012 ב 00:31

      The protective case has been made of a tight fitting anti-slip material that feels really great in your hand, it also
      means it’s less likely to slip from your hand or plummet from the edge of the table. The Android operating-system this phone uses is capable of doing supporting several gamers that may play both Mp3 and Mp4 format files. Given its price and value, it is without a doubt that we would surely care for it as if it were our own child.

    6. feszzfuib@gmail.comJuly 26, 2013 ב 07:41

      Transportable crib for his naps. It was good following i went to go to family and friends, primarily because toddler was knowledgeable about it and satisfied to acquire a nap