{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/2055","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/2055/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/2055/events","html_url":"https://github.com/micropython/micropython/issues/2055","id":153668769,"number":2055,"title":"esp8266: Implement MQTT client support","user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-08T17:57:16Z","updated_at":"2016-05-09T17:13:36Z","closed_at":null,"body":"The basic plan is: start with implementing in Python, if places requiring optimization are spotted, implement them in C.\r\n\r\nThe reference server/broker: Mosquitto 1.4.8 http://mosquitto.org/download/ (implemented in C). Built from source without changes. Run as `./mosquitto -v`.\r\n"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/217927510","html_url":"https://github.com/micropython/micropython/issues/2055#issuecomment-217927510","issue_url":"https://api.github.com/repos/micropython/micropython/issues/2055","id":217927510,"user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T17:13:36Z","updated_at":"2016-05-09T17:13:36Z","body":"> I don't think that publish or subscribe only clients are that much use.\r\n\r\nContrary, I don't need my button to subscribe to anything and my temperature display to publish anything. esp8266 devices in particular would largely be used these ways (there's simply not enough memory to bloat them to do both).\r\n\r\n> I regard auto reconnect as basic, otherwise I just land up implementing it myself every time.\r\n\r\nContrary, normal way to use MQTT is to connect-publish-disconnect. Subscribers are order(s) of magnitude less numbered, and usually belong to more powerful devices (for example, temperature display mentioned above is likely a web page [open on an android device nailed to the wall]). How they handle reconnect is outside of the topic of this ticket.\r\n"}}