From that point of view, the number wouldn’t be optional, as every system has at least two ip addresses, so, is there any output if you omit the number?
And what’s with autodiscovery? (I don’t use this binding yet)
Any updates on this. I too am trying to get the systeminfo binding for OpenHAB2 to display my Network IP address… in fact I can’t get it to corretly initialize many values. The CPU Load & Uptime values are working, even the Network Mac address is working. But many, many items such as CPU Name and Network IP are not initializing at all.
I’m using a Raspberry PI and I can confirm via the REST API that the items state (e.g. value) are NULL.
If you look at the thing directly, the IP address is known, but if I create an item with channel=“systeminfo:computer:raspberrypi16:network#ip” I just get a blank value - may be it something to do with the formatting?