openhab / org.openhab.ui.habmin

HABmin - a graphical user interface for openHAB 2
231 stars 92 forks source link

Display real, non-friendly channel name in Things->Channels #251

Open gersilex opened 7 years ago

gersilex commented 7 years ago

As a textual configuration user I want to see the real channel name in the channels overview of a thing so I can read these information to link my items to this channel in textual configuration

Right now the needed information can be found by clicking on the "Create new Item for channel" button in the respective channel line: image

HABmin recommends a link name that consists of the thing and the channel, seperated by underscores. I can use this information to write the channel link into my items file: image image

It would be much more comfortable to just see the channel name after the friendly name or onmouseover: image

A/C:

Thank you very much.

cdjackson commented 7 years ago

I don't think you really want the channel name do you - the image you show is showing the item name - not the channel.

The best place to get the item name information is in the channels page where items are linked to channels -:

image image

If you hold the mouse over the item name, it will bring up the little 'copy icon' (see the image above) and if you click on this it will copy the name directly to the clipboard which sounds like it's what you effectively want to do?

gersilex commented 7 years ago

I use HABmin for discovery and thing creation, because it's perfect for this and I need a place to configre my z-wave devices. Great thing btw.

But I use the textual configuration of openhab2 for everything else possible.

In this case, I have already set up the things using HABmin: image

Now I go into my items file and link the item to the channel for being able to switch the power outlet thing: image

Here you can see that I have to find the channel name to be able to insert it right where the cursor is.

I hope I could make it somewhat clear :smiley:

cdjackson commented 7 years ago

Ok - understood. I thought when you showed the item edit box that you were after the items.

Anyway - I’ll take a look at adding this.

On 8 Jan 2017, at 21:09, gersilex notifications@github.com wrote:

I use HABmin for discovery and thing creation, because it's perfect for this and I need a place to configre my z-wave devices. Great thing btw.

But I use the textual configuration of openhab2 for everything else possible.

In this case, I have already set up the things using HABmin: https://cloud.githubusercontent.com/assets/2018039/21751038/a000be86-d5c0-11e6-8442-eb875e52c0ce.png Now I go into my items file and link the item to the channel for being able to switch the power outlet thing: https://cloud.githubusercontent.com/assets/2018039/21751054/e00d9422-d5c0-11e6-99c0-d5a88bf4182c.png Here you can see that I have to find the channel name to be able to insert it right where the cursor is.

I hope I could make it somewhat clear 😃

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openhab/org.openhab.ui.habmin/issues/251#issuecomment-271158479, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_kQyUU3nA1bzen7ht1RvDkStpIZ_O5ks5rQQNIgaJpZM4LdtdH.

gersilex commented 7 years ago

Oh I just saw how PaperUI does displays it: image

That is even better and perfect for copy&pasting. What do you think @cdjackson ?