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

    Get RSSI on connected WiFi

    Scheduled Pinned Locked Moved General
    6 Posts 3 Posters 11.6k Views 1 Watching
    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.
    • M5StickFreaklerM Offline
      M5StickFreakler
      last edited by

      Hi folks

      How can I get the RSSI value of the connected WiFi?

      There is no no RSSI() function on wifiCfg in micropython (uiflow)

      Thanks for help ;-)

      Best regards
      Thomas

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

        refer below code . use this function

        import wifiCfg
        
        wifiCfg.wlan_sta.scan()
        
        
        M5StickFreaklerM 1 Reply Last reply Reply Quote 0
        • M5StickFreaklerM Offline
          M5StickFreakler @m5stack
          last edited by

          @m5stack said in Get RSSI on connected WiFi:

          wifiCfg.wlan_sta.scan()

          ok, thats cool.
          Do you know, how I can get the current connected SSID if I use auto connect?

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

            @m5stickfreakler in UIFlow we have not provided this API yet

            M5StickFreaklerM 1 Reply Last reply Reply Quote 0
            • M5StickFreaklerM Offline
              M5StickFreakler @m5stack
              last edited by

              @m5stack said in Get RSSI on connected WiFi:

              @m5stickfreakler in UIFlow we have not provided this API yet

              Thanks for your info. So unfortunately I can't get the RSSI of the current connected WiFi SSID snif

              1 Reply Last reply Reply Quote 0
              • M Offline
                mwenghi
                last edited by mwenghi

                @m5stack said in Get RSSI on connected WiFi:

                wifiCfg

                Refer to the documentation, you can get RSSI value of current connected WiFi by calling:

                wifiCfg.wlan_sta.status('rssi')
                

                It could be attached to the variable and / or to the function:
                0_1610147943000_Screen Shot 2021-01-08 at 3.52.27 PM.png

                1 Reply Last reply Reply Quote 0

                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
                • First post
                  Last post