Page 2 of 2

Re: DietPi/PiFace/Home Assistant help required

Posted: Sun Jan 19, 2020 9:48 pm
by brianm
The DietPi dev team has done a great job at creating a way of installing optimized software including HASS. When they pulled the plug on HASSBIAN I was hunting around for alternatives and fell on DietPi. Anyways, I followed the instructions and had a current working version of HASS installed in no time. Unfortunately though the PiFace board did not interface as well but I am determined to figure it out and I agree with you, it does appear to be a permissions issue of some sort. I just need to figure out what group permissions are required for user homeassistant and I should be fine. I will keep plugging away.

Re: DietPi/PiFace/Home Assistant help required

Posted: Sun Jan 19, 2020 9:51 pm
by Joulinar
ok, pls keep us posted. Probably it will help others if they hit similar issues.

Re: DietPi/PiFace/Home Assistant help required

Posted: Mon Jan 20, 2020 11:48 am
by brianm
Good morning forum and glad to report that I discovered a fix.

Resolution: Adding the group "spi" to the user "homeassistant" resolved the issue.
I also added the group "i2c" to the user as well just in case the i2c protocol is ever required.

I hope that my persistence is able to help someone out some day.

Re: DietPi/PiFace/Home Assistant help required

Posted: Wed Jan 22, 2020 7:11 pm
by MichaIng
Many thanks for reporting and investigating this issue, guys. I think we should add the HA user to SPI+I2C groups by default, as this is a common use-case. Will be done for v6.29.