So, i can say one more thing - at leadst on CentOs it makes life easier to make openhab service run of ‘root’ and make all files owned by ‘root’.
Z-Wave binding gave a lot of struggle. The worst issue - /var/lock/ directory wants to be used for /dev/ttyACM0 lock and as it resides under /run - it never holds privs if you grant ‘openhab’ rights to access it. There was, may be, some way to get around it with more tinkering on privs but it was easier just to give ownership of all openhab2 stuff to ‘root’ and start it like that.
I do not have any issues after that.
As of what else could go wrong - you know, i deal with software solutions for 30 years now and I admit - i rarely RTFM.
should read more, And i am trying to, but, sometimes stuff just slips by.
Also, this new method you got here is not a usual ‘./configure; make, make install’ way. I do not criticize, but it is tricky. Make this thing work requires constant googling for threads and trying to get a single grain of wisdom from the pile stack of BS, sorry.
There is a ton of work done for this project, it is obvious, it is a great software with a lot of possibilities, but it is veru difficult to absorb it all with almost no proper user guides. Like, i found this link -
same issue i have, then somebody goes and posts some xml document with node5 description… Where is it supposed to go? grepping whole openhab2 set of files for any of that brings nothing. Where to go, what to do - go figure.
And it is like this for every single little thing.
You have to put all descriptions of various users and groups into text files, fine. There is a ‘demo’ setup - so it has to be
first found out it is a must to deploy it in demo, so it then cold be reversed engineered and then you can construct it similar to that. Fine, done.
Where can it be found out how to deal with persistences? There are 5 kinds of them. What is to be used? I had tried mysql one against mariadb on centos - it was making some tables. Replaced it with mariadb proper persistence with jdbc.cfg file that has, again, be crafted manually as system does nothing to make it - it connects to DB and pings is fine but does not create anything.
Why? Who knows, no errors in logs. Replaced it with mysql - works again. Eventually it just gets tiresome as initial curiosity evaporates and you just want this thing to do what you need from it - turn lights off and on.
HabMin i get it is still in development, so it is probably expected that perfectly fine working basic UI content is showing its tab in HabMin but with totally empty content and the only item with content is ‘Home’ that has a copy of ‘Control’ section that has nothing at all from the text files you configure?
it is obvious to me by now that there are 2 different items systems in openhab2 - one from config files and one that is hidden inside, somewhere. At least after i turned off ‘simple mode’ in Item Linking - i gained an ability to associate items from .items text file to the ‘thing’ openhab finds by itself. Any assignments to things in the .items file are simply ignored and it was totally confusing in the beginning. I wish there was some kind of an slideshow somewhere that could actually show step by step how to do devices, as normal people who not geeks and do not have desire to reverse engineer all this will not be able to use it, no way no how. Again, it is not a whining - just a my bystander view - user experience here for me was very bad in the beginning, after getting more into it it becomes more intuitive, but manual configuration and settings is an Achilles heel here.
Like this - why even to offer to ‘create new item’ in things link interface if all it responds back is ‘ERROR 405 - Method not allowed’? You then go to log files to see what the heck this ‘error 405’ was - there is nothing in logs. It is just plain confusing. I bet it will eventually get better but as is now - it is very confusing.
Still, it works for what i need from it now, after almost a week fighting with it. Alexa link works, it controls lights well, and that is all what was needed.
Now i need to do some scripting but have no stamina left to go start researching how to do scripts here and how to time them, as it refuses to bring online ntp:ntp:local for reasons not yet known to humanity and i am out of time at work to do more digging.