Thank you for your promote response also your detail explanation,
as I use openhabian, I first tried on read on samba (I found a viedeo youtube shows that way should works), than I show you the snap with my step
I also tried many difference sub directory on samba all without success, eg:
\\OPENHABIANPI\openHAB-conf\sitemaps
\\OPENHABIANPI\openHAB-userdata\etc
\\OPENHABIANPI\openHAB-userdata\config
I also try download the demo sitemap file “distribution-1.8.3-demo” and unzip to C:\Temp\distribution-1.8.3-demo (as I don’t want to mess up with current operating one
than same step as starting ,open below folder to try all with same result and same warning msg.
C:\Temp\distribution-1.8.3-demo
C:\Temp\distribution-1.8.3-demo\configurations
C:\Temp\distribution-1.8.3-demo\configurations\sitemaps
Thank you dim for waste your time on helping me, Thanks.
Ok. Since you have migrated to openHAB 2 (that’s a great move by the way ), you should start using the new Eclipse Smart Home (ESH) Designer (think of it like the 2.x version of the older openHAB Designer).
The error that you are getting:
"The chosen directory is not a valid openHAB configuration directory. Please choose a different one"
is usually because the designer cannot find your personal openhab.cfg and the default openhab_default.cfg files (from the OH1 world and not really needed in the OH2 world) Link1Link2
You could continue to use OH1 Designer by placing these 2 files (empty) in your config folder (this should fix the error) but I recommend to move to the ESH Designer (it has more syntax checks and supports more stuff):
Hi I´m not sure if this is the rigth place an I already postet this in an other thread, but as it concerns the config and the access to the config folder I thought it would fit.
Hi
I run OH2 an a odroid U3. I installed it as described in the manual.
As recommended, i tried to activate samba to work on the configuration via my windows machine.
Thanks Dim, I guess I made it works on demo files, I still not able to get it read on my openhabian yet, will keep try, wanna does designer able read the database file build by paperui? As I got few item create by papery ui, should I remove that items and manually input to xxx.items file?
Dear Dim,
I have build the sitemap by notepad++ as I can’t get the designer open file from openhabian,
funny thing is on item windows, I able to show up with all my items, just configurations,
as I open demo sitemap before, it also mention can’t found demo.sitemap at first attemp.
should be any action to do with designer to open a new sitemap?
You mean to create a new .sitemap file or to edit an existing (but new) .sitemap file?
If I am not wrong, there is a problem with the designer and you can’t create a new sitemap. In this case, create the file using any other method and then open/edit it with the designer.
I do understand that unless you press Ctrl-N on desinger, it won’t create new files
my issue is designer looks still looking at demo and not reading the sitemap on openhabian(through SAMBA)
it only show up items on by openhabian and that’s all
yes It does, I able to read/write by notepad++, that how I build the sitemap last night,
I able to works on Basic UI now, I am wonder does PAPER UI able to run sitemap? as in PAPER UI controls only shows the item create by things
I guess I might know why have problem, I check on logs and found this error
"15:54:08.625 [WARN ] [sitemap.internal.SitemapProviderImpl] - Filename default. sitemap does not match the name deault of the sitemap - please fix this as yo u might see unexpected behavior otherwise."
what does it mean by default.sitemap does not matech the name default? what should I do?
also
(backup and delete afterwards the old default.sitemap and go to Paper UI -> Configuration -> Services -> Basic UI -> Configure -> set Default Sitemap to “myhome”)
Thanks Dim, Error regarding sitemap in log is gone although I still not able to load on designer through samba,
I tried to copy the config files to windows and it works.
guess problem is on SAMBA, things get me confused were I able to read/write on windows, don’t know what the problem is…
By the way, In console, I able to read log by command "log:display"
do you know how to show realtime log? I mean once there is any new log come out, will realtime pop out, don’t need to keep repeat command on log:display