I’m begginer to openhab. I’m trying to get a working model for my HAI OPII with omnilink 2.0. I use org.openhab.binding.omnilink-1.9.0.jar addon and openHAB 1.x compatibility layer. It’s seems omnilink connect to the OPII and get it status:
The errors indicate that for some reason the Items put on your sitemap do not exist.
Load your configs into Designer and look for syntax errors in your .items files. Once a syntax error is encountered it stops loading Items from that file.
Make sure your Item names are identical in all places, including case.
Somehow my Smart Home Designer does not check the syntax. But my.item file syntax is very simple, I took him numerous examples and I think the problem is something else. In addition, of course, I use the same item name everywhere.
And I do not quite understand the purpose SmartHome Designer. It’s just a more convenient way to browse and edit the configuration files compared to conventional editor, But where is the “design”? ))
Designer does indeed check the syntax. It also will automatically complete lines with <ctrl><space> or show you valid ways to complete a line. It is invaluable to check the validity of your configuration. Whether or not you want to use Designer day to day, it should always be your first stop when you encounter errors, particularly errors like these which indicate a syntax error somewhere. This is the purpose of ESD.
First, are you running version 0.8?
Second, what do you mean by “it doesn’t check the syntax”? Do you not see any red or yellow underlines anywhere?
There are very few errors in OH that are obvious and clear but this is one of them. “Cannot retrieve item …” means one thing. You have an Item on your sitemap that does not exist. So either you have a typo on the sitemap such that the Item names do not match (case matters) or you have a syntax error in your .items file preventing it from being loaded and parsed.
There might be hidden characters hanging around in the .items file which can cause problems. Designer is not always able to identify this sort of problem. Some people have solved errors like this by copy and paste or retyping their .items file into a new file.
For that version to work you need also java 64 bit.
Even while running on a 64 bit operating system most people have 32 bit java installed, so you will need the 32 bit version of the ESHD.