Add sensors folder

This commit is contained in:
Denis-Cosmin Nutiu 2022-06-13 12:58:41 +03:00
parent cd23749cf7
commit 5cbc298b63
3 changed files with 7 additions and 2 deletions

View file

@ -11,7 +11,9 @@ After running the program you'll be given the QR code used to add the sensor as
## Installing
Ensure you are the `pi` user. Clone the repo in home and then install requirements.
Ensure you are the `pi` user. Clone the repo in home and then install requirements.
### Cloning the project
```bash
cd /home/pi && git clone git@github.com:dnutiu/bme680-homekit.git && cd bme680-homekit
@ -19,9 +21,12 @@ sudo apt-get install libavahi-compat-libdnssd-dev
pip3 install -r requirements.txt
```
### Sensors
Run the program once to pair it with your ios. ex:
```bash
cd sensors
python3 main.py
Setup payload: X-HM://0023K50QET2YB
Scan this code with your HomeKit app on your iOS device:

View file

@ -6,7 +6,7 @@ After=local-fs.target network-online.target
Restart=on-failure
RestartSec=5s
User=pi
ExecStart=/usr/bin/python3 /home/pi/bme680-homekit/main.py
ExecStart=/usr/bin/python3 /home/pi/sensors/bme680-homekit/main.py
[Install]
WantedBy=multi-user.target