MQTT UIFlow problems
-
yesterday i downloaded my first blocky with mqtt and it was running. Today i tryed to reload (download from M5Flow) the same blocky but it's no more running. Nothing has been changed in my code, but i saw a new UI of Flow, is it possible that the new "http://flow.m5stack.com/" has some problems?
-
Very sorry, we will fix it today,
-
@heybin thank you, this evening i will try...
also, if i can, i think then the image used to insert text, label etc...in the m5 is too little -
@heybin said in MQTT UIFlow problems:
Very sorry, we will fix it today,
Has it been fixed yet? I'm trying the example, but after downloading the MQTT example flow to my m5stack Fire, it just freezes. It is not responsive until I reset it.
https://m5stack.github.io/UIFlow_doc/cn/zh_CN/MQTT/Example.html
My flow:
cloudmqtt settings:
Here are the logs from cloudmqtt.com. Not sure how to resolve the socket error.
2019-01-22 19:07:18: mosquitto version 1.5.5 starting
2019-01-22 19:07:18: Config loaded from /var/lib/mosquitto/19639/mosquitto.conf.
2019-01-22 19:07:18: Opening ipv4 listen socket on port 29639.
2019-01-22 19:07:18: Opening websockets listen socket on port 39639.
2019-01-22 19:07:18: Opening ipv4 listen socket on port 19639.
2019-01-22 19:09:09: New client connected from 64.100.78.39 as cloudmqtt-st-ui-0.9613626986254669 (c1, k60, u'oklhhzzb').
2019-01-22 19:09:10: Socket error on client cloudmqtt-st-ui-0.9613626986254669, disconnecting.
2019-01-22 19:09:11: New client connected from 64.100.78.39 as cloudmqtt-ws-ui-0.6445892594600325 (c1, k60, u'oklhhzzb').
2019-01-22 19:10:05: Client cloudmqtt-ws-ui-0.6445892594600325 disconnected. -
What Operating system do you use?
What M5 are you using? -
@dvd78 said in MQTT UIFlow problems:
@heybin thank you, this evening i will try...
also, if i can, i think then the image used to insert text, label etc...in the m5 is too littleUse the internet browsers zoom function.
-
@ajb2k3 said in MQTT UIFlow problems:
What Operating system do you use?
What M5 are you using?I'm on a Mac with OS 10.13.6 (High Sierra).
I have the m5stack Fire (red) hardware running v1.1.1.Is MQTT working for you?
-
Yes, but I'm worried about the restarting.
I only have an M5Core -
I have a m5stack grey as well that I will try tonight.
-
i have an M5core too but mqtt is not working yet
-
@dvd78 Update firmware to 1.1.1 to get MQTT working.
-
@ajb2k3 said in MQTT UIFlow problems:
@dvd78 Update firmware to 1.1.1 to get MQTT working.
i did it yesterday, do i need to download a new version?
-
@dvd78 Sorry, yesterday our engineers forgot to update....
now, already fixed, refresh web page it will be ok -
MQTT working good for me now with both of my grey and fire m5stack cores. I have tested cloudmqtt and io.adafruit. Thanks for fixing it!
-
@heybin thank you, problem is solved.
bye
-
I tried the same blocky today. It uploaded but on the display I only see: error ImportError('mqtt need download...'.)
I am using an M5Stack Fire, firmware 1.1.2.
I have a local MQTT broker running on an Onio Omega and the upload is done with a Windows 10 computer.Any help would be appreciated.
-
Instead of running the program directly from uiFlow (which is the triangle button at the top-right), just click the Download option from the hamburger menu.
-
Thanks! That worked.
Just out of curiosity: What's the difference between the two? -
@the_stacker said in MQTT UIFlow problems:
Thanks! That worked.
Just out of curiosity: What's the difference between the two?Run is just for quick testing of your program. It is erased on a reboot. Download will add the program to the flash storage on the device so you can access it from the APP.LIST menu (middle button when the M5stack is booting up - inbeteeen upload and setup).