{"provider_name":"Hatena Blog","width":"100%","type":"rich","description":"\u30b9\u30de\u30fc\u30c8\u30e1\u30fc\u30bf\u306e\u8a08\u6e2c\u5024\u304c\u3044\u3064\u3067\u3082\u898b\u3089\u308c\u308b\u3088\u3046\u306b\u3001ESP32 + Servo\u3067\u30e1\u30fc\u30bf\u3092\u4f5c\u308d\u3046\u3068\u3057\u3066\u3044\u307e\u3059(\u57fa\u672c\u306f\u304a\u3082\u3061\u3083)\u3002 \u307e\u3060\u6e05\u66f8\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u304c\u3001MicroPython\u3067\u66f8\u3044\u305f\u3001AWS IoT\u63a5\u7d9a\u2192Subscribe\u2192\u30b5\u30fc\u30dc\u5236\u5fa1\u306e\u30bd\u30fc\u30b9\u306f\u4ee5\u4e0b import machine import json from umqtt.simple import MQTTClient ENDPOINT = b'a3bxxxxxxkf7t-ats.iot.ap-northeast-1.amazonaws.com' ID = 'basicPubSub' TOPIC = \"topic_1\" KEYFILE = '\u2026","author_name":"chakoku","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchakoku.hatenablog.com%2Fentry%2F2022%2F04%2F23%2F212443\" title=\"ESP32+MicroPython+MQTT\u3067AWS IoT\u3068\u63a5\u7d9a\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u53d7\u4fe1\u3057\u3066\u3001\u30b5\u30fc\u30dc\u3092\u52d5\u304b\u3059 - chakoku\u306e\u30d6\u30ed\u30b0(rev4)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://chakoku.hatenablog.com/","categories":[],"title":"ESP32+MicroPython+MQTT\u3067AWS IoT\u3068\u63a5\u7d9a\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u53d7\u4fe1\u3057\u3066\u3001\u30b5\u30fc\u30dc\u3092\u52d5\u304b\u3059","version":"1.0","provider_url":"https://hatena.blog","url":"https://chakoku.hatenablog.com/entry/2022/04/23/212443","image_url":null,"author_url":"https://blog.hatena.ne.jp/chakoku/","blog_title":"chakoku\u306e\u30d6\u30ed\u30b0(rev4)","height":"190","published":"2022-04-23 21:24:43"}