Skip to content

Commit a1667e3

Browse files
committed
Update README to mention MQTT client example.
1 parent 5f4a3dd commit a1667e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ A [Python][1] client for use with with [io.adafruit.com][2].
3636
#create a feed
3737
aio.create_feed({:name => "New Feed Name", ...})
3838

39+
MQTT/Publish-Subscribe
40+
41+
Avoid the overhead of polling so you can immediately be notified of changes in a feed by using the
42+
MQTT-based client. Make sure the paho-mqtt package is installed (````sudo pip install paho-mqtt````),
43+
then check out the [examples\mqtt_client.py](https://github.com/adafruit/io-client-python/blob/master/examples/mqtt_client.py) example for more details.
44+
3945
## Contributing
4046

4147
1. Fork it ( http://github.com/adafruit/io-client-python/fork )

0 commit comments

Comments
 (0)