Search found 10 matches

by spynappels
Sun Dec 10, 2017 8:28 pm
Forum: Programs, Libraries and Tools
Topic: umqtt.simple and user/password authentication
Replies: 8
Views: 12347

Re: umqtt.simple and user/password authentication

Did you get your sample with SSL/TLS working? If so, would it be ESP32 compatible? I have not, but to be fair, I've not come back to it yet as the username and password usage inside my test LAN was sufficient. I will try to get back to it and in terms of ESP32 compatibility, if it runs micropython ...
by spynappels
Fri Jul 21, 2017 6:35 am
Forum: Programs, Libraries and Tools
Topic: umqtt.simple and user/password authentication
Replies: 8
Views: 12347

Re: umqtt.simple and user/password authentication

Good point, well taken.
I'll wait until I have the SSL/TLS component working too before raising a PR.

Thanks again.
by spynappels
Fri Jul 21, 2017 6:22 am
Forum: Programs, Libraries and Tools
Topic: umqtt.simple and user/password authentication
Replies: 8
Views: 12347

Re: umqtt.simple and user/password authentication

Aaaaahhhhhhh! That'll teach me to actually Google the error messages I get properly! It was working, but I was getting MQTT Exception: 4 which is Auth Failed. Ensuring the username and password were actually correct made it work. Thanks for the sanity check though. Do you think it might be a good id...
by spynappels
Fri Jul 21, 2017 5:55 am
Forum: Programs, Libraries and Tools
Topic: umqtt.simple and user/password authentication
Replies: 8
Views: 12347

Re: umqtt.simple and user/password authentication

Thanks for the response Peter. I am using Mosquitto on a RasPi and it is configured correctly for password auth (but not SSL yet) as I can use mosquitto_pub to send messages and both publishing and subscribing from the Android client I am testing with works. A snippet of the code I'm using is this, ...
by spynappels
Thu Jul 20, 2017 12:10 pm
Forum: Programs, Libraries and Tools
Topic: umqtt.simple and user/password authentication
Replies: 8
Views: 12347

umqtt.simple and user/password authentication

I've been playing with umqtt on an esp8266 running MicroPython 1.9.1 I have been able to get it working fine with the broker accepting anonymous connections, but when I wanted to force the use of username and password for authentication, I was unable to make that work. Is this currently supported, o...
by spynappels
Tue Feb 07, 2017 7:42 am
Forum: General Discussion and Questions
Topic: Noob question on Modules
Replies: 10
Views: 8094

Re: Noob question on Modules

Thank you both very much chaps, that clarifies matters a lot.

Stefan
by spynappels
Mon Feb 06, 2017 8:09 am
Forum: General Discussion and Questions
Topic: Noob question on Modules
Replies: 10
Views: 8094

Re: Noob question on Modules

Thanks for the responses guys, I'll try that and see how I get on. I assume that the directory including the __init__.py file is the "proper" way to do it?
by spynappels
Sun Feb 05, 2017 7:14 pm
Forum: General Discussion and Questions
Topic: Noob question on Modules
Replies: 10
Views: 8094

Noob question on Modules

Hi All, I have a question on using Micropython modules sourced from PyPI. I have several esp8266 (Wemos D1 mini) boards which I have flashed with the Micropython firmware and have been using to improve my Python ability. However, I have a question on using Micropython modules from Pypi, such as the ...
by spynappels
Thu Jan 26, 2017 12:01 pm
Forum: ESP8266 boards
Topic: Project Thread: Electric Go-Kart with Remote Kill Capability
Replies: 3
Views: 3096

Re: Project Thread: Electric Go-Kart with Remote Kill Capability

Ha! I knew it wouldn't be long until I was back to ask questions. Is there an easy option to use non-blocking sockets in MicroPython currently? I have created the socket as non-blocking and put the code to read from the socket in a [code]try:[/code] block, with the other code in the [code]except OSE...
by spynappels
Wed Jan 25, 2017 12:21 pm
Forum: ESP8266 boards
Topic: Project Thread: Electric Go-Kart with Remote Kill Capability
Replies: 3
Views: 3096

Project Thread: Electric Go-Kart with Remote Kill Capability

Hi All, I've started a project with my father to build an electric go-kart for my children using some 24vdc wheelchair motors, PWM motor controllers and a Wimos D1 mini board, with the control code written in MicroPython. This is likely to be a long running project with many iterations and I'll like...