OK, I understand a little bit better now, What I was intending to get across:
"I would like to have a lightweight MQTT broker in UIFlow that would run on the M5 Core 2!"
Best posts made by jimbol
-
RE: MQTT broker library
Latest posts made by jimbol
-
RE: m5Dail MQTT and Wifi Help
Hi, I am trying to get MQTT to work on M5Dial, I started using uiflow2 and building myself, I have made it work in the past with a Core2 and UIFlow, but no luck yet with UIFLOW2 and the dial.
Using the M5Dial_WiFi_MQTT_UIFlow2.0.1 example from @felmue I can get it to work, but if I change the subscribe block to display the MQTT message, or to set a variable to get message(return bytes), I get the following error:
File "umqtt/simple.py", line 114, in connect
MQTTException: 2Can anyone help?
Further info: I have found that this is actually from the broker side. If I restart the broker, it will connect fine, until I power cycle, or reset. The second connection fails.
Solution: I ended up changing libraries to PicoMQTT and was able to get everything working.
-
M5Dial connect to account
Hi, I have an M5Dial, it used to be connected to my account, but I removed it while troubleshooting some connection issues. I cannot get it reconnected. If I try to use the M5 burner, it will never connect, it says it gets no response from serial port. It will connect over serial to upload code, but since it is not connected to my account, I cannot flash it new software via wifi. When I try to burn the UIFLOW2 firmware to it, it says "Get MAC failed" How can I get this reconnected to my account?
Using a Mac, if that matters. Thx for any help.
-
RE: use new MQTT unit with UIFlow?
@Arno
Where did you find this? I am using the current versions of the web UIflow(V 1.9.0), and the Desktop version(V 1.7.5) for Mac, but I only find the old version. I would very much like to have a second Mqtt client running.
JOhhhh, I see it's for the Ethernet MQTT unit. Does anyone know how I could have a second instance of MQTT on a core2 using UIflow?
-
images or icons for UI flow with M5 Core2
Hi,
I'm looking for a couple of images that are on the UIflow firmware, that I'd like to put in my own display on a core2 - I'd like to use the cloud and the wifi indicators, and change from red to green just like they do when you load the UIflow firmware. Can anyone help me find these? Thx! -
RE: Add Arduino code to app made with UIFlow....
OK, I'm learning... So I don't just need ESP32 code, it needs to be Micropython. So let's say I can find an MQTT broker written in MicroPython, how will I go about adding this into a UI flow project? I want to use UI Flow to do the user interface components, and include an MQTT broker. UIFlow already has an MQTT Client, but it does not look like there is a broker.
-
RE: MQTT broker library
OK, I understand a little bit better now, What I was intending to get across:
"I would like to have a lightweight MQTT broker in UIFlow that would run on the M5 Core 2!" -
Add Arduino code to app made with UIFlow....
Hi there,
I am new to M5Stack, and am trying to find my way. I'm trying to do a project with UI flow, and want to add to it an MQTT broker, which I have found ESP32 code for here: https://github.com/hsaturn/TinyMqtt
I want to build the functionality and the display elements in UIflow, and add the MQTT broker from the github code - how can I make this code work with the UIflow components?
Just looking for a high level view of where to start to make the two work together... Thx!
-
RE: MQTT broker library
@m5stack Thanks, will look into this. New to M5Stack here, so trying to figure this all out.
-
MQTT broker library
It's great that we have MQTT client, but I'd also like to have a lightweight MQTT broker that could run on the M5 Core 2.