bugsounet / MMM-Pir

Manage your screen with a pir sensor
MIT License
28 stars 7 forks source link

Installation Error - 'pi' user does not exist #3

Closed spospordo closed 1 year ago

spospordo commented 1 year ago

I currently ssh into my pi using a separate user account which was set up when i created the raspberry image. It appears the installation of this module requires the 'pi' user. Is this true? Is there a way for me to install? I haven't been able to get the PIR to be recognized and i've verified i'm using the correct GPIO pin. I also attempted running the usermod command for my user account. The below message was in the installation terminal output.

Prepare PIR sensor using usermod: user 'pi' does not exist Error command: sudo usermod -a -G gpio pi Error command: sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt Done