2017-07-31

NetHomeServer 3.0

I am happy to announce a new official release of NetHomeServer! Originally the plan was to call the next release 2.1, but now so many new things has been added since the last release, so it made more sense to call it 3.0. All new features are listed in the release notes here, and the major additions are the Raspberry Pi installation, the REST interface and the support for IKEA Trådfri. As usual, the features have already been available in the nightly build for a while.



A new part of the WEB-Site is the Feature Index. This is a way to try to visualize all the features that are available in OpenNetHome, and to guide you to the proper HomeItems to use that feature. Welcome in to browse around the features!


2017-07-21

Customizing Plan View

I have for long time had requests to be able to change the Icons for Items in the Plan view. A typical example is that a remote switch may for example control a coffee maker, but the Item used is actually a NexaLamp (which in reality is a remote switch) which has a lamp bulb as Icon.

I have been a bit reluctant to add this, because it is a bit of work and other features has always felt more important. Now I got requests to customize other aspects of the plan view as well, and then I realized that the easiest way to be able to customize anything is to allow a custom css file to be added. This is now added in the nightly build.

So, to change the Icon for a specific Item to a coffee maker, you first upload the image file (coffee32.png) to the media library (in settings). Then you find out the ID of the Item by looking at the Item details page (Id is 44 in this example) and make a small css-file that looks like this:

#ID44 li.icon.lamp_off {
    background: url(coffee32.png) no-repeat center;
}

#ID44 li.icon.lamp_on {
    background: url(coffee32.png) no-repeat center;
}

You upload the .css file in the media library, go to the plan page, click "edit this page" and select the css-file.

This is just one example a what can be changed this way.


2017-07-19

Custom Lamp

I have got some vacation hacking time, so I have also added an other HomeItem on a user request. A number of users use OpenNetHome partly as a GUI front end for their own implemented hardware, which is exactly what one of the goals with the project is. In this case the user had connected a number of relays which are controlled via shell scripts, and wanted them to be presented as Lamps in the GUI.

I added the CustomLamp-Item, which behaves like a lamp, but you can configure the on- and off-actions in the Item. Those actions can be to call actions in other Items or as in this case to call external shell scripts.

The CustomLamp-Item is in the nightly build

Prologue Thermometer

Since Clas Ohlson in Sweden has a sale on Prologe wireless thermometers (http://www.clasohlson.com), I added support for their wireless sensors in OpenNetHome. It is in the nightly build and the Item is called PrologueThermometer. It supports auto create, so as soon as a sensor is detected it pops up on the Detected Devices Window ready to use.

Unfortunately, Telldus has not (yet) added support for it in the TellstickDuo firmware, so it can not be used if you are using TellstickDuo as RF receiver.