Hello, thanks for responses.
Inded, i 'm in a linux environment ( DEBIAN Jessie).
When i do cd $OPENHAB_CONF then ls i have :
html icons items persistence rules scripts services sitemaps sounds things transform
So, i must created files default.items. Do i use make ?
Cd to the items directory. There should be a README file there with instructions. Basically use your text editor of choice to make a file ending in “.items”.
The log should show either it was updated or there was a syntax error.
It’s a real variable. Whether and how it is set depends on how you installed OH, even on Windows (I think).
Find below the openHABian default setting taken from /etc/default/openhab2. I think that’s what OH uses even if you don’t set it in your install method.
This shows the $OPENHAB_CONF environment variable is set correctly to the configuration directory (as was to be expected when doing a package install ).
As stated before, to create files you have to select the correct folder inside the folder pointed at by $OPENHAB_CONF. So, an items file must be created in $OPENHAB_CONF/items and sitemap files in $OPENHAB_CONF/sitemaps.
For instance, to create a new items file type:
or any other file name you choose, as long as the extension is .items).