Wifi-connect layer still shown



  • Hello Guys,
    pardon me if this is wrong section.

    I just got M5stack core2, and I have a problem that when in UIFlow I create a program to connect to wifi and afterwards show any data. Wi-fi connect "screen" is shown on background even if I do clear lcd and set-background

    also I tried to create full screen label on layer 3 and it was OK.
    0_1604179625000_IMG_3300.JPEG

    Please do you have any idea what I am doing wrong?



  • could you share your program? the m5f file. or take a screenshot.



  • Hello there, i have the same problem. When i use the "RUN" button on https://flow.m5stack.com/ then i have no problem, everything is working as expected. But when i download then the Wi-Fi Connect page is shown behind the text labels i use.

    This is the only code i use at the moment:

    from m5stack import *
    from m5stack_ui import *
    from uiflow import *
    from m5mqtt import M5mqtt

    screen = M5Screen()
    screen.clean_screen()
    screen.set_screen_bg_color(0xFFFFFF)

    m5mqtt = M5mqtt('SchermWoonkamer', '192.168.1.100', 1883, '', '', 300)

    label0 = M5Label('Text', x=7, y=7, color=0x000, font=FONT_MONT_14, parent=None)

    def fun_domoticz_out_(topic_data):

    global params

    label0.set_text(str(topic_data))
    pass
    m5mqtt.subscribe(str('domoticz/out'), fun_domoticz_out_)

    m5mqtt.start()
    label0.set_text('Opgestart')