When OH3 is up and running, and I then edit any text configuration file using a text editor (VI NANO etc) e.g: Items, Things, Rules, Sitemaps… I was hoping to get feedback in the log the same I see in my OH2.x instance. "Refreshing Model - Default.items"
Am I able to get this feedback in OH3? or is this only availbale in OH2.x?
Screenshot below from OH2. This is the log result I want to see. it works ok in my OH2 instance.
I’m working with OH3 on RPi4, I edit my files on a windows pc through samba share with VSC.
And it’s part of my standard routine to check the log after every time I’m saving a changed file- items, ruels, sitemaps, persist, etc.
I like this feedback because it shows you if there are problems with loading it. Of course it’s not checking for runtime bugs but it assures me that my change has been loaded correctly in to the system.
I’m surprised by the suggestion. From the docs I was under the impression that OH supports both approaches.
As described here
I’m personally doing everything other than things configurationa via text files. I can’t say I’m feeling any problems, although I might be blind to them because I haven’t experienced the alternative method.
Is it kind of a best practice recommendation or are there real problems with performance wjen working via text files?
thanks for your feedback and suggestions.
I am in the process of creating a clean OH3 instance now and will see if that resolves the "refreshing Model - " logging problem.
I’ll report back if the clean install works or not.
I spend much of my day working at the command line of other system. Working with text files for OH config just feels more natural for me. it feels more logical, “under control”, more in control of backup and recovery when I’m working with text files too.
It looks like there might be other benefits from doing a fresh install for those looking to upgrade to OH3. For example, I think the Samba shares have been renamed too… a fresh install you appear to get all the little details that you may not be 100% sure of if you do an in-place upgrade.