I study to subscribe the Topic Data from AWS IoT with MQTT.
- Python 3.6
- Raspberry Pi 2+
- Raspbian Stretch with desktop(https://qiita.com/areaz_/items/d488fb948de090a7b4c8)
- MQTT Library(paho-mqtt)(https://qiita.com/areaz_/items/d488fb948de090a7b4c8)
- Certification of AWS IoT(https://qiita.com/areaz_/items/d488fb948de090a7b4c8)
https://qiita.com/areaz_/items/6fc869cd2bf1ea1549c4
L21: a part of AWS IoT Endpoint URL L22: a part of Certification Name L24: TOPIC of AWS IoT
$ python mqtt_subscribe.py