Have been reading some more and try desperatly to extract some relevant information from the suggested post how to solve Exec binding problems
To be honest i find this “tutorial” very confusing. It’s not even clear to me how the Exec binding is relevant to my problem with the script not performing as expected. No places in this doc is the Exec binding even mentioned. The executeCommandLine have been executing my script even without the Exec binding installed so being introduced to this topic makes this issue i have really hard to solve. Im probably not experienced enough with OpenHab to understand what is suggested for me…
Maybe it’s easier for me to understand if i get a few questions i have answered:
- Would i be better of installing openhab2 to a raspbian operating system because it seems to me that most tutorials and docs seems to cover openhabian installations very poorly?
- Is the “Workaround 2” in the doc autdated and therfor not working as expected or is it the fact im on a sytem installed as openhabian that creates problems?
- As this is likely to be relevant for my problem what is the best way to solve this in my particular case?
I clearly need to grant a specific user privileges to the all my .rules files but im not exactly sure if this is the openhabian or the openhab user (guess i can explore this with trial and error) and furthermore i will have to remember to to this change with all future .rules files i establish. I was wondering if there was a way to give this user the right permissions/privileges to the entire .rules directory?
Update: Just after posting this i remember the use of * (i do not what this symbol is called) and i gave it a try with following command:
[20:17:12] openhabian@openHABianPi:/etc/openhab2/rules$ sudo chown openhab *.rules
This is of course not an optimal solution because i still need to do this operation with every .rules file i create from now on but i’m pleased to inform you that the refresh of the .rules files is now working.