I have installed openhab latest version on my raspPi.
I see via network 1)openHAB2-conf,userdata,openhabian and files folders but cant see ADDONS folder in order to manually install bindings.
In openHAB-files i cant access .
pls help(noob in Linux)
thnx in advance
I’m pretty sure the addons
folder is not exposed by default for security reasons. However, it’s posssible to add this folder.
- Login to your Raspberry Pi and open
/etc/samba/smb.conf
for editing by using
sudo nano /etc/samba/smb.conf
- scroll down to the very end and add these lines:
[openhab_addons]
valid users = openhab,@openhab
write list = openhab,@openhab
force user = openhab
force group = openhab
path = /usr/share/openhab2/addons
- Save the file with
<ctrl>-x
andy
to confirm. - Finally, restart samba:
sudo systemctl restart smbd.service
But be aware that exposing the addons
folder is very insecure!
the conf file is empty? is this right?
Oops… typo… the file is
/etc/samba/smb.conf
(with one a between s and m…)
Already changed the original posting…
1 Like
thnx dude. You are the best