2014-01-04

Auto Configure

So, now I have finally completed a feature that I have wanted to add for a long time - automatically configured Home Items. This means that based on a received event, NetHomeServer can automatically configure a Home Item to respond to that event.
A typical use case is when you add a new lamp to your system. You would first program your lamp module to respond to the native remote control of the lamp module. When you press the remote control, this will show up as an event in NetHomeServer. If you select that event, you will be presented with a list of HomeItems that can respond to that event, typically a lamp-Item and a remap button Item. When you select the lamp Item, a new Home Item is created which is configured with the lamp's address so the only additional configuration needed is to give the lamp a meaningful name!
If you would install a new temperature sensor, this will automatically show up as a new event, and you can get a thermometer Home Item automatically configured to handle the new sensor. As usual, this feature works with all supported receivers: Tellstick Duo, Audio-input based and FS20 (FHZ 1000). This feature is now available in the nightly build.

2 comments:

  1. Hello,
    I have a UPM/Esic sauna thermometer that goes to 140°C. It looks just the same as the ordinary thermometer that can be bought at Clas Ohlson (http://www.clasohlson.com/se/Temperaturgivare-hygrometer/Pr361797000), but lacks the hygrometer function.

    My problem is that NetHome displays the temperature wrong when it goes above something around 75°C or so.

    I tested the thermometer by placing the probe in boiling water and Telldus Center gave me 100,8°C. The device itself read 100°C. At the same time NetHome showed -27,2°C.

    Captured some data from the item and it gave me these readings (when the water was boiling):
    event,UPM_Message,Direction,In,UPM.DeviceCode,2,UPM.HouseCode,1,UPM.LowBattery,0,UPM.Primary,365,UPM.Secondary,0,UPM.SequenceNumber,0,Value,

    While the water in the kettle was still heating, it gave me a reading for the "Primary" value of 1998 (when the water was around 75°C). Then it seemed to start all over again, counting upwards from zero, until it reached 365 when the water finally was boiling.

    I can exchange email addresses with you if you want more information regarding this problem.

    ReplyDelete
  2. Hi Micci

    Interesting, I had not seen that sensor before. I did some investigation, and it seems I had misinterpreted one bit of the data in the protocol. What I thought was the LSB of the humidity was actually the MSB of the temperature. I have not discovered this, since the sensors I have will not go above 65 degrees. I have changed the implementation and updated the NightlyBuild, but I could not really test it since I don't have any sensor that goes that high. Could you please test the new implementation and see if it works correctly with the sauna sensor?
    My mail address is on the current state page (http://wiki.nethome.nu/doku.php/nethomeservercurrentstate)

    ReplyDelete