IoT
openHAB 3.0 - how to access system information

openHAB 3.0 - how to access system information

Even if it is not SO complicated, here is a very short tutorial showing how to access various system information under openHAB 3.0 using the System Info Binding. The entry point is obviously the OH3 documentaion available here.


Install the Binding

We first need to install and configure the System Info Binding via the OH3 interface.

  • install the Binding: SettingsBindingsBlue « + »System Info BindingInstall

Systeminfo Binding - 1
Systeminfo Binding - 1

Systeminfo Binding - 2
Systeminfo Binding - 2

  • create a Thing connected to the System Info Binding: SettingsBindingsBlue « + »Systeminfo BindingSysteminfo
    • change the Label if needed
    • click on Create Thing

Systeminfo Thing - 1
Systeminfo Thing - 1

Systeminfo Thing - 2
Systeminfo Thing - 2

Systeminfo Thing - 3
Systeminfo Thing - 3


Add some Items

We can now browse the list of Channels in System Info to configure different Items. Take for example the case of the IP address of the machine on which OH3 is running.

  • SettingsThingsSysteminfoChannels
    • we then have the list of all the information available via this Binding

Systeminfo Item - 1
Systeminfo Item - 1

Systeminfo Item - 2
Systeminfo Item - 2

Systeminfo Item - 3
Systeminfo Item - 3

  • let’s select for example the Channel named « IP Address »
    • click on Add Link to Item
    • select Create a new Item
    • click on Link

Systeminfo Item - 4
Systeminfo Item - 4

Systeminfo Item - 5
Systeminfo Item - 5

  • this new Item « IP Address » is now displayed on the interface, in our case with the value 192.168.1.152

Systeminfo Item - 6
Systeminfo Item - 6

Systeminfo Item - 7
Systeminfo Item - 7


Conclusion

As we can see, this System Information Binding allows us to easily access a lot of information about the system through Items. All the steps were carried out directly via the OH3 graphical interface.

For any comments or suggestions, feel free to contact me on manuel.munier@univ-pau.fr.