tve / mqboard

Micro Framework for MicroPython Boards Managed via MQTT
MIT License
120 stars 18 forks source link

First initial steps working ok #15

Closed palmtreefrb closed 4 years ago

palmtreefrb commented 4 years ago

Just wanted to leave a quick note. Following your instructions and running the initial test it appears to be working. Only thing I had to do was (manually) add mqtt user and password to engine.py self._mqclient.username_pw_set("xxxuserxxx", "xxxxpasswordxxxx")

I will play with your blinky demo next.

$ ./mqboard/mqboard.py --server mqtt.xxxxxxx.com --port 8883 --tls --prefix xxxxxxxx eval '45+876' 921 $ ./mqboard/mqboard.py --server mqtt.xxxxxxx.com --port 8883 --tls --prefix xxxxxxxx eval 'import sys; print(sys.implementation)' (name='micropython', version=(1, 12, 0), mpy=10757)

image

tve commented 4 years ago

I'll keep this open as a reminder to add some auth params in mqboard, thanks for the confirmation.

tialm commented 4 years ago

Aaah this was what I was missing... Thank you! It was always going into Timeout. User and Password missing + --server mqtt.xxxxxxx.com --port 8883 --tls. Now configured successfully.

tve commented 4 years ago

Closing as a duplicate of #8