1. MAC ID
1.1. Mac Address
Your hardware ID is your hardware mac address, these addresses are unique and can be found on any network device. This tutorial will teach you how to find them.
A media access control address (MAC address) of a computer is a unique identifier assigned to network interfaces for communications at the data link layer of a network segment. MAC addresses are used as a network address for most IEEE 802 network technologies, including Ethernet and Wi-Fi.
1.2 esptool: Reading MAC address from your NodeMCU (esp8266)
In order to use esptool you will need to install it first
pip install esptool
then you can call read_mac command
esptool.py -p /dev/tty.SLAB_USBtoUART read_mac
If you have setup our alias .bashrc file you can use shortcut:
$ esp read_mac
1.3. Success test
$ esp read_mac esptool.py v1.2.1 Connecting... MAC: a0:20:a6:12:1a:0a
Updated about 6 years ago