Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousJames authored Mar 11, 2024
1 parent bd75a06 commit 57ad22f
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,30 @@ Also included in 'Extras' is the [Fritzing](https://fritzing.org/) pcb/breadboar
```
- This repository
```
sudo apt install git && git clone https://github.com/CuriousJames/DIYAC.git
sudo apt install git && git clone https://github.com/CuriousJames/DIYAC.git && cd DIYAC
```
- Wiegand.py put in the project directory (as obtained from: [Abyz.me.uk](http://abyz.me.uk/rpi/pigpio/code/wiegand_py.zip))
```
wget http://abyz.me.uk/rpi/pigpio/code/wiegand_py.zip && unzip wiegand_py.zip && rm -rf wiegand_py.zip
wget http://abyz.me.uk/rpi/pigpio/code/wiegand_py.zip && unzip wiegand_py.zip && rm -rf wiegand_py.zip && rm -rf wiegand_old.py
```
- Enable PiGPIO on the Pi (just do this once and it will start automatically on boot)
```
sudo apt-get update && sudo apt-get install pigpio python-pigpio python3-pigpio && sudo systemctl enable pigpiod
```
- SD Notify
- with pip3
- install pip3
```
sudo apt-get update && sudo apt-get install python3-pip
```
- install python sdnotify
```
pip3 install sdnotify
```
```
sudo apt-get update && sudo apt-get install python3-pip && sudo pip3 install sdnotify
```
- with apt
```
sudo apt install python3-sdnotify
```
- Config
- allow sudo group to run systemctl start pigpiod without password
- Create DIYAC user, diable login and add to sudoers group
```
sudo useradd -M diyac && sudo usermod -L diyac
```

## Installing the service ##

Expand Down

0 comments on commit 57ad22f

Please sign in to comment.