Hello, I’m a newbee and i tried to install HA all in one installer with virtual environment… I do get it running but not with mosquitto, dht sensor and the rf outlets…
There is a rights issue with user hass. I also tried to switch to user hass but then he is asking for a password.
Can someone help me to put the rights correct and help to install components (like rpi-RF and mosquitto and DHT11)??
I did follow the instructions:
Login to Raspberry Pi ssh pi@your_raspberry_pi_ip
•Change to hass user sudo su -s /bin/bash hass
•Change to virtual enviroment source /srv/hass/hass_venv/bin/activate
pip3 install rpi-rf
and there i get errors…
warning: no files found matching ‘LICENCE.txt’
Requirement already satisfied (use --upgrade to upgrade): RPi.GPIO in /usr/lib/python3/dist-packages (from rpi-rf)
Installing collected packages: rpi-rf
Running setup.py install for rpi-rf
changing mode of build/scripts-3.4/rpi-rf_send from 644 to 755
changing mode of build/scripts-3.4/rpi-rf_receive from 644 to 755
error: could not create ‘/usr/local/lib/python3.4/dist-packages/rpi_rf’: Permission denied
Same issue occurs by installing mosquitto…messages regarding rights an acces to directories denied.
My config is raps pi 3 1b and installed latest version NOOBS
Thanks in advance for your help! Ron,
P.S. I did install in the past the NO virtual version and that worked fine…