At least in my install of openHAB 2.1 i am able to bind string items to SNMP as well.
This item definition properly shows the port description of my TP-Link SG3424 switch.
(IP Adress replaced with x.x.x.x)
My understanding is that the binding docs in the OH2 docs entry are generated by the docs in the actual binding’s repo so it definitely needs to be changed there.
At some point, we will need to cut support for the OH 1 wiki. I’ve already seen some differences between the wiki (e.g. the dmx binding OH 2 docs reference services/dmx.cfg) and some OH 1.x binding docs in the OH 2 docs. I don’t know if we are at that point yet but suspect sometime soon we will need to slap a big “deprecated” label on the wiki and point users to the OH 2 docs.
The binding docs are not hosted in the openhab-docs repo. My understanding is that they are copied over and reformatted for use in the OH 2 Docs from the addons repos the same way the ESH docs are copied over during the nightly builds. So where ever they are copied over from is where the content needs to be updated.
Binding documentation is always updated within the binding repo.
The intention is, that everything that is related to a binding stays in one repo and you don’t have to change something “here” and then have to add something “there”.
This is also Explained in the readme file of the openhab-docs repo.
See this section:
So the issue has to be in the addons repo.
If the binding readme gets updated it will be in the documentation a bit later,
when binding doc entries are generated from those other repos next time.
I will file the issue as soon as i did some further testing (hopefully this weekend).
I want to know, if String items also work for setting the values. (That’s my intend, to easily set the port description to the real patched connection with a Selection in the sitemap.)
It was unclear also for me (that’s why I opened the discussion above)
Well… since the docs entry for SNMP is updated from the binding readme which maintained in the openhab1-addons repository, you should have opened the issue against the addons repo
The openhab-docs repository keeps a “copy” of the SNMP binding readme file. Changes should be done in the binding readme and then they will be propagated to the docs repo.