Page 2 of 2
Re: Official MicroPython MQTT client
Posted: Tue Aug 02, 2016 9:23 am
by danielm
pfalcon, will TLS/SSL be supported by MQTT client sometime in the near future? In my opinion it is an important feature for any real-world IoT use-case.
Re: Official MicroPython MQTT client
Posted: Thu Aug 04, 2016 9:43 pm
by pfalcon
SSL support pushed to micropython-lib master (note that it requires mciropython master).
Re: Official MicroPython MQTT client
Posted: Mon Aug 15, 2016 2:17 pm
by pfalcon
User/password authentication support was contributed:
https://github.com/micropython/micropython-lib/pull/91
Re: Official MicroPython MQTT client
Posted: Tue Aug 16, 2016 2:06 pm
by 41536172@qq.com
how can i use the 'setup.py'?
Re: Official MicroPython MQTT client
Posted: Wed Aug 17, 2016 1:09 am
by 41536172@qq.com
i copied the file 'simple.py' which looks like the module file into micropython/esp8266/scripts and rename it as 'mqtt.py' and then i made the new port file ,wrote it into my 8266.
and then i can import mqtt it looks work!
Re: Official MicroPython MQTT client
Posted: Wed Aug 17, 2016 1:36 am
by 41536172@qq.com
but when i 'client=mqtt.MQTTClient(1, 192.168.1.88, 0)'
the prompt shows: invalid syntax for number
Re: Official MicroPython MQTT client
Posted: Wed Aug 17, 2016 6:46 am
by deshipu
Pass the ip address as a string.
Re: Official MicroPython MQTT client
Posted: Thu Aug 25, 2016 4:35 pm
by danielm
I encountered MQTT client or SSL library related issue.
I described it in this post:
http://forum.micropython.org/viewtopic. ... 172#p13172
Could you please take a look at it?
Re: Official MicroPython MQTT client
Posted: Sun Sep 18, 2016 6:27 pm
by pfalcon
danielm, I don't have WiPy/CC3200, so can't test that. SSL connection works well for me with esp8266 or unix port.
Re: Official MicroPython MQTT client
Posted: Sun Sep 18, 2016 6:28 pm
by pfalcon