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.


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.


Warm Dim

In the IkeaColorTemperatureLamp, the Item for controlling IKEA Trådfri's white spectrum lamps the new feature WarmDim is now added. When WarmDim is activated, the color temperature is automatically turned warmer the more dimmed the light is, to emulate the way normal incandescent bulbs turns orange when dimmed low. This makes the dimming look more natural.

You can still set a color temperature for the lamp, which will be used when the lamp is at full power, but the more it is dimmed the warmer the light will get, starting from the set value.

The feature is in the nightly build.


Instruction film for IKEA

I have now made a short instruction film for how to configure and control IKEA Trådfri lamps in OpenNetHome. It is available on YouTube on the OpenNetHome.org-channel.

I tried to get approval from IKEA to use the sound track from their instruction films, as it felt more "genuine", but IKEA did not allow it :-(. Maybe just as well, this track is a lot less annoying then theirs...


Support for IKEA Trådfri

IKEA has made a slightly unexpected entry in the Home Automation space with the new product line Trådfri. Currently it includes a variety of different remote controlled LED-bulbs and some interesting LED-surfaces. They can be controlled via a set of different remote controls or via an app (requires a gateway). All of them are very aggressively priced and best of all, the LED-bulbs are very powerful, with a max of 1000lm which is like a 75W incandescent bulb!

I have now added support for controlling the IKEA lamps with OpenNetHome. It requires the Trådfri Gateway to work (as the app do), but no other hardware.

The IkeaGateway-Item supports auto create, so when the gateway is connected in your local network, it shows up in the create-page as a detected device. When you create the IkeaGateway-Item, you have to enter the security code that is printed on the bottom of the Gateway.

Once the Gateway Item is created, all connected lamps will be auto detected and also show up as detected devices.

There are two lamp types supported, IkeaLamp and IkeaColorTemperatureLamp. The IkeaLamp represents the standard dimmable lamp with fixed color temperature where the brightness can be set between 0 and 100%. The IkeaColorTemperatureLamp represents the lamps with variable color temperature and for them the color temperature can be set between 0 and 100%, where 0 represents the coldest light. They both support the standard features with four configurable preset dim levels,

All Items are available in the Nightly build.



I have received a new great contribution to the project - MQTT-support! MQTT is a standard for sending and receiving small messages, or events via an MQTT server. It is being used more and more for IoT (Internet of Things), to send messages from small devices like sensors or thermometers.
Support for MQTT is something that has been asked for by other users, but I have not had the time to learn about it and build the support. Now this contribution solves the problem!

The contribution consists of four new HomeItems:

This is the item which actually listens to MQTT. Here you can specify the address to your MQTT broker, and the topic on which OpenNetHome subscribes.

A moisture sensor, listening on a specific MQTT topic.

A temperaturesensor, listening on a specific MQTT topic.

Listens to a specific topic, and can execute six different actions depending on the message received.

These functions are contributed by Jocke G and Patrik Gustavsson - thanks a lot guys!

The Items are in the nightly build.