-->
Page 1 of 1

How to get the MacAdress from the ESP8266

PostPosted: Mon Feb 05, 2018 9:35 am
by Ron Hartman
Hello,
I'm new here.
I've tryed to get the Mac Adress from the ESP8266 so i can put in my router.
I tryed all the scripts i found on this site, unfortunally nothing gives me the information i was looking for.
What i did find was the Ip adress the ESP uses in my local network, i was very happy with that.
But i'm still needs it's Mac Adress.
Is there someone who has the right script for my problem?

Grtz,
Ron

Re: How to get the MacAdress from the ESP8266

PostPosted: Thu Feb 15, 2018 7:12 am
by dominator99

Re: How to get the MacAdress from the ESP8266

PostPosted: Thu Feb 15, 2018 12:32 pm
by AcmeUK
Have a look at this post :- http://www.esp8266.com/viewtopic.php?f=29&t=3587

You can also change the MAC address :- http://www.esp8266.com/viewtopic.php?f=32&t=12858

Re: How to get the MacAdress from the ESP8266

PostPosted: Thu Feb 15, 2018 5:01 pm
by btidey
In an Arduino Sketch
String macAddr = WiFi.macAddress();
Serial.println(macAddr);

In default AT firmware from terminal
AT+CIPSTAMAC?

If you can see the ip address in the router then the router should be showing its Mac Address as well