I am bemused that this is still missing.
I have the mic and PDM units I was hoping to use with the M5Dial, but they don't look available in UIFlow2, and one of them is listed in UIFlow1 but disabled.
I am bemused that this is still missing.
I have the mic and PDM units I was hoping to use with the M5Dial, but they don't look available in UIFlow2, and one of them is listed in UIFlow1 but disabled.
Also working now :-)
Many thanks.
I am also unable to log in.
I have tried Safari, Chrome and Arc after a laptop restart and still no luck.
Even cleared the browser cache (all of them)
Looking at the network calls in browser developer tools, it seems it is timing out on the doLogin request.
https://uiflow2.m5stack.com/m5stack/api/v2/login/doLogin
Sigh!
Tim
Just looping back on this... (sort of).
I found the example of using a Core device as a LoraWan gateway, and it seems the code is only availe to load into the M5Core.
Being as the code was for an older version than the CoreS3 I have, I have looked around for the UIflow version of that example, but am unable to find it.
Does anyone know if it existed and where it might be, so that I can compare it to what is available in UIFlow2 and update it?
Many thanks,
I have been testing LoRa with Meshtastic lately using ESP32 boards (Heltec and Lilygo) and am looking to try now with M5. Built into the platform is support for environment sensors, other may need a bit of work to add (which is what I am hoping to do). I have a test mesh of 6 nodes, and only 1 is connected to my WiFi. Each node sends telemetry data with is read by the one (on WiFi) which in turns sens the message to an MQTT server. I then use Node-Red to process and push write the data into MongoDB.
LoRaWAN uses LoRa to communicate with the gateway, so as long as it is reachable by the sensor you should be able to get your data.
The LoRaWAN gateway does the bit of connecting your sensors to the cloud/network where you can access them.
HTH.
@felmue said in LoRaWan_868 not working under UIFlow 2.01 on CoreS3 or SticC Plus:
here
Hi,
I have followed the instructions and after changing the lorawan module as describe above (and managing to get the CoreS3 into bootloader mode, it is now loading the 'program' onto the device, with no errors.
Now just to get the LoRa connection working :-)
Many thanks.
Tim
Is there a way we can update the firware (I am using the EU version 868), or do we wait until the next drop of UiFlow?
Tim
This was my original question really.
If I add any HTTP block into UiFlow2.x then it will include import urequests in the code.
This will fail, even if I add an import requests myself.
So my solution was to use a code block instead of a http block to perform the task I wanted, but a little on the clumsy side and not really what UiFlow was meant to be used.
I wonder if I imported reuqests as urequests and then urequests as request it would fool it?
Tim
Update: Error message in image below.
Whilst this got me bugged through the night, I have managed to get something working after REPL-ing into the CoreS3.
The library urequests isn't there, but there is one called requests
I have adapted my code to run in execute blocks in UiFlow to get a result. It's not the best, but it does work.
Below is the same code but trying to use it in something else as part of my testing.
Thanks again.
Hi,
I am new, but I have been poking around since I experienced the urequests library not found error.
I REPL'd into my Core3,, and sure enough, it wasn't there, but there was one called requests.
I did some poker with the code in UiFlow and read many Google answers, but I managed to get it to work. I ended up with the HTTP request in a code block.
http_req = requests.request(
method='POST',
url='http://192.168.1.51/json/state',
headers={'Content-Type':'application/json'},
data='{"on":true,"bri":255, "v":true, "seg":{"fx":"r", "pal":"r"}}'
)
http_req.close()
It seemed to work for me, but I would prefer to get it working correctly.
Hi,
I have started tinkering with the M5Stack and am finding it a very useful device. I can certainly see lots of potential.
I wanted to test sending a POST HTTP request to a WLED device running on my network.
I have tested the syntax outside of UiFlow 2.0 to be sure I have it correct.
However, when I send the code to the device, I just get a blank screen.
Also, when I tried sending it over the USB serial port, I encountered an error message...
ImportError: no module named 'urequests'
I have also tried a simple GET http request shown in the documentation and still got the same error.
I am using v2.01 of UiFlow and have burned the latest to the device.
A lot of searching didn't really get me to any simple solution.
Any thoughts would be welcome.
Many thanks in advance.