Skip to content

Commit

Permalink
Update README-SPI.md
Browse files Browse the repository at this point in the history
Start the PiGPIOd service prior to testing the `ISP-lightning-mqtt-daemon.py` script.
Check the status of PiGPIOd with `status`, not `start`
  • Loading branch information
lightmaster authored Sep 2, 2020
1 parent 5e864ba commit 204f8b9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README-SPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,13 @@ vim /ISP-lightning-mqtt-daemon/config.ini

When you are ready to test your adjustments to the config.ini file you can start an MQTT monitor tool to see what your newly adjusted script will do. (I use [MQTTBox](http://workswithweb.com/mqttbox.html) to monitor all my MQTT testing.)

Once you are ready to monitor then a first test run is as easy as:
Once you are ready to monitor, first start the PiGPIOd service

```shell
sudo systemctl start pigpiod.service
```

Then a first test run is as easy as:

```shell
python3 /opt/ISP-lightning-mqtt-daemon/ISP-lightning-mqtt-daemon.py
Expand Down Expand Up @@ -184,7 +190,7 @@ Now that the 'daemon' user is configured to allow access the hardware you can se
sudo systemctl start isp-lightning.service

# see if services are running (ensure no start errors)
sudo systemctl start pigpiod.service
sudo systemctl status pigpiod.service
sudo systemctl status isp-lightning.service
```

Expand Down

0 comments on commit 204f8b9

Please sign in to comment.