preload
Jan 02
Philips Pronto TSU9600

Philips Pronto TSU9600

Today i spent some time on my most expensive User Interface, the Philips Pronto TSU9600.

New firmware was released in December 2009 and also a new version of ProntoEdit Professional (PEP). The previous  major firmware update with a lot of new features was somewhere in July 2009, but due to lack of time i didn’t come very much further than updating the firm- and software and that was it. Now it was time to have a really good look at what this latest firmware and PEP version would bring. I must say, i’m impressed. It’s very clear that Philips has done a lot for making life of those who have to work with PEP a lot more pleasant :-)

For example the use of PS (ProntoScript) Libraries. Where my old configuration had a lot of the same code on each activity page, it can now be put into 1 PS Library and added to the configuration at system level; no more redundant code!

The HTTP library is also a big improvement. The code i had to interface with my Domotica system was based on a TCPSocket, but when i went through the HTTP Library, i knew i was only 1 step away from implementing XML-RPC on the Pronto. One thing i missed was a way to do a HTTP POST, but that wasn’t that hard to create myself:

  // Convenience method to send text to an HTTP server
  //
  // Parameters:
  //   aUrl      HTTP URL
  //   aBody     the body
  //   aCallback Callback to invoke with text data upon success
  function postHTTP(aUrl, aBody, aCallback)
  {
    var req = new HttpRequest();
    req.postBody = aBody;
    req.open('POST', aUrl, true);
    req.setRequestHeader("Connection", "close");
    req.setRequestHeader("Accept-Charset",
                         "*; q=0.2, ISO-8859-15; q=0.9, ISO-8859-1,utf-8");
    req.onreadystatechange = function (aEvt) {
      if (req.readyState === READYSTATE.COMPLETED) {
        if (req.status === 200) {
          if (aCallback) {
            aCallback(req.responseText);
          }
        } else {
          System.print("HTTP status: " + req.status);
        }
      }
    };
    req.send(aBody);
  }

Next i created an additional Javascript library and some wrapper routines, which make it possible to have the Pronto ‘talk’ to the XML-RPC interface of my Domotica system:

  var httpLib = com.philips.HttpLibrary;
  var msg = new xmlrpc.XMLRPCMessage("SetDevice"); 

  msg.addParameter(Addr);
  msg.addParameter(aValue);
  httpLib.postHTTP('http://xx.xx.xx.xx', msg.xml(), aCallBack);

Now all my User Interfaces (website, ASUS TOP, Pronto) are using the same interface to my system. That really makes me very happy!

After some testing, today i did a complete remake of 2 of the most used activities. And this time it was fun!; i can assure you, it hasn’t always been that way in the past… Now all i have to do is add a ProntoScript one-liner to the Button Action:

XMLRPC_SetDevice("XELOS","MUTE");

This is the script for muting my TV; with no additional code except for the PS Libraries.

I’m very satisfied with my Pronto and how Philips keeps developing new features for it; and i haven’t even come to the features of the latest release yet; there’s still a whole lot more to explore!

Tagged with:
Jun 20

ASUS R2H

This week the ASUS R2H arrived that i bought from a domoticaforum member.
I’m going to test the R2H and see if it’s suitable as a second GUI to my Home Automation System, next to the Asus TOP that is on the wall in the livingroom.

Maybe the Asus can be placed somewhere on the 2nd floor, or in the bedroom.
The Asus consumes 16W idle on AC Power and is quite audible, compared to the Asus TOP. You can clearly hear the fan blowing out hot air out of the upper heat vent. Time will tell if it’s to annoying. If so, i can always use the R2H as travelling companion on holidays.

I stripped the R2H from a lot of additional (memory consuming) software that’s installed out of the box to make it a bit more lean.
Next thing on my todo-list is develop a small application that should make the Asus R2H function as Domotica Interface.
Only a subset of the functionality that is available on the ASUS TOP will be added to the GUI, cause i don’t want to spend to much time on it; let’s first see if the ASUS R2H is suitable for the task and if so, i can extend the GUI with what i want.

Tagged with:
Apr 28

Ok, so now we have a Touch Screen in the living room. Time to design a UI that works. Not just for me, but for all of us. Where my first design was primarily based on using buttons with text to switch the lights, open the garage door or turn on the pump for the swimming pool, it didn’t feel right. It looked nice, but i just felt it wasn’t finished. Once you get used to using a touch screen, you start getting ideas to make things even better. So last weekend i tried a different approach by using a floor plan as background image and place buttons on it at the right spot:

Touch Screen UI

Touch Screen UI

So now i have a new screen layout that shows a floor plan with buttons for those things that are used the most. It also shows the current temperature in the different parts of the house and outside. By touching the stairs, you are taken to another screen that shows the second floor. And for specific functions like information about traffic, weather forecast, controlling music, TV, showing phonecall history and other things like that, i created a row of buttons at the bottom of the screen. This looks much better than the first design, which was just a bunch of buttons on an empty screen. But i don’t think this will be final; after using this new UI, new ideas will emerge and lead to yet another redesign.. and another… :-)

Tagged with:
Apr 22

A couple of weeks ago i bought a Asus TOP. It is an Intel Atom N270 based PC with 15.6″touch screen, 1GB RAM, 160 GB hard drive, Wifi and Windows XP Home. I’m going to use it in the livingroom as primary interface to my home automation system. For that i’ve been developing a VB.NET application that interfaces with my Domotica software system. Last weekend i mounted the Asus TOP to the wall in the livingroom at a central place. I really love the Asus TOP, especially the big surface of the screen, the abscence of noise compared to a regular laptop and the speed with which it runs my Domotica GUI.

ASUS TOP
ASUS TOP

Besides stuff like switching lights, devices by means of either X-10, PLCBUS or Plugwise, i’ve also made pages that shows all the incoming and outgoing phonecalls, weather forecast and maps, temperature and humidity in various parts of the house, but also pages that give control over the radio (stations, volume etc) and TV by means of the IRTrans i have. And ofcourse there are pages that show information about the traffic on the dutch highways and railways, etc. etc.  Just all the information and control you need on a daily basis, shown on a ‘big screen’ in the livingroom. The Asus TOP definetely is one of the coolest additions to all Home Automation related hardware i’ve bought in the last 12 months.

Tagged with:
Mar 16

Today i finished the page for controlling my home with the iPod Touch.

With the touch of a button i can control (part of) the lights in my house. Other pages i’ve made can show Temperatures in the house, Doors being open or closed, actually anything i want can be retrived for my HA application and shown on the iPod Touch.

This really is a great device!

Tagged with: