Bug report: UIFlow 2.0 can't save projects for Nano C6
-
Hi! i've been trying to program and save project for my recently bought NanoC6, and it seems to be work fine, but when i'm trying to save it to the cloud - all blocks disappears when i'm trying to get back to project on other day :"(
But strangely i can see blocks on the preview...It was flashed with UiFLow official software to be seamlessly connected to web code designer
Order date: Aug 20, 2025 , but arrival was later due to the company announced holidaysVersion of UIFlow: 2.3.7
Steps to re-production: any code or blocks placed on the field is not saving, but on preview it shows
Example code:
i hope it could be helpful since it is in the rules of bug report postingimport os, sys, io
import M5
from M5 import *
import network
from hardware import I2C
from hardware import Pin
from unit import MiniOLEDUnit
import timewifi_status = None
Hr = None
Min = None
Sec = None
Hr_line = None
Min_line = None
Sec_line = None
wlan = None
i2c0 = None
minioled_0 = NoneHour = None
Minute = None
Second = None
tuple0 = Nonedef setup():
global wifi_status, Hr, Min, Sec, Hr_line, Min_line, Sec_line, wlan, i2c0, minioled_0, Hour, Minute, Second, tuple0M5.begin()
M5.Lcd.setBrightness(100)
wlan = network.WLAN(network.STA_IF)
i2c0 = I2C(0, scl=Pin(1), sda=Pin(2), freq=100000)
minioled_0 = MiniOLEDUnit(i2c0, 0x3c)
Widgets.fillScreen(0x000000, minioled_0)
wifi_status = Widgets.Label("wifi", 13, 0, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu9, minioled_0)
Hr = Widgets.Label("HR", 0, 10, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu9, minioled_0)
Min = Widgets.Label("Min", 0, 20, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu9, minioled_0)
Sec = Widgets.Label("Sec", 0, 29, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu9, minioled_0)
Hr_line = Widgets.Label("Hours", 21, 10, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu9, minioled_0)
Min_line = Widgets.Label("Minutes", 21, 20, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu9, minioled_0)
Sec_line = Widgets.Label("Seconds", 21, 29, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu9, minioled_0)
time.timezone('GMT+3')
wlan.connect('SSID_NAME', 'PASSWORD')
tuple0 = time.localtime()
Hour = tuple0[3]
Minute = tuple0[4]
Second = tuple0[5]def loop():
global wifi_status, Hr, Min, Sec, Hr_line, Min_line, Sec_line, wlan, i2c0, minioled_0, Hour, Minute, Second, tuple0
M5.update()
if wlan.isconnected():
wifi_status.setText(str('Wifi OK'))
if not (wlan.isconnected()):
wifi_status.setText(str('Wifi NO'))
tuple0 = time.localtime()
Hour = tuple0[3]
Minute = tuple0[4]
Second = tuple0[5]
Hr.setText(str(Hour))
Min.setText(str(Minute))
Sec.setText(str(Second))
while not (BtnA.wasSingleClicked()):
M5.Lcd.setBrightness(0)
break
while BtnA.wasClicked():
M5.Lcd.setBrightness(100)
time.sleep(5)
breakif name == 'main':
try:
setup()
while True:
loop()
except (Exception, KeyboardInterrupt) as e:
try:
from utility import print_error_msg
print_error_msg(e)
except ImportError:
print("please update to latest firmware") -
Hello @Physalice
hmm, works for me. Make sure you are logged into your account before attempting to save your work into the cloud.
I created a small test - you could try to see if that loads the blocks for you. You can find it in the Project Zone called: M5NanoC6_RGB_LED_Blink_Test_UIFlow2.3.7
Thanks
Felix -
@felmue Hmm... i can see it and import as well. why then i can't do it with my own stuff - is still mystery for me...
I've been logged in in my account for whole time, but every time i do something and wanted get back to it on the other day - whole space is blank.
This exact issue does not occuring if i trying do the same stuff but with CardPuter v1.1. it just loads with zero problems
-
Hello @Physalice
this is strange indeed. Unfortunately I have no idea why this only happens when using M5NanoC6, sorry.
Thanks
Felix -
Hi @felmue @Physalice
This issue seems to be related to any unit with a screen. Anyway, we have fixed it!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login