🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Wifi-connect layer still shown

    Bug Report
    3
    3
    3.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      potok
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • m5stackM
        m5stack
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • W
          WouterG
          last edited by

          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')

          1 Reply Last reply Reply Quote 0
          • First post
            Last post