Search found 7 matches

by brianm
Mon Jan 20, 2020 11:48 am
Forum: Troubleshooting
Topic: DietPi/PiFace/Home Assistant help required
Replies: 13
Views: 812

Re: DietPi/PiFace/Home Assistant help required

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 so...
by brianm
Sun Jan 19, 2020 9:48 pm
Forum: Troubleshooting
Topic: DietPi/PiFace/Home Assistant help required
Replies: 13
Views: 812

Re: DietPi/PiFace/Home Assistant help required

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 t...
by brianm
Sun Jan 19, 2020 6:58 pm
Forum: Troubleshooting
Topic: DietPi/PiFace/Home Assistant help required
Replies: 13
Views: 812

Re: DietPi/PiFace/Home Assistant help required

Interesting to note that there were no issues experienced when using HASSBIAN (which has been retired out) so with that I do wonder if user permissions have been addressed with the install of HASS under DietPi? Both use the pyenv environment which creates its own Python instance. As you mention (and...
by brianm
Sun Jan 19, 2020 6:21 pm
Forum: Troubleshooting
Topic: DietPi/PiFace/Home Assistant help required
Replies: 13
Views: 812

Re: DietPi/PiFace/Home Assistant help required

You are correct in that it does appear to be a "permissions issue" in regards to user homeassistant as the same works perfectly under user root. I will need to think about this some more but if anyone has some input/experience on how to add that within pyenv/homeassistant that would be great. Althou...
by brianm
Sun Jan 19, 2020 6:08 pm
Forum: Troubleshooting
Topic: DietPi/PiFace/Home Assistant help required
Replies: 13
Views: 812

Re: DietPi/PiFace/Home Assistant help required

Ok, just did some experimentation and although I changed the permission to octal 777 for both spidev0.0 and spidev0.1, I noticed after a reboot that the permission went back to 660. In any case I did not reboot after a change and as below, it appears now that although spidev0.0 appears to work, ther...
by brianm
Sun Jan 19, 2020 5:29 pm
Forum: Troubleshooting
Topic: DietPi/PiFace/Home Assistant help required
Replies: 13
Views: 812

Re: DietPi/PiFace/Home Assistant help required

Hi and thanks for getting back to me. The original permissions of spidev0.0 were octal 660. I changed it to 770 but still the same results. [email protected]:~# cd /dev [email protected]:/dev# ls -l spidev0.0 crwxrwx--- 1 root spi 153, 0 Jan 19 07:48 spidev0.0 [email protected]:/dev# ls -l spidev0.1 crwxrwx--- 1 root...
by brianm
Sun Jan 19, 2020 3:41 pm
Forum: Troubleshooting
Topic: DietPi/PiFace/Home Assistant help required
Replies: 13
Views: 812

DietPi/PiFace/Home Assistant help required

Hello forum! I require some assistance with a problem I have been battling with for a few days now with no success. In short I am trying to control my PiFace Digital II board from within HASS running on the latest version of DietPi. First of all, I have previously installed the PiFace and Home Assis...