Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. f3rn4nd0d
    3. Topics
    • Continue chat with f3rn4nd0d
    • Start new chat with f3rn4nd0d
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by f3rn4nd0d

    • Core (Black) unit not compatible with UIFLOW?
      UIFlow • • f3rn4nd0d

      4
      0
      Votes
      4
      Posts
      5105
      Views

      My M5stack Black is working ok on 1.2.3-en
    • [Solved]Any way to know the name of the SSID and other info with wifisetup?
      Micropython • • f3rn4nd0d

      6
      0
      Votes
      6
      Posts
      8012
      Views

      Well, I've managed to do on a different way, thanks a lot for your help. Here is the code: #import wifisetup #wifisetup.auto_connect() import network from m5stack import * from m5ui import * from m5_pin import * from m5mqtt import M5mqtt from time import strftime, ticks_ms, ticks_diff, sleep_ms import utime import _thread def connect(ssid,auth,timeout=6000): from network import WLAN, STA_IF, AP_IF global uplink uplink = WLAN(STA_IF) uplink.active(True) uplink.connect(ssid, auth) started= ticks_ms() while True: if uplink.isconnected(): return True else: if ticks_diff(ticks_ms(), started) < timeout: sleep_ms(100) continue else: return False wlan = network.WLAN(network.AP_IF) while True: if connect('Wifi1', 'password1'): red='Wifi1' break elif connect('Wifi2', 'password2'): red='Wifi2' break print('connected to: ',red) ...
    • MQTT and Ui.Flow help needed
      UIFlow • • f3rn4nd0d

      11
      0
      Votes
      11
      Posts
      15007
      Views

      In your picture, the “/“ looks strange (it is touching the text) and not like mine. Perhaps you copied and pasted the feeds path from the Adafruit dashboard into UIFlow and it added some other character that looks like “/“ but is not truly a forward slash. Not entirely sure, but glad you got it working.
    • M5UI.Flow and Blynk?
      Cores • • f3rn4nd0d

      5
      0
      Votes
      5
      Posts
      8645
      Views

      Here you go... http://forum.m5stack.com/topic/575/blynk-on-m5stack-via-uiflow-and-block-maker