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

    PoEsp32 Module with Uiflow / Micropython

    Units
    2
    4
    3.7k
    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.
    • T
      Treadbrook
      last edited by

      Hi - after about an hour of searching I can't find any documentation on getting the PoEsp32 module active on a LAN. The link light is on, the check device statement returns 1, but check ethernet connection returns 0.

      Would really appreciate anyone who can point me at documents or sample code.

      Thanks!!

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @Treadbrook

        sorry, I don't have any additional documentation or sample code.

        That said, in my tests check Ethernet connection only is true if POESP32 has received an IP address via DHCP. Maybe check you Ethernet cable and/or make sure POESP32 is connected to a network with an active DHCP server.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        T 1 Reply Last reply Reply Quote 0
        • T
          Treadbrook @felmue
          last edited by

          @felmue thanks, I've checked that and the unit has a link light, so I can see that the switch port and cable are all good. There does seem to be an awful lack of documentation on these things!

          1 Reply Last reply Reply Quote 0
          • felmueF
            felmue
            last edited by

            Hello @Treadbrook

            in my experience the link light only indicates that there is an electrical connection between two Ethernet devices. The link light, however, does not give an indication about whether a device has either a static IP address or received an IP address from a DHCP server. In other words when I connect my POESP32 to a switch where the switch has no further connections (and therefore there is no DHCP server) the link light lights up, but check Ethernet connection returns false. This leads me to think that check Ethernet connection also checks for an IP address and not only for a link.

            I suggest you try to connect your POESP32, as a test, to your router directly and / or check on your router whether the POESP32 is listed in its DHCP lease list and has received an IP address.

            Note: if you are in a corporate network environment it is possible that the network administrator has setup port security which means an Ethernet device can only participate in that network after it has been whitelisted by said network administrator.

            Regarding documentation - I assume you've seen this page?

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

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