cdjackson / HABmin

A web admin console for openHAB home automation
http://www.cd-jackson.com/index.php/openhab/habmin
217 stars 51 forks source link

Binding config setting description not showing #137

Closed sumnerboy12 closed 3 years ago

sumnerboy12 commented 10 years ago

I am guessing it is due to the config setting name of 'home.lat' but I am not sure?

   <config.setting>
        <name>home.lat</name>
        <label>Home Latitude</label>
        <description>The latitude of home, only used if no OwnTracks waypoints.</description>
        <optional>true</optional>
        <defaultvalue></defaultvalue>
        <minimum></minimum>
        <maximum></maximum>
        <values></values>
    </config.setting>
cdjackson commented 10 years ago

I’ll need to remind myself about this, but I think it’s a ‘feature’. It allows you to specify what is (currently) called interfaces - the part that goes after the dot. When I first wrote this the bindings that used this used it to differentiate different interfaces - it looks like you’re using it to specify different locations - same thing, different name…

So, the bit you’re probably looking for is -: https://github.com/cdjackson/HABmin/wiki/Binding-descriptor-files#binding-interface-configuration. Then, in HABmin there’s a “Add Interface” button - this will populate the information required for the ‘interface’.

Maybe this is a bit unnecessary (or unnecessarily complex), but that’s how it is right now at least.

Cheers Chris

sumnerboy12 commented 10 years ago

Ah I see what you mean - yes I was wondering how you handled these multi-config scenarios. I will have a closer look and give it a try tomorrow - on first glance it looks good to me. I will review and close this issue if it is all sweet.

cdjackson commented 10 years ago

Cool - if the bindings don’t fit the model though, let me know and we can rethink. On the other hand, at some stage ESH will come out and this will all be handled by them (I hope!). I’ll then implement an interface to the new system.

sumnerboy12 commented 3 years ago

Think 7 years is long enough...closing :)