This commit is contained in:
Stuart Feichtinger 2016-01-31 19:36:36 -06:00
parent 4ef9fdf877
commit 93a86299b0

View File

@ -2,7 +2,7 @@
This example illustrates Publish an arbitrary data packet using the Adafruit MQTT library to an MQTT feed which can then be parsed by the included python subscriber client. This example illustrates Publish an arbitrary data packet using the Adafruit MQTT library to an MQTT feed which can then be parsed by the included python subscriber client.
## Installing and configuring Mosquitto (minimal working setup) ### Installing and configuring Mosquitto broker (minimal working setup)
####Installing on Raspberry Pi/Linux: ####Installing on Raspberry Pi/Linux:
@ -19,7 +19,7 @@ cd /usr/local/etc/mosquitto
#See "Both" Setup Instructions Below #See "Both" Setup Instructions Below
``` ```
####Configuring Mosquitto ####Configuring Mosquitto broker
```bash ```bash
sudo nano mosquitto.conf sudo nano mosquitto.conf
``` ```
@ -62,7 +62,7 @@ mosquitto_passwd pwfile TestPy #Enter and confirm password when prompted
``` ```
--- ---
## Using Example Python Subscriber: ### Using Example Python Subscriber:
Install dependencies if haven't already Install dependencies if haven't already
```bash ```bash