I used OH1 in my old apartment, but new house, new server so I started with the new OH2 stable release. I installed on my debian 8 box with apt-get per this doc. All is great and I got my Wemo devices recognized and I can control them, no problem.
However, now I am trying to set up a sitemap. The install on
/etc/openhab2 is owned by user:group openhab:openhab. I can of course add and edit files as root, but then they are owned and read/writeable only by root (when I use
This doc here talks about editing sitemap files, but I’m not sure the “correct” way to do so. I did some poking around on this site and I found this post looking for the default password, but he is using samba, which I am not.
su - then
su - openhab, but
whoami results in still being root. I understand I can use
sudo -u openhab <command>, but that gets tedious for lots of adds/edits.
So, I guess my question is, what is the best practices way to add/edit sitemaps, etc directly to the file system?