Navigation

    M5Stack Community

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

    Wolli01

    @Wolli01

    8
    Reputation
    52
    Posts
    660
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Wolli01 Follow

    Posts made by Wolli01

    • RE: Bluetooth over Core2

      Thank You

      posted in UIFlow
      W
      Wolli01
    • RE: Bluetooth over Core2

      Doesn't anyone have a simple BLE example where I can just scan the ad data from Bluetooth?

      posted in UIFlow
      W
      Wolli01
    • [M5Core] empty UIFlow firmware

      I would like to have a UIFlow to burn for the M5Core and Stick versions where there is no UIFlow start menu and such.
      So similar to pure Micropython, but with all the drivers from UIFlow.
      That would be my biggest wish!

      posted in Features Wish List
      W
      Wolli01
    • Bluetooth over Core2

      Hello friends of the M5Stack.
      Who has Bluetooth over UIFlow running in the Core2.
      I need it to scan Bluetooth sensors.
      Does anyone have a sample code for me?

      posted in UIFlow
      W
      Wolli01
    • RE: req.status_code

      '''

      Update der Settingdaten holen---------------------------------------

          if (Verbindung) == 1 and wifiCfg.wlan_sta.isconnected(): #Nur bei bestehender Internet Verbindung
              print("-----------------------------------------------")
              print("Überprüfe ob es eine Online-Setting Datei gibt")
              try:
      
                  try:
                    req = urequests.request(method='GET', url=settings.Gateway+'onlinesettings.txt')
                    print('onlinesettings.txt wurde auf vorhandensein überprüft')
                    print(str(req.status_code))
                    time.sleep(1)
                  except:
                    print('onlinesettings.txt ist nicht vorhanden')
      
                  if (req.status_code == 200) :
                      print('onlinesettings Uebertragung OK')
      
                      if (ssd1306) == 1:
                          if (settings.Display) == 1:
                              lcd.print("Online Update, Setting erfolgt...",0,170,0xb8b8b8)               
                      time.sleep(1) #Warte 1 Sekunden
      
                      with open('/sd/settings.py', 'w') as updatefile:
                          updatefile.write(req.text)
                      updatefile.close()
                      print('onlinesettings wurde neu erstellt')
                      time.sleep(1)
                      
                      #Datei wieder löschen-------------
                      req = urequests.request(method='GET', url=settings.Gateway+'killsettings.php')
                      print('Setting Datei wurde auf dem Server wieder geloescht')
                      time.sleep(1)
                      Setting_Online_Update = 1
                      
                  else:
                      print('Keine Setting Datei vorhanden!')
                      print("-------------------------------------------")                    
                      
      
              except Exception as e:
                  print('Fehler!')
                  print(e)
      

      Update der Settingdaten holen---------------------------------------

          # On Off Einstellungen holen---------------------------------------
          if (Verbindung) == 1 and wifiCfg.wlan_sta.isconnected(): #Nur bei bestehender Internet Verbindung
              print("Überprüfe ob übers Internet ausgeschaltet wird")
              try:
      
                  try:
                    req1 = urequests.request(method='GET', url=settings.Gateway+'onoff.txt')
                    print('onoff.txt wurde auf vorhandensein überprüft')
                    print(str(req1.status_code))
                    time.sleep(1)
                  except:
                    print('onoff.txt ist nicht vorhanden')
      
                    if (req1.status_code == 200) :
                         print('onoff Uebertragung OK')
                         OnOff = 0 # An Aus Schalter = Aus
                          
                        #Datei wieder löschen-------------
                         req2 = urequests.request(method='GET', url=settings.Gateway+'killpoweronoff.php')
                         print('On-Off Datei wurde auf dem Server wieder geloescht')
                         time.sleep(1)
                          
                    else:
                         print('Keine On-Off Datei vorhanden!')
                         print("-------------------------------------------")                        
      
              except Exception as e:
                  print('Fehler!')
                  print(e)
          # On Off Einstellungen holen---------------------------------------
      posted in UIFlow
      W
      Wolli01
    • RE: req.status_code

      Module is Core2.
      It runs in a loop While True:
      On the first run, everything runs correctly.
      From the second run on, the status code is no longer displayed. It is simply skipped!

      posted in UIFlow
      W
      Wolli01
    • RE: UIFlow 1.7.0

      The example does not work. It would be nice to have one for the Core2 where you just scan BLE.

      posted in Official Updates
      W
      Wolli01
    • req.status_code

      req = urequests.request(method='GET', url='http://xxx.de/Datum.txt')
      print(str(req.status_code))

      The status code is displayed on the first pass, but not on the second pass. What could be the reason for this?

      posted in UIFlow
      W
      Wolli01
    • RE: UIFlow 1.7.0

      Can someone post an example of how to use BLE?

      posted in Official Updates
      W
      Wolli01
    • RE: Pure Micro Python without Ui-Flow on my M5Stack core2

      @lukasmaximus
      http://micropython.org/download/esp32/
      Which file must be taken for the M5Stack Basic and for the Core 2? There are plenty of different ones.
      Do you have a small example to output the text hello in the main.py?
      The lib. Dateine I have downloaded all from your GitHub account and installed under the lib folder.
      I've been trying for hours but the screen always stays blank. It would be nice if you could help.

      Translated with www.DeepL.com/Translator (free version)

      posted in Micropython
      W
      Wolli01