2013-09-30
Need for Speed
I have not spent much time optimizing performance on the NetHomeServer before. I am running mine on a small Linux server which can present the WEB-GUI at a decent speed. I have however had comments from Raspberry Pi users who have thought that it is a bit sluggish. The limited processing power of the little Pi has raised the need for some optimizations. So now I have rewritten the Item model handling using some caching and the result was really good, especially on a Pi. Time to show the room-view went from 1.3 seconds to 55 milliseconds, and showing the details of a HomeItem went from 2.2 seconds to 35 milliseconds! The optimizations are available in the nightly build.
2013-08-11
Tellstick Supported
So, support for TellstickDuo is now added to NetHomeServer. The new Home Item "Tellstick" is available in the nightly build. I have tested it on Windows 7, Ubuntu and Raspian (Raspberry Pi). I guess it will work for MAC as well, but I have not been able to test that yet. For transmission, all NetHome protocols are supported as the NetHome encoders are used. For reception only protocols supported by both Tellstick and NetHome works, as the Tellstick does the decoding of received signals in firmware and does not expose the raw pulses for the NetHome decoders to work with.
What took the most time was surprisingly to get good driver installations for Windows and Linux that works with Java, but I have compiled driver packages together with installation instructions for Windows and for Linux.
What took the most time was surprisingly to get good driver installations for Windows and Linux that works with Java, but I have compiled driver packages together with installation instructions for Windows and for Linux.
2013-07-30
Tellstick Support
I keep getting
questions about Tellstick support in NetHomeServer, so I finally started
looking into it. It seems that the low level interfaces of the TellstickDuo
matches NetHome quite well, so it should be possible to write a Tellstick
HomeItem that still uses the NetHome protocol encoders (so it is possible to
plug in your own encoder implementations). One snag was that it was a bit messy
to access the interface from Java on Windows, but I finally managed to convince
the FTDI virtual com port drivers that the Tellstick really is a COM-port, and
after that it was possible to use RXTX as usual.
2013-05-02
Low battery...
NetHomeServer always keep a rolling log on disk about events in the system. Now the last 50 rows of this log (since last restart) is also available in the GUI via the settings page and via a link on the top right of the screen. The log contains information messages but also warnings about configuration issues or low battery warning for sensors, for example the UPM temperature sensors. If a warning message is present in the last 50 log rows a small warning triangle is presented next to the log link on the screen, as shown in the picture above. This is now available in the nightly build.
2013-04-27
RF-Bitbanger
I have been working a bit with T Andersson, who has written rf-bitbanger. Rf-bitbanger is a device driver for Raspberry Pi that allows writing of pulse sequences to the GPIO-pins. This makes it possible to connect for example a 9€ 433MHz transmitter directly to the RPi and control remote switches without any additional interface components (see picture above).
I have now made a first version of a rf-bitbanger-HomeItem which can transmit all protocols supported by NetHome via a rf-bitbanger port. This means that for only 9€ you can turn RPi into a complete home control system!
I have now made a first version of a rf-bitbanger-HomeItem which can transmit all protocols supported by NetHome via a rf-bitbanger port. This means that for only 9€ you can turn RPi into a complete home control system!
2013-04-07
Plan view
So I have finally finished the plan-view page on NetHomeServer. It has been half done for a long time, but the editing part has been missing. But now this is also there! The idea is that you can load any background image that represents your home (I used the excellent SweetHome3d to create mine), and then you can add and drag and drop your Home Items on the image.
When you click an Item, you get a popup with all available actions for that Item, as is shown in the example below:
The main attribute of the Items is presented below the icon, for example temperature if it is a thermometer. The values are constantly updated on the page, so it always shows the current status.
It is also possible to add multiple plan views (they are Home Items of course), and when you add another Plan Item to a plan, it becomes a link to that plan. The green arrow in the top center of the image above is such a link and when it is selected you are directed to that Plan Item, as is shown below:
In this way you can for example zoom in on an area with many lamps or controls or have multiple plans for different floors, rooms or buildings.
The plan view is now available in the nightly build and will be part of next release.
When you click an Item, you get a popup with all available actions for that Item, as is shown in the example below:
The main attribute of the Items is presented below the icon, for example temperature if it is a thermometer. The values are constantly updated on the page, so it always shows the current status.
It is also possible to add multiple plan views (they are Home Items of course), and when you add another Plan Item to a plan, it becomes a link to that plan. The green arrow in the top center of the image above is such a link and when it is selected you are directed to that Plan Item, as is shown below:
In this way you can for example zoom in on an area with many lamps or controls or have multiple plans for different floors, rooms or buildings.
The plan view is now available in the nightly build and will be part of next release.
2013-04-01
ZhejiangLamp
Added support for a new remote switch. In Sweden it is sold by Kjell & Company, but it is probably OEM:ed by many others. The manufacturer is Zhejiang Fuhaote Electronic, so I called the corresponding lamp Item "ZhejiangLamp". It uses the same chipset as most low end remote controls, but with quite short pulse times so it pushes the limit a bit for the audio signal based driver.
It is now available in the nightly build.
It is now available in the nightly build.
Subscribe to:
Posts (Atom)






